summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 20:09:05 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:35:34 +0100
commitd1cf307738d58b4509a32ea95900c032f8726ed6 (patch)
treec19d90cdf3dfb8d654947bb1ff2190a45fbcd894 /sci-libs/vtk
parentsci-libs/shogun: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-d1cf307738d58b4509a32ea95900c032f8726ed6.tar.gz
gentoo-d1cf307738d58b4509a32ea95900c032f8726ed6.tar.bz2
gentoo-d1cf307738d58b4509a32ea95900c032f8726ed6.zip
sci-libs/vtk: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs/vtk')
-rw-r--r--sci-libs/vtk/vtk-8.1.0-r4.ebuild (renamed from sci-libs/vtk/vtk-8.1.0-r3.ebuild)58
1 files changed, 31 insertions, 27 deletions
diff --git a/sci-libs/vtk/vtk-8.1.0-r3.ebuild b/sci-libs/vtk/vtk-8.1.0-r4.ebuild
index c2a250417f9e..0618010649df 100644
--- a/sci-libs/vtk/vtk-8.1.0-r3.ebuild
+++ b/sci-libs/vtk/vtk-8.1.0-r4.ebuild
@@ -69,28 +69,10 @@ RDEPEND="
ffmpeg? ( virtual/ffmpeg )
gdal? ( sci-libs/gdal )
java? ( >=virtual/jdk-1.7:* )
- mpi? (
- virtual/mpi[cxx,romio]
- python? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
- )
mysql? ( virtual/mysql )
odbc? ( dev-db/unixODBC )
offscreen? ( media-libs/mesa[osmesa] )
postgres? ( dev-db/postgresql:= )
- python? (
- ${PYTHON_DEPS}
- dev-python/sip[${PYTHON_USEDEP}]
- )
- qt5? (
- dev-qt/designer:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- dev-qt/qtsql:5
- dev-qt/qtwebkit:5
- dev-qt/qtx11extras:5
- python? ( dev-python/PyQt5[${PYTHON_USEDEP}] )
- )
R? ( dev-lang/R )
tbb? ( dev-cpp/tbb )
tcl? ( dev-lang/tcl:0= )
@@ -98,16 +80,38 @@ RDEPEND="
video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )
web? (
${WEBAPP_DEPEND}
- dev-python/autobahn[${PYTHON_USEDEP}]
- dev-python/constantly[${PYTHON_USEDEP}]
- dev-python/hyperlink[${PYTHON_USEDEP}]
- dev-python/incremental[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/twisted[${PYTHON_USEDEP}]
- dev-python/txaio[${PYTHON_USEDEP}]
- dev-python/zope-interface[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/autobahn[${PYTHON_MULTI_USEDEP}]
+ dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+ dev-python/hyperlink[${PYTHON_MULTI_USEDEP}]
+ dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+ dev-python/six[${PYTHON_MULTI_USEDEP}]
+ dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+ dev-python/txaio[${PYTHON_MULTI_USEDEP}]
+ dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+ ')
)
- xdmf2? ( sci-libs/xdmf2 )"
+ xdmf2? ( sci-libs/xdmf2 )
+ $(python_gen_cond_dep "
+ mpi? (
+ virtual/mpi[cxx,romio]
+ python? ( dev-python/mpi4py[\${PYTHON_MULTI_USEDEP}] )
+ )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/sip[\${PYTHON_MULTI_USEDEP}]
+ )
+ qt5? (
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtsql:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtx11extras:5
+ python? ( dev-python/PyQt5[\${PYTHON_MULTI_USEDEP}] )
+ )
+ ")"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"