diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-16 07:50:10 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-16 08:02:42 +0100 |
commit | e153a0cbbcaa93370fed8807b03f60e84f6ed6e6 (patch) | |
tree | 3356fd90e2cc74f31612873efc6afb7753092192 /sci-libs/nlopt | |
parent | sci-libs/mathgl: Permit numpy-python2 (diff) | |
download | gentoo-e153a0cbbcaa93370fed8807b03f60e84f6ed6e6.tar.gz gentoo-e153a0cbbcaa93370fed8807b03f60e84f6ed6e6.tar.bz2 gentoo-e153a0cbbcaa93370fed8807b03f60e84f6ed6e6.zip |
sci-libs/nlopt: Permit numpy-python2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs/nlopt')
-rw-r--r-- | sci-libs/nlopt/nlopt-2.4.2-r1.ebuild | 7 |
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}" |