sci-visualization/pythonprop: Permit matplotlib-python2
authorMichał Górny <mgorny@gentoo.org>
Tue, 28 Jan 2020 20:23:51 +0000 (21:23 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 28 Jan 2020 20:40:28 +0000 (21:40 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-visualization/pythonprop/pythonprop-0.13.ebuild
sci-visualization/pythonprop/pythonprop-0.18.ebuild

index b5063be83fa57c4eced41606ce7efca4f4ab18bc..854920aa56a8c88ecf8c3c8251757f64a48d7b29 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,7 +19,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
        ${PYTHON_DEPS}
-       dev-python/matplotlib[gtk2,${PYTHON_USEDEP}]
+       || (
+               dev-python/matplotlib-python2[gtk2,${PYTHON_USEDEP}]
+               dev-python/matplotlib[gtk2,${PYTHON_USEDEP}]
+       )
        dev-python/basemap[${PYTHON_USEDEP}]
        sci-electronics/voacapl
 "
index 96d40ecb22de0c1e0ab02f0d2e41fc4890156627..a5c36e5b53b4d19043dc840cd873da427dab9712 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,7 +19,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
        ${PYTHON_DEPS}
-       dev-python/matplotlib[${PYTHON_USEDEP}]
+       || (
+               dev-python/matplotlib-python2[${PYTHON_USEDEP}]
+               dev-python/matplotlib[${PYTHON_USEDEP}]
+       )
        dev-python/basemap[${PYTHON_USEDEP}]
        sci-electronics/voacapl
 "