Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icad-tone-detection: 0.6->1.2 #1898

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion media-radio/icad-tone-detection/Manifest
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
}