From af8b41c00701f20e0b455e0a5e3e4744202373df Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Wed, 15 May 2024 12:57:45 -0400 Subject: [PATCH] icad-tone-detection: 0.6->1.2 --- media-radio/icad-tone-detection/Manifest | 2 +- ...on-0.6.ebuild => icad-tone-detection-1.2.ebuild} | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) rename media-radio/icad-tone-detection/{icad-tone-detection-0.6.ebuild => icad-tone-detection-1.2.ebuild} (70%) diff --git a/media-radio/icad-tone-detection/Manifest b/media-radio/icad-tone-detection/Manifest index a6122d9a6c..540f6dc13d 100644 --- a/media-radio/icad-tone-detection/Manifest +++ b/media-radio/icad-tone-detection/Manifest @@ -1 +1 @@ -DIST icad_tone_detection-0.6.tar.gz 10101 BLAKE2B c56ce84173a03c3b97088c2ad9a3db5ed6010cb9cb970e57b2017b4a85c00170683201af0c30e546d645a54d061d64cd6150ba45e29ad77910ce59d01ff513f4 SHA512 40f95a280a91e4eae2d85fcba982aa3f0bdbbe00598924bebe311e81e0da1dcedd1e04b8a18aa47574c8f805848e7ecf96e0f570000202655f45004155fcb407 +DIST icad-tone-detection-1.2.gh.tar.gz 1578470 BLAKE2B 06c0f19017b074fbdd60f4fb28dc4803a9ab48b1aae8913ef07452a7cbbdff1c7f00493f1ba7c108b0769477d7bd0a5a40719fef376ad259c0e260550dcf414c SHA512 e50c9d098a03b5d1ef14d839bdd648c0b61de2ce4d7243b1e70f4b9e23364efeb1accbf41cb78c1fa5a54f62fa600d7748f8315e2142ba594447a83e8c1c07b3 diff --git a/media-radio/icad-tone-detection/icad-tone-detection-0.6.ebuild b/media-radio/icad-tone-detection/icad-tone-detection-1.2.ebuild similarity index 70% rename from media-radio/icad-tone-detection/icad-tone-detection-0.6.ebuild rename to media-radio/icad-tone-detection/icad-tone-detection-1.2.ebuild index d272073402..795bf74de5 100644 --- a/media-radio/icad-tone-detection/icad-tone-detection-0.6.ebuild +++ b/media-radio/icad-tone-detection/icad-tone-detection-1.2.ebuild @@ -5,10 +5,14 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 pypi +inherit distutils-r1 DESCRIPTION="library for extracting scanner radio tones from scanner audio" HOMEPAGE="https://github.com/thegreatcodeholio/icad_tone_detection" +SRC_URI="https://github.com/TheGreatCodeholio/icad_tone_detection/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +MY_PN="${PN//-/_}" + +S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" @@ -21,12 +25,7 @@ RDEPEND=" dev-python/scipy[${PYTHON_USEDEP}] media-video/ffmpeg" -src_prepare() { - sed -i 's/src.//' detect_test.py || die - distutils-r1_src_prepare -} - python_install() { distutils-r1_python_install - python_newexe detect_test.py icad-tone-detection + python_newexe examples/detect_test.py icad-tone-detection }