[vtk7] 02/02: Set python 3.5

Gert Wollny gewo at moszumanska.debian.org
Wed Jul 12 10:39:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

gewo pushed a commit to branch myp3
in repository vtk7.

commit 6e8279fbad1b441a4fc6d65e5e113571319d107c
Author: Gert Wollny <gewo at debian.org>
Date:   Tue Jul 11 20:07:07 2017 +0000

    Set python 3.5
---
 debian/rules | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index d3c830a..ae3a4f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ endif
 export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python2 --with javahelper --parallel
+	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python3 --with javahelper --parallel
 
 extra_flags +=  \
   -DCMAKE_VERBOSE_MAKEFILE=ON \
@@ -26,6 +26,7 @@ extra_flags +=  \
 	-DVTK_WRAP_JAVA=ON \
 	-DVTK_WRAP_PYTHON=ON \
 	-DVTK_WRAP_TCL=ON \
+        -DVTK_PYTHON_VERSION=3 \
 	-DVTK_USE_SYSTEM_EXPAT=ON \
 	-DVTK_USE_SYSTEM_FREETYPE=ON \
 	-DVTK_USE_SYSTEM_GL2PS=ON \
@@ -108,6 +109,6 @@ override_dh_install-arch:
 	find $(CURDIR)/debian/libvtk7-dev/usr/include/ -name "Q*" -exec rm {} \;
 	chmod 755 $(CURDIR)/debian/libvtk7-dev/usr/share/vtk-7.1/doxygen/*.pl
 	rm -rf $(CURDIR)/debian/libvtk7-doc/usr/share/doc/vtk7-doc/html/_formulas.log
-	mkdir -p  $(CURDIR)/debian/python-vtk7/usr/lib/$(DEB_HOST_MULTIARCH)/python2.7/site-packages/ && \
-          cd $(CURDIR)/debian/python-vtk7/usr/lib/$(DEB_HOST_MULTIARCH)/python2.7/site-packages/ && \
-	  ln -s  /usr/lib/python2.7/dist-packages/vtk vtk
+	mkdir -p  $(CURDIR)/debian/python-vtk7/usr/lib/$(DEB_HOST_MULTIARCH)/python3.5/site-packages/ && \
+          cd $(CURDIR)/debian/python-vtk7/usr/lib/$(DEB_HOST_MULTIARCH)/python3.5/site-packages/ && \
+	  ln -s  /usr/lib/python3.5/dist-packages/vtk vtk

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vtk7.git



More information about the debian-science-commits mailing list