dev-python/pygtk: patch numpy dependency
authorBernd Waibel <waebbl@gmail.com>
Wed, 15 Jan 2020 19:36:55 +0000 (20:36 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 16 Jan 2020 06:04:30 +0000 (07:04 +0100)
The patch introduces alternate dev-python/numpy deps.
Either use old numpy-1.16 or the new py2 only numpy-python2
package.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Closes: https://bugs.gentoo.org/705468
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/pygtk/pygtk-2.24.0-r4.ebuild

index b37ea3474c4ffe6dbf277cb45a56a2ff1d331d30..1e78941ac11a10a9e6e18b0eb7bfd86cfcbc4483 100644 (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"
@@ -25,7 +25,10 @@ RDEPEND="${PYTHON_DEPS}
        >=x11-libs/gtk+-2.24:2
        >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
        >=dev-python/pygobject-2.26.8-r53:2[${PYTHON_USEDEP}]
-       dev-python/numpy[${PYTHON_USEDEP}]
+       || (
+               >=dev-python/numpy-python2-1.16.5[${PYTHON_USEDEP}]
+               <dev-python/numpy-1.17.4[${PYTHON_USEDEP}]
+       )
        >=gnome-base/libglade-2.5:2.0
 "
 DEPEND="${RDEPEND}