sci-libs/getdata: Permit numpy-python2
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 06:31:01 +0000 (07:31 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 06:38:13 +0000 (07:38 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/getdata/getdata-0.9.0-r1.ebuild

index 1e6aa25c7ab1f0d524298d9eddc1099b7bd1b03a..65085d535e5bbc2d342a402b2f876a84e678421f 100644 (file)
@@ -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" )