dev-python/basemap: Permit matplotlib-python2
authorMichał Górny <mgorny@gentoo.org>
Tue, 28 Jan 2020 20:15:46 +0000 (21:15 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 28 Jan 2020 20:40:21 +0000 (21:40 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/basemap/basemap-1.0.7-r1.ebuild
dev-python/basemap/basemap-1.0.7-r2.ebuild

index 71e1f05480636f57d7fa27e841f24387a92acba1..9a801ce28281ff6fb5f3630a31090cf4a3ee2a2c 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
@@ -17,7 +17,10 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 LICENSE="MIT GPL-2"
 
 CDEPEND="sci-libs/shapelib
-       >=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
+       || (
+               >=dev-python/matplotlib-python2-0.98[${PYTHON_USEDEP}]
+               >=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
+       )
        >=sci-libs/geos-3.3.1[python,${PYTHON_USEDEP}]"
 
 DEPEND="${CDEPEND}
index 6c21c113bf7345c68d26a9deebbcd524825a821b..83b25e1d1999dad153d455bd999554facb5e7cf6 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
@@ -17,7 +17,10 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 LICENSE="MIT GPL-2"
 
 CDEPEND="sci-libs/shapelib
-       >=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
+       || (
+               >=dev-python/matplotlib-python2-0.98[${PYTHON_USEDEP}]
+               >=dev-python/matplotlib-0.98[${PYTHON_USEDEP}]
+       )
        >=sci-libs/geos-3.3.1[python,${PYTHON_USEDEP}]"
 
 DEPEND="${CDEPEND}