diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-07 20:06:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-09 17:35:31 +0100 |
commit | c89e571cb194ce6e02d70d38a7c44a6e4b6e5a33 (patch) | |
tree | 34489139b9e54c74e0162aeb72af67699dd7615c /sci-libs | |
parent | sci-libs/libsigrok: Switch to PYTHON_MULTI_USEDEP API (diff) | |
download | gentoo-c89e571cb194ce6e02d70d38a7c44a6e4b6e5a33.tar.gz gentoo-c89e571cb194ce6e02d70d38a7c44a6e4b6e5a33.tar.bz2 gentoo-c89e571cb194ce6e02d70d38a7c44a6e4b6e5a33.zip |
sci-libs/mathgl: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs')
-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? ( |