sci-libs/mathgl: Permit numpy-python2
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 06:49:39 +0000 (07:49 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 07:02:41 +0000 (08:02 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/mathgl/mathgl-2.4.1.ebuild

index 461956958f1031671ef10c34a36bd0a964faa5c9..81c1241a2fa6bc5abd82843cf50ca2e6404c27ef 100644 (file)
@@ -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