summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 20:12:46 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:46:58 +0100
commit86318134b18dd16cd10a67e1986594556181da43 (patch)
tree4a63f896abb5799cd211c4cd2f38a8585a1abc72 /sci-visualization/pythonprop
parentsci-physics/root: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-86318134b18dd16cd10a67e1986594556181da43.tar.gz
gentoo-86318134b18dd16cd10a67e1986594556181da43.tar.bz2
gentoo-86318134b18dd16cd10a67e1986594556181da43.zip
sci-visualization/pythonprop: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-visualization/pythonprop')
-rw-r--r--sci-visualization/pythonprop/pythonprop-0.13.ebuild12
-rw-r--r--sci-visualization/pythonprop/pythonprop-0.18-r2.ebuild (renamed from sci-visualization/pythonprop/pythonprop-0.18-r1.ebuild)12
2 files changed, 14 insertions, 10 deletions
diff --git a/sci-visualization/pythonprop/pythonprop-0.13.ebuild b/sci-visualization/pythonprop/pythonprop-0.13.ebuild
index 854920aa56a8..729017cea4fc 100644
--- a/sci-visualization/pythonprop/pythonprop-0.13.ebuild
+++ b/sci-visualization/pythonprop/pythonprop-0.13.ebuild
@@ -19,11 +19,13 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
- || (
- dev-python/matplotlib-python2[gtk2,${PYTHON_USEDEP}]
- dev-python/matplotlib[gtk2,${PYTHON_USEDEP}]
- )
- dev-python/basemap[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ || (
+ dev-python/matplotlib-python2[gtk2,${PYTHON_MULTI_USEDEP}]
+ dev-python/matplotlib[gtk2,${PYTHON_MULTI_USEDEP}]
+ )
+ ')
+ dev-python/basemap[${PYTHON_SINGLE_USEDEP}]
sci-electronics/voacapl
"
DEPEND="${RDEPEND}"
diff --git a/sci-visualization/pythonprop/pythonprop-0.18-r1.ebuild b/sci-visualization/pythonprop/pythonprop-0.18-r2.ebuild
index a5c36e5b53b4..4f8e8ef1e524 100644
--- a/sci-visualization/pythonprop/pythonprop-0.18-r1.ebuild
+++ b/sci-visualization/pythonprop/pythonprop-0.18-r2.ebuild
@@ -19,11 +19,13 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
- || (
- dev-python/matplotlib-python2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- )
- dev-python/basemap[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ || (
+ dev-python/matplotlib-python2[${PYTHON_MULTI_USEDEP}]
+ dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+ )
+ ')
+ dev-python/basemap[${PYTHON_SINGLE_USEDEP}]
sci-electronics/voacapl
"
DEPEND="${RDEPEND}