mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
icad-tone-detection: initial ebuild
thanks to help from arthurzam and parona who explained python eclass stuff to me
This commit is contained in:
parent
6cc14e4c06
commit
bbbb6f95ce
3 changed files with 45 additions and 0 deletions
1
media-radio/icad-tone-detection/Manifest
Normal file
1
media-radio/icad-tone-detection/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST icad_tone_detection-0.6.tar.gz 10101 BLAKE2B c56ce84173a03c3b97088c2ad9a3db5ed6010cb9cb970e57b2017b4a85c00170683201af0c30e546d645a54d061d64cd6150ba45e29ad77910ce59d01ff513f4 SHA512 40f95a280a91e4eae2d85fcba982aa3f0bdbbe00598924bebe311e81e0da1dcedd1e04b8a18aa47574c8f805848e7ecf96e0f570000202655f45004155fcb407
|
||||
|
|
@ -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
|
||||
}
|
||||
12
media-radio/icad-tone-detection/metadata.xml
Normal file
12
media-radio/icad-tone-detection/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sidhayn@gmail.com</email>
|
||||
<name>Zero_Chaos</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">thegreatcodeholio/icad_tone_detection</remote-id>
|
||||
<remote-id type="pypi">icad-tone-detection</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue