summaryrefslogtreecommitdiff
path: root/sci-libs/nlopt/nlopt-2.4.2-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/nlopt/nlopt-2.4.2-r1.ebuild')
-rw-r--r--sci-libs/nlopt/nlopt-2.4.2-r1.ebuild7
1 files 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 ff0499805459..5a937cd80edd 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}"