dev-python/milk: Permit numpy-python2
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 05:08:11 +0000 (06:08 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 05:16:57 +0000 (06:16 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/milk/milk-0.6.1.ebuild

index 2ce95e5089c1bda96cb4102ac819ed5c6d769eaf..f0cea5d438f3fac57f02450cca7bae1e6c57a8a6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,11 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="
+       || (
+               dev-python/numpy-python2[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+       )"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        dev-cpp/eigen:3
        test? ( dev-python/milksets sci-libs/scipy[${PYTHON_USEDEP}] )"