[med-svn] [Git][med-team/insighttoolkit][stable-412] 4 commits: d/control*, d/rules: Fix python dependencies, Closes: #906230

Gert Wollny gitlab at salsa.debian.org
Tue Aug 28 15:30:46 BST 2018


Gert Wollny pushed to branch stable-412 at Debian Med / insighttoolkit


Commits:
28093c90 by Gert Wollny at 2018-08-27T18:21:42Z
d/control*, d/rules: Fix python dependencies, Closes: #906230

- - - - -
e6d06240 by Gert Wollny at 2018-08-27T18:21:42Z
Update changelog for upload

- - - - -
93757807 by Gert Wollny at 2018-08-28T14:26:24Z
d/rules: Remove build dir right after installation

- - - - -
8d3e005f by Gert Wollny at 2018-08-28T14:28:06Z
Update changelog for upload

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/control.in
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+insighttoolkit4 (4.12.2-dfsg1-4) unstable; urgency=medium
+
+  * d/rules: Remove build dir right after installation
+
+ -- Gert Wollny <gewo at debian.org>  Tue, 28 Aug 2018 16:27:47 +0200
+
+insighttoolkit4 (4.12.2-dfsg1-3) unstable; urgency=medium
+
+  * d/control*, d/rules: Fix python dependencies, Closes: #906230
+
+ -- Gert Wollny <gewo at debian.org>  Mon, 27 Aug 2018 20:18:54 +0200
+
 insighttoolkit4 (4.12.2-dfsg1-2) unstable; urgency=medium
 
   * d/p/remove_gcc_version_test.patch Closes: #897899


=====================================
debian/control
=====================================
@@ -20,7 +20,8 @@ Build-Depends: debhelper (>= 9),
 	uuid-dev, 
 	libminc-dev, 
         libnifti-dev, 
-	libhdf5-dev, 
+	libhdf5-dev,
+	dh-python,	
 	python-all-dev
 #	libvtk6-dev -- only needed if we enable one of the following modules:
 # VtkGlue, LevelSetsv4Visualization
@@ -90,7 +91,7 @@ Description: Image processing toolkit for registration and segmentation - exampl
 Package: insighttoolkit4-python 
 Section: python 
 Architecture: amd64 i386
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
 Conflicts: insighttoolkit-python
 Replaces: insighttoolkit-python
 Description: Image processing toolkit for registration and segmentation - Python bindings


=====================================
debian/control.in
=====================================
@@ -20,7 +20,8 @@ Build-Depends: debhelper (>= 9),
     uuid-dev, 
     libminc-dev, 
     libnifti-dev, 
-    libhdf5-dev, 
+    libhdf5-dev,
+    dh-python,
     python-all-dev
 #	libvtk6-dev -- only needed if we enable one of the following modules:
 # VtkGlue, LevelSetsv4Visualization
@@ -90,7 +91,7 @@ Description: Image processing toolkit for registration and segmentation - exampl
 Package: insighttoolkit at VER_MAJOR@-python 
 Section: python 
 Architecture: amd64 i386
-Depends: ${misc:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
 Conflicts: insighttoolkit-python
 Replaces: insighttoolkit-python
 Description: Image processing toolkit for registration and segmentation - Python bindings


=====================================
debian/rules
=====================================
@@ -81,7 +81,7 @@ pkg_python = insighttoolkit$(VER_MAJOR)-python
 
 
 %:
-	dh $@ --builddir=BUILD --parallel
+	dh $@ --builddir=BUILD --parallel --with python2
 
 override_dh_auto_configure-indep:
 
@@ -110,6 +110,7 @@ override_dh_makeshlibs:
 override_dh_install-indep:
 
 override_dh_install-arch:
+	rm -rf BUILD
 	# pkg_lib
 	dh_install -p$(pkg_lib) -XJava -XPython -XTcl debian/tmp/usr/lib/lib*.so.* usr/lib
 	cp CMake/InsightValgrind.supp Insight$(SOVERSION)Valgrind.supp
@@ -135,7 +136,7 @@ ifeq ($(ENABLE_PYTHON),1)
 	dh_install -p$(pkg_python) debian/tmp/usr/lib/python2.7/* usr/lib/python2.7/
 endif 
 	# remove build directory to save space
-	rm -rf BUILD debian/tmp
+	rm -rf debian/tmp
 
 override_dh_installexamples:
 	# pkg_examples



View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/compare/bc562ba3ad810573242eb0517933c4c17da92d40...8d3e005f18e9383cc2d985ffeb0f7b8e0a181728

-- 
View it on GitLab: https://salsa.debian.org/med-team/insighttoolkit/compare/bc562ba3ad810573242eb0517933c4c17da92d40...8d3e005f18e9383cc2d985ffeb0f7b8e0a181728
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180828/b0ab1551/attachment-0001.html>


More information about the debian-med-commit mailing list