summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-01-16 07:31:01 +0100
committerMichał Górny <mgorny@gentoo.org>2020-01-16 07:38:13 +0100
commit7a3fa6dba6728adfff29106b05c36b06f5733d48 (patch)
tree390e6a3017f6f4ab6cfa43f7d9d153e931d9ac10 /sci-libs/getdata
parentsci-geosciences/seawater: Remove old (diff)
downloadgentoo-7a3fa6dba6728adfff29106b05c36b06f5733d48.tar.gz
gentoo-7a3fa6dba6728adfff29106b05c36b06f5733d48.tar.bz2
gentoo-7a3fa6dba6728adfff29106b05c36b06f5733d48.zip
sci-libs/getdata: Permit numpy-python2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs/getdata')
-rw-r--r--sci-libs/getdata/getdata-0.9.0-r1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
index 1e6aa25c7ab1..65085d535e5b 100644
--- a/sci-libs/getdata/getdata-0.9.0-r1.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,7 +23,13 @@ DEPEND="
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl )
- python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )"
+ python? (
+ || (
+ dev-python/numpy-python2[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+ ${PYTHON_DEPS}
+ )"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-remove-python-test.patch" )