summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl-gentoo@posteo.net>2021-06-02 17:48:32 +0200
committerSam James <sam@gentoo.org>2021-06-10 03:37:43 +0000
commit4578daf387523650389985ad579c9578f0a4bd64 (patch)
treea751e8e3f66fd90c6730497bb8f64f892a69114f /sci-libs/vtk
parentnet-wireless/soapysdr: conditionalise Python usage in src_install (diff)
downloadgentoo-4578daf387523650389985ad579c9578f0a4bd64.tar.gz
gentoo-4578daf387523650389985ad579c9578f0a4bd64.tar.bz2
gentoo-4578daf387523650389985ad579c9578f0a4bd64.zip
sci-libs/vtk: add python-3.9 support
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/vtk')
-rw-r--r--sci-libs/vtk/vtk-8.2.0-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/vtk/vtk-8.2.0-r1.ebuild b/sci-libs/vtk/vtk-8.2.0-r1.ebuild
index 9ab67fa0c1e0..4d29ebbccca6 100644
--- a/sci-libs/vtk/vtk-8.2.0-r1.ebuild
+++ b/sci-libs/vtk/vtk-8.2.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
WEBAPP_OPTIONAL=yes
WEBAPP_MANUAL_SLOT=yes
@@ -216,7 +216,7 @@ src_configure() {
-DVTK_Group_Views=$(usex views)
-DVTK_Group_Web=$(usex web)
-DVTK_SMP_IMPLEMENTATION_TYPE="$(usex tbb TBB Sequential)"
- -DVTK_WWW_DIR="${ED}/${MY_HTDOCSDIR}"
+ -DVTK_WWW_DIR="${EPREFIX}/${MY_HTDOCSDIR}"
-DVTK_WRAP_JAVA=$(usex java)
-DVTK_WRAP_PYTHON=$(usex python)
-DVTK_WRAP_PYTHON_SIP=$(usex python)
@@ -261,7 +261,7 @@ src_configure() {
-DSIP_INCLUDE_DIR="$(python_get_includedir)"
-DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)"
-DVTK_PYTHON_LIBRARY="$(python_get_library_path)"
- -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX} --root=${D}"
+# -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX} --root=${D}"
-DVTK_USE_SYSTEM_SIX=ON
)
fi