sci-libs/nlopt: Permit numpy-python2
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 06:50:10 +0000 (07:50 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 07:02:42 +0000 (08:02 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/nlopt/nlopt-2.4.2-r1.ebuild

index ff0499805459c35cc83c2da0485f3a11048b67ba..5a937cd80edd2d770eb4b56d54732de1d3465a90 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -23,7 +23,10 @@ DEPEND="
        octave? ( sci-mathematics/octave )
        python? (
                ${PYTHON_DEPS}
-               dev-python/numpy[${PYTHON_USEDEP}]
+               || (
+                       dev-python/numpy-python2[${PYTHON_USEDEP}]
+                       dev-python/numpy[${PYTHON_USEDEP}]
+               )
        )"
 RDEPEND="${DEPEND}"