sci-geosciences/tappy: Permit matplotlib-python2
authorMichał Górny <mgorny@gentoo.org>
Tue, 28 Jan 2020 20:22:50 +0000 (21:22 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 28 Jan 2020 20:40:27 +0000 (21:40 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-geosciences/tappy/tappy-0.9.0.ebuild

index cf6423bcefa9a3fec6d3ef4eea42674f9d8d11b0..eccc53a46c4fcb5f911b535793360a8768884939 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,6 +17,10 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]
+RDEPEND="
+       || (
+               dev-python/matplotlib-python2[${PYTHON_USEDEP}]
+               dev-python/matplotlib[${PYTHON_USEDEP}]
+       )
        dev-python/pywavelets
        sci-libs/scipy[${PYTHON_USEDEP}]"