dev-python/milk: Permit numpy-python2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-01-16 06:08:11 +01:00
parent ce6eb1c996
commit d52b93a6da

View 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}] )"