summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-22 18:28:01 +0000
committerSam James <sam@gentoo.org>2023-11-22 18:28:36 +0000
commit757911e7a1ce427f54964ece16389633d1e3f335 (patch)
tree8af5332460307af9240717feb8ad7808e1e7338d /media-sound
parentmedia-sound/liblc3: wire up tests (diff)
downloadgentoo-757911e7a1ce427f54964ece16389633d1e3f335.tar.gz
gentoo-757911e7a1ce427f54964ece16389633d1e3f335.tar.bz2
gentoo-757911e7a1ce427f54964ece16389633d1e3f335.zip
media-sound/liblc3: style tweaks
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/liblc3/liblc3-1.0.4-r1.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/media-sound/liblc3/liblc3-1.0.4-r1.ebuild b/media-sound/liblc3/liblc3-1.0.4-r1.ebuild
index 13bee49ab7af..4d4ee40bc106 100644
--- a/media-sound/liblc3/liblc3-1.0.4-r1.ebuild
+++ b/media-sound/liblc3/liblc3-1.0.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10,11,12} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit meson python-any-r1
DESCRIPTION="LC3 is an efficient low latency audio codec"
@@ -16,16 +16,18 @@ IUSE="test tools"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
RESTRICT="!test? ( test )"
-DEPEND="test? (
- $(python_gen_any_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- ')
-)"
+BDEPEND="
+ test? (
+ $(python_gen_any_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]
+ ')
+ )
+"
python_check_deps() {
- python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]" &&
- python_has_version -d "dev-python/scipy[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/numpy[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/scipy[${PYTHON_USEDEP}]"
}
pkg_setup() {