[h5py] 15/17: Fix incomplete care of debug packages

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jan 5 19:13:38 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository h5py.

commit f0be3236802897189bc446a869bfcdf08d21940d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Jan 5 15:45:33 2017 +0000

    Fix incomplete care of debug packages
    
    - Use nominal set of install dependencies for each -dbg package
    - Add missing dh_strip override for each -dbg package
---
 debian/control | 16 ++++++----------
 debian/rules   |  6 ++++++
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/debian/control b/debian/control
index 77bc6e7..ffb016f 100644
--- a/debian/control
+++ b/debian/control
@@ -66,12 +66,10 @@ Package: python-h5py-dbg
 Architecture: any
 Section: debug
 Priority: extra
-Depends: python-dbg,
-         python-h5py (= ${binary:Version}),
-         python-numpy-dbg,
-         ${misc:Depends},
+Depends: ${misc:Depends},
          ${python:Depends},
-         ${shlibs:Depends}
+         ${shlibs:Depends},
+         python-h5py (= ${binary:Version})
 Description: debug extension for h5py (Python 2)
  HDF5 for Python (h5py) is a general-purpose Python interface to the
  Hierarchical Data Format library, version 5. HDF5 is a versatile, mature
@@ -124,12 +122,10 @@ Package: python3-h5py-dbg
 Architecture: any
 Section: debug
 Priority: extra
-Depends: python3-dbg,
-         python3-h5py (= ${binary:Version}),
-         python3-numpy-dbg,
-         ${misc:Depends},
+Depends: ${misc:Depends},
          ${python3:Depends},
-         ${shlibs:Depends}
+         ${shlibs:Depends},
+         python3-h5py (= ${binary:Version})
 Description: debug extension for h5py (Python 3)
  HDF5 for Python (h5py) is a general-purpose Python interface to the
  Hierarchical Data Format library, version 5. HDF5 is a versatile, mature
diff --git a/debian/rules b/debian/rules
index edd2706..267c7d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,3 +23,9 @@ override_dh_python2:
 override_dh_python3:
 	dh_python3
 	dh_numpy3
+
+override_dh_strip-arch:
+	dh_strip --package=python-$(PYBUILD_NAME) \
+		--dbg-package=python-$(PYBUILD_NAME)-dbg
+	dh_strip --package=python3-$(PYBUILD_NAME) \
+		--dbg-package=python3-$(PYBUILD_NAME)-dbg

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



More information about the debian-science-commits mailing list