[vtk7] 01/02: Move to python3

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 3bc7e4f1a5125e586fc933583401f934ce72816e
Author: Gert Wollny <gewo at debian.org>
Date:   Tue Jul 11 20:02:12 2017 +0000

    Move to python3
---
 debian/control                        | 35 ++++++++++++++++-------------------
 debian/python-vtk7.install            |  8 --------
 debian/python-vtk7.lintian-overrides  |  4 ----
 debian/python-vtk7.pyinstall          |  7 -------
 debian/python3-vtk7.install           |  8 ++++++++
 debian/python3-vtk7.lintian-overrides |  4 ++++
 debian/python3-vtk7.pyinstall         |  7 +++++++
 7 files changed, 35 insertions(+), 38 deletions(-)

diff --git a/debian/control b/debian/control
index 241612a..4eb0529 100644
--- a/debian/control
+++ b/debian/control
@@ -52,13 +52,12 @@ Build-Depends: chrpath,
                libxt-dev,
                mpi-default-dev,
                pkg-config,
-               python-all-dev (<< 2.8),
-               python-all-dev,
-               python-autobahn,
-               python-matplotlib,
-               python-mpi4py,
-               python-six,
-               python-twisted,
+               python3-all-dev,
+               python3-autobahn,
+               python3-matplotlib,
+               python3-mpi4py,
+               python3-six,
+               python3-twisted,
                qtbase5-dev,
                qttools5-private-dev,
                r-base,
@@ -118,8 +117,8 @@ Depends: default-libmysqlclient-dev,
          libxss-dev,
          libxt-dev,
          mpi-default-dev,
-         python-vtk7 (= ${binary:Version}),
-         python-zope.interface,
+         python3-vtk7 (= ${binary:Version}),
+         python3-zope.interface,
          tcl-dev,
          tcl-vtk7 (= ${binary:Version}),
          tk-dev,
@@ -226,24 +225,22 @@ Description: Visualization Toolkit - A high level 3D visualization library - jav
  .
  This package provides the VTK Java language support.
 
-Package: python-vtk7
+Package: python3-vtk7
 Architecture: any
 Section: python
 Depends: libvtk7.1 (= ${binary:Version}),
          libvtk7.1-qt (= ${binary:Version}),
-         python-autobahn,
-         python-mpi4py,
-         python-six,
-         python-twisted,
-         python-zope.interface,
+         python3-autobahn,
+         python3-mpi4py,
+         python3-six,
+         python3-twisted,
+         python3-zope.interface,
          ${misc:Depends},
          ${python:Depends},
          ${shlibs:Depends}
 Suggests: mayavi2,
           vtk7-doc,
           vtk7-examples
-Breaks: python-vtk6
-Replaces: python-vtk6
 Description: Python bindings for VTK
  The Visualization Toolkit (VTK) is an open-source software system
  for 3D computer graphics, image processing, and visualization.
@@ -300,8 +297,8 @@ Architecture: all
 Section: graphics
 Depends: ${misc:Depends}
 Suggests: libvtk7-dev,
-          python,
-          python-vtk7,
+          python3,
+          python3-vtk7,
           tcl-vtk7,
           tclsh,
           vtk7-doc
diff --git a/debian/python-vtk7.install b/debian/python-vtk7.install
deleted file mode 100644
index 7c387f9..0000000
--- a/debian/python-vtk7.install
+++ /dev/null
@@ -1,8 +0,0 @@
-debian/build/bin/pvtk				 usr/bin
-debian/build/bin/pvtkpython	 usr/bin
-debian/build/bin/vtk7python	 usr/bin
-usr/bin/vtkWrapPython-7.1
-usr/bin/vtkWrapPythonInit-7.1
-usr/lib/*/python2.7/site-packages/vtk usr/lib/python2.7/dist-packages
-usr/lib/*/libvtkRenderingPythonTkWidgets.so usr/lib/python2.7/dist-packages/vtk/
-
diff --git a/debian/python-vtk7.lintian-overrides b/debian/python-vtk7.lintian-overrides
deleted file mode 100644
index 5ffbc47..0000000
--- a/debian/python-vtk7.lintian-overrides
+++ /dev/null
@@ -1,4 +0,0 @@
-# Upstream does not provide manpages
-python-vtk7: binary-without-manpage
-python-vtk7: binary-or-shlib-defines-rpath
-python-vtk7: hardening-no-relro
diff --git a/debian/python-vtk7.pyinstall b/debian/python-vtk7.pyinstall
deleted file mode 100644
index 80139d7..0000000
--- a/debian/python-vtk7.pyinstall
+++ /dev/null
@@ -1,7 +0,0 @@
-debian/build/Wrapping/Python/vtk/*.py           vtk
-debian/build/Wrapping/Python/vtk/gtk/*.py       vtk.gtk
-debian/build/Wrapping/Python/vtk/qt4/*.py       vtk.qt4
-debian/build/Wrapping/Python/vtk/test/*.py      vtk.test
-debian/build/Wrapping/Python/vtk/tk/*.py        vtk.tk
-debian/build/Wrapping/Python/vtk/util/*.py      vtk.util
-debian/build/Wrapping/Python/vtk/wx/*.py        vtk.wx
diff --git a/debian/python3-vtk7.install b/debian/python3-vtk7.install
new file mode 100644
index 0000000..28920d7
--- /dev/null
+++ b/debian/python3-vtk7.install
@@ -0,0 +1,8 @@
+debian/build/bin/pvtk				 usr/bin/p3vtk
+debian/build/bin/pvtkpython	 usr/bin/pvtkpython3
+debian/build/bin/vtk7python	 usr/bin/
+usr/bin/vtkWrapPython-7.1
+usr/bin/vtkWrapPythonInit-7.1
+usr/lib/*/python3.5/site-packages/vtk usr/lib/python3.5/dist-packages
+usr/lib/*/libvtkRenderingPythonTkWidgets.so usr/lib/python3.5/dist-packages/vtk/
+
diff --git a/debian/python3-vtk7.lintian-overrides b/debian/python3-vtk7.lintian-overrides
new file mode 100644
index 0000000..55e79a7
--- /dev/null
+++ b/debian/python3-vtk7.lintian-overrides
@@ -0,0 +1,4 @@
+# Upstream does not provide manpages
+python3-vtk7: binary-without-manpage
+python3-vtk7: binary-or-shlib-defines-rpath
+python3-vtk7: hardening-no-relro
diff --git a/debian/python3-vtk7.pyinstall b/debian/python3-vtk7.pyinstall
new file mode 100644
index 0000000..f3d4162
--- /dev/null
+++ b/debian/python3-vtk7.pyinstall
@@ -0,0 +1,7 @@
+debian/build/Wrapping/Python/vtk/*.py           vtk7
+debian/build/Wrapping/Python/vtk/gtk/*.py       vtk7.gtk
+debian/build/Wrapping/Python/vtk/qt4/*.py       vtk7.qt4
+debian/build/Wrapping/Python/vtk/test/*.py      vtk7.test
+debian/build/Wrapping/Python/vtk/tk/*.py        vtk7.tk
+debian/build/Wrapping/Python/vtk/util/*.py      vtk7.util
+debian/build/Wrapping/Python/vtk/wx/*.py        vtk7.wx

-- 
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