summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-16 07:49:39 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-16 08:02:41 +0100
commit9ab2591dbc80ed201ca0095ee58342d6eb160672 (patch)
treee5e95ecd90f31c1f82e7a98821c31e5ecb97ee8c /sci-libs/mathgl
parentdev-ruby/hocon: add ruby27 (diff)
downloadgentoo-9ab2591dbc80ed201ca0095ee58342d6eb160672.tar.gz
gentoo-9ab2591dbc80ed201ca0095ee58342d6eb160672.tar.bz2
gentoo-9ab2591dbc80ed201ca0095ee58342d6eb160672.zip
sci-libs/mathgl: Permit numpy-python2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs/mathgl')
-rw-r--r--sci-libs/mathgl/mathgl-2.4.1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sci-libs/mathgl/mathgl-2.4.1.ebuild b/sci-libs/mathgl/mathgl-2.4.1.ebuild
index 461956958f10..81c1241a2fa6 100644
--- a/sci-libs/mathgl/mathgl-2.4.1.ebuild
+++ b/sci-libs/mathgl/mathgl-2.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -38,7 +38,13 @@ RDEPEND="
openmp? ( sys-cluster/openmpi )
pdf? ( media-libs/libharu )
png? ( media-libs/libpng:0 )
- python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
+ python? (
+ || (
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+ ${PYTHON_DEPS}
+ )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5