summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 20:06:41 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:35:31 +0100
commitc89e571cb194ce6e02d70d38a7c44a6e4b6e5a33 (patch)
tree34489139b9e54c74e0162aeb72af67699dd7615c
parentsci-libs/libsigrok: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-c89e571c.tar.gz
gentoo-c89e571c.tar.bz2
gentoo-c89e571c.zip
sci-libs/mathgl: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sci-libs/mathgl/mathgl-2.4.1-r2.ebuild (renamed from sci-libs/mathgl/mathgl-2.4.1-r1.ebuild)10
1 files changed, 6 insertions, 4 deletions
diff --git a/sci-libs/mathgl/mathgl-2.4.1-r1.ebuild b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
index 81c1241a2fa6..e07d56b6edf5 100644
--- a/sci-libs/mathgl/mathgl-2.4.1-r1.ebuild
+++ b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild
@@ -39,10 +39,12 @@ RDEPEND="
pdf? ( media-libs/libharu )
png? ( media-libs/libpng:0 )
python? (
- || (
- dev-python/numpy-python2[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- )
+ $(python_gen_cond_dep '
+ || (
+ dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ )
+ ')
${PYTHON_DEPS}
)
qt5? (