commit: e153a0cbbcaa93370fed8807b03f60e84f6ed6e6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 06:50:10 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 07:02:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e153a0cb
sci-libs/nlopt: Permit numpy-python2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/nlopt/nlopt-2.4.2-r1.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
index ff049980545..5a937cd80ed 100644
--- a/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
+++ b/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
@@ -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}"