commit:     4578daf387523650389985ad579c9578f0a4bd64
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Wed Jun  2 15:48:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 03:37:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4578daf3

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 <AT> posteo.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/vtk/vtk-8.2.0-r1.ebuild | 6 +++---
 1 file 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 9ab67fa0c1e..4d29ebbccca 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

Reply via email to