mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
commit
0976220f99
2 changed files with 12 additions and 8 deletions
|
|
@ -1 +1 @@
|
|||
DIST icad-tone-detection-1.4.gh.tar.gz 1578924 BLAKE2B e26b72d1440cf4c50d21af1c9299670828ef848aa70532894156ec77bb8a2f80bb4016fbf0620349f1c8e17235468b0f82de5dbcc90586f8239918f7411cf14a SHA512 b40af1f5e1ea9f1c24af95f7b458a3c294bb1609202de954e8e2f2f51d6351abebff11ba4fffc5c8c9526d51e95087acaf39e498cb685c4d51700b77e20a4767
|
||||
DIST icad-tone-detection-2.4.gh.tar.gz 2355048 BLAKE2B 3adcfd66776987328017a5870cc84f8ffe06cc075e95827afd121190f3d1c498510710598a5ed493a9e998ccc55f7818098f6ca91c777f9e271ad4863944c350 SHA512 6fff552ceaa1a8c915fbb36a3694e07e89b5af35b9c570bf44d046c4b5eca3b98766ec2b644910616188432bdcc8df2e2f89ce7e9ca4f542f27547c932bc31ca
|
||||
|
|
|
|||
|
|
@ -1,18 +1,22 @@
|
|||
# Copyright 2024 Gentoo Authors
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
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}"
|
||||
#SRC_URI="https://github.com/TheGreatCodeholio/icad_tone_detection/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
HASH_COMMIT="07201f9dc1ab096b371a12c8c5b4805091e3fd05"
|
||||
SRC_URI="https://github.com/TheGreatCodeholio/icad_tone_detection/archive/${HASH_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
MY_PN="${PN//-/_}"
|
||||
S="${WORKDIR}/${MY_PN}-${HASH_COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
|
@ -26,11 +30,11 @@ RDEPEND="
|
|||
media-video/ffmpeg"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/debug=True/debug=False/' examples/detect_test.py || die
|
||||
sed -i 's/debug=True/debug=False/' src/icad_tone_detection/examples/detect_test.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
python_newexe examples/detect_test.py icad-tone-detection
|
||||
python_newexe src/icad_tone_detection/examples/detect_test.py icad-tone-detection
|
||||
}
|
||||
Loading…
Reference in a new issue