diff --git a/media-radio/icad-tone-detection/Manifest b/media-radio/icad-tone-detection/Manifest new file mode 100644 index 000000000..a6122d9a6 --- /dev/null +++ b/media-radio/icad-tone-detection/Manifest @@ -0,0 +1 @@ +DIST icad_tone_detection-0.6.tar.gz 10101 BLAKE2B c56ce84173a03c3b97088c2ad9a3db5ed6010cb9cb970e57b2017b4a85c00170683201af0c30e546d645a54d061d64cd6150ba45e29ad77910ce59d01ff513f4 SHA512 40f95a280a91e4eae2d85fcba982aa3f0bdbbe00598924bebe311e81e0da1dcedd1e04b8a18aa47574c8f805848e7ecf96e0f570000202655f45004155fcb407 diff --git a/media-radio/icad-tone-detection/icad-tone-detection-0.6.ebuild b/media-radio/icad-tone-detection/icad-tone-detection-0.6.ebuild new file mode 100644 index 000000000..d27207340 --- /dev/null +++ b/media-radio/icad-tone-detection/icad-tone-detection-0.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="library for extracting scanner radio tones from scanner audio" +HOMEPAGE="https://github.com/thegreatcodeholio/icad_tone_detection" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pydub[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + 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 +} diff --git a/media-radio/icad-tone-detection/metadata.xml b/media-radio/icad-tone-detection/metadata.xml new file mode 100644 index 000000000..31d2cb962 --- /dev/null +++ b/media-radio/icad-tone-detection/metadata.xml @@ -0,0 +1,12 @@ + + + + + sidhayn@gmail.com + Zero_Chaos + + + thegreatcodeholio/icad_tone_detection + icad-tone-detection + +