[vtk6] 03/12: Move Python packages out of *-dev packages

Gert Wollny gert-guest at moszumanska.debian.org
Thu Feb 18 11:06:08 UTC 2016


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

gert-guest pushed a commit to branch master
in repository vtk6.

commit c15ed1e8cdead5407f9e73c1dbb2a7fcc7fb2194
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Tue Feb 16 19:42:46 2016 +0000

    Move Python packages out of *-dev packages
    
    Provide a symlink in the python-vtk6 package instead.
---
 debian/changelog              | 6 ++++++
 debian/libvtk6-dev.install    | 5 +++--
 debian/libvtk6-qt-dev.install | 3 ++-
 debian/rules                  | 3 +++
 4 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2e6da44..ec9f4fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,11 @@
 vtk6 (6.2.0+dfsg1-8) UNRELEASED; urgency=medium
 
+  * [842987d] Add the libvtk*Qt*.so files to libvtk6-qt-dev
+  * [7f90dea] Update Java installation locations
+  * Add the libvtk*Qt*.so files to libvtk6-qt-dev
+  * Update Java installation locations
+  * Update changelog for 6.2.0+dfsg1-8 release
+  * Remove python files from -dev packages and provide an according symlink in the python-vtk6 package
 
  -- Gert Wollny <gw.fossdev at gmail.com>  Wed, 03 Feb 2016 15:05:29 +0000
 
diff --git a/debian/libvtk6-dev.install b/debian/libvtk6-dev.install
index 72256bf..fae6068 100644
--- a/debian/libvtk6-dev.install
+++ b/debian/libvtk6-dev.install
@@ -1,6 +1,7 @@
 # add doxygen docs
-# to get paraview debian/build properly on top of vtk
-/usr/lib/*/python2.7/site-packages/vtk/*
+# to get paraview debian/build properly on top of vtk we now add this as a symlink 
+# in the python-vtk6 package 
+# /usr/lib/*/python2.7/site-packages/vtk/*
 CMake/TopologicalSort.cmake usr/lib/cmake/vtk-6.2/
 CMake/exportheader.cmake.in usr/lib/cmake/vtk-6.2/
 CMake/vtkGroups.cmake usr/lib/cmake/vtk-6.2/
diff --git a/debian/libvtk6-qt-dev.install b/debian/libvtk6-qt-dev.install
index d155f23..1d6b20a 100644
--- a/debian/libvtk6-qt-dev.install
+++ b/debian/libvtk6-qt-dev.install
@@ -1,4 +1,5 @@
-usr/lib/*/python2.7/site-packages/vtk/*Qt*
+# remove Python files here and privide a symlink in the python package 
+# usr/lib/*/python2.7/site-packages/vtk/*Qt*
 usr/lib/*/*Qt*.so
 usr/lib/cmake/vtk-6.2/Modules/*Qt*
 usr/include/vtk-6.2/*Qt*
diff --git a/debian/rules b/debian/rules
index 8cad17f..e5250c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -100,3 +100,6 @@ override_dh_install-arch:
 	find $(CURDIR)/debian/libvtk6-qt-dev/ -name "*Java.so" -exec rm {} \;
 	find $(CURDIR)/debian/libvtk6-dev/usr/include/ -name "Q*" -exec rm {} \;
 	rm -rf $(CURDIR)/debian/libvtk6-doc/usr/share/doc/vtk6-doc/html/_formulas.log
+        cd $(CURDIR)/debian/python-vtk6/ && \
+          mkdir -p /usr/lib/$(DEB_HOST_MULTIARCH)/python2.7/site-packages/vtk && \
+          ln -s  /usr/lib/python2.7/dist/packages/vtk  /usr/lib/$(DEB_HOST_MULTIARCH)/python2.7/site-packages/vtk

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



More information about the debian-science-commits mailing list