summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 20:11:53 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:35:39 +0100
commit1c052fae8943550cb8ea43e90e3020ff4768fff4 (patch)
tree69851feb4b645b3ad682c9a5c2e2d491d25ba5d7 /sci-visualization
parentsci-physics/yoda: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-1c052fae8943550cb8ea43e90e3020ff4768fff4.tar.gz
gentoo-1c052fae8943550cb8ea43e90e3020ff4768fff4.tar.bz2
gentoo-1c052fae8943550cb8ea43e90e3020ff4768fff4.zip
sci-visualization/paraview: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/paraview/paraview-5.6.1-r1.ebuild (renamed from sci-visualization/paraview/paraview-5.6.1.ebuild)34
1 files changed, 20 insertions, 14 deletions
diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1-r1.ebuild
index 71b503e37a9d..6233e8195c65 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1-r1.ebuild
@@ -62,19 +62,21 @@ RDEPEND="
!offscreen? ( virtual/opengl )
python? (
${PYTHON_DEPS}
- dev-python/constantly[${PYTHON_USEDEP}]
- dev-python/incremental[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/sip[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- || ( dev-python/twisted[${PYTHON_USEDEP}]
- dev-python/twisted-core[${PYTHON_USEDEP}]
- )
- dev-python/zope-interface[${PYTHON_USEDEP}]
- mpi? ( dev-python/mpi4py )
- qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+ $(python_gen_cond_dep '
+ dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+ dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+ dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+ dev-python/sip[${PYTHON_MULTI_USEDEP}]
+ dev-python/six[${PYTHON_MULTI_USEDEP}]
+ || ( dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+ dev-python/twisted-core[${PYTHON_MULTI_USEDEP}]
+ )
+ dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+ mpi? ( dev-python/mpi4py )
+ qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_MULTI_USEDEP}] )
+ ')
)
qt5? (
dev-qt/designer:5
@@ -91,7 +93,11 @@ RDEPEND="
tk? ( dev-lang/tk:0= )"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
- boost? ( dev-libs/boost[mpi?,${PYTHON_USEDEP}] )
+ boost? (
+ $(python_gen_cond_dep '
+ dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+ ')
+ )
doc? ( app-doc/doxygen )"
S="${WORKDIR}/${MY_P}"