From e17b1529bb399afabca73d705944efecde08d497 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 16 May 2024 12:12:15 -0400 Subject: [PATCH] icad-tone-detection: 1.2->1.3 and debug off --- media-radio/icad-tone-detection/Manifest | 2 +- ...e-detection-1.2.ebuild => icad-tone-detection-1.3.ebuild} | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) rename media-radio/icad-tone-detection/{icad-tone-detection-1.2.ebuild => icad-tone-detection-1.3.ebuild} (88%) diff --git a/media-radio/icad-tone-detection/Manifest b/media-radio/icad-tone-detection/Manifest index 540f6dc13d..1f978d40fd 100644 --- a/media-radio/icad-tone-detection/Manifest +++ b/media-radio/icad-tone-detection/Manifest @@ -1 +1 @@ -DIST icad-tone-detection-1.2.gh.tar.gz 1578470 BLAKE2B 06c0f19017b074fbdd60f4fb28dc4803a9ab48b1aae8913ef07452a7cbbdff1c7f00493f1ba7c108b0769477d7bd0a5a40719fef376ad259c0e260550dcf414c SHA512 e50c9d098a03b5d1ef14d839bdd648c0b61de2ce4d7243b1e70f4b9e23364efeb1accbf41cb78c1fa5a54f62fa600d7748f8315e2142ba594447a83e8c1c07b3 +DIST icad-tone-detection-1.3.gh.tar.gz 1578471 BLAKE2B c2834918caeeac49d9c2ab3435424cc836bd4dcf5ec5e76dd04721c42eba32d9153038120dc173f8469d44dd97416bdab82dbdfc00b799c05344d8e3570aefd0 SHA512 22309ec44a9702e6eb38448f10189991cf9804212e72a40046d4c97a15ddbd0fc886a319b82d6cfb57ddc48184c6d78bdd218428c8e1560db08850312bbf7600 diff --git a/media-radio/icad-tone-detection/icad-tone-detection-1.2.ebuild b/media-radio/icad-tone-detection/icad-tone-detection-1.3.ebuild similarity index 88% rename from media-radio/icad-tone-detection/icad-tone-detection-1.2.ebuild rename to media-radio/icad-tone-detection/icad-tone-detection-1.3.ebuild index 795bf74de5..78d41a3d88 100644 --- a/media-radio/icad-tone-detection/icad-tone-detection-1.2.ebuild +++ b/media-radio/icad-tone-detection/icad-tone-detection-1.3.ebuild @@ -25,6 +25,11 @@ RDEPEND=" dev-python/scipy[${PYTHON_USEDEP}] media-video/ffmpeg" +src_prepare() { + sed -i 's/debug=True/debug=False/' examples/detect_test.py || die + distutils-r1_src_prepare +} + python_install() { distutils-r1_python_install python_newexe examples/detect_test.py icad-tone-detection