summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-28 21:42:14 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-28 21:42:14 +0100
commitc7c4aa5242d2d57ee85ceb65bf8d9dfd2d9f0624 (patch)
treee4bd078a67e796de5eaa65a6fedaeb73f555f17a /dev-python/Numdifftools
parentdev-python/Numdifftools: Remove py3 (diff)
downloadgentoo-c7c4aa5242d2d57ee85ceb65bf8d9dfd2d9f0624.tar.gz
gentoo-c7c4aa5242d2d57ee85ceb65bf8d9dfd2d9f0624.tar.bz2
gentoo-c7c4aa5242d2d57ee85ceb65bf8d9dfd2d9f0624.zip
dev-python/Numdifftools: Permit *-python2 packages
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Numdifftools')
-rw-r--r--dev-python/Numdifftools/Numdifftools-0.9.17.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild b/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild
index cb8945c1e245..53ff6b3b666e 100644
--- a/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild
+++ b/dev-python/Numdifftools/Numdifftools-0.9.17.ebuild
@@ -22,8 +22,14 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/algopy-0.4[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- >=dev-python/numpy-1.9.0[${PYTHON_USEDEP}]
+ || (
+ dev-python/matplotlib-python2[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ )
+ || (
+ >=dev-python/numpy-python2-1.9.0[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.9.0[${PYTHON_USEDEP}]
+ )
dev-python/six[${PYTHON_USEDEP}]
>=sci-libs/scipy-0.8[${PYTHON_USEDEP}]
"