dev-lang/gdl: Permit numpy-python2
authorMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 05:02:02 +0000 (06:02 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 05:16:47 +0000 (06:16 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-lang/gdl/gdl-0.9.6-r2.ebuild

index 7e72f15aef019ca61523ba1bd42758f735d25ca8..3a51f5b1f4b967a4cbc09eced1a8d379badf6bd6 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=5
@@ -39,7 +39,10 @@ RDEPEND="
        postscript? ( dev-libs/pslib )
        python? (
                ${PYTHON_DEPS}
-               dev-python/numpy[${PYTHON_USEDEP}]
+               || (
+                       dev-python/numpy-python2[${PYTHON_USEDEP}]
+                       dev-python/numpy[${PYTHON_USEDEP}]
+               )
        )
        udunits? ( sci-libs/udunits )
        wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"