[python-fabio] 27/31: * Add the -dbg packages

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Fri Dec 27 19:05:49 UTC 2013


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

picca pushed a commit to branch master
in repository python-fabio.

commit 1b5fd70be957a69c7aebeb41a0d7aa04e1b41073
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Fri Dec 27 12:48:00 2013 +0100

    * Add the -dbg packages
---
 debian/changelog |  7 +++++++
 debian/control   | 29 ++++++++++++++++++++++++++++-
 debian/rules     | 10 ++++++++--
 3 files changed, 43 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 76e09e6..eb08354 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-fabio (0.1.3-2) UNRELEASED; urgency=medium
+
+  * * Bump Standard-Versions to 3.9.5 (no change)
+  * * Add the -dbg packages
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org>  Fri, 27 Dec 2013 09:46:21 +0100
+
 python-fabio (0.1.3-1) unstable; urgency=low
 
   [kieffer]
diff --git a/debian/control b/debian/control
index 5f53811..f8df432 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,11 @@ Maintainer: Jerome Kieffer <jerome.kieffer at esrf.fr>
 Uploaders: Picca Frédéric-Emmanuel <picca at debian.org>
 Section: python
 Priority: optional
-Build-Depends: debhelper (>= 8),
+Build-Depends: debhelper (>= 9),
                python-all-dev,
+               python-all-dbg,
                python-numpy,
+               python-numpy-dbg,
                python-setuptools
 Standards-Version: 3.9.5
 Vcs-Browser: http://git.epn-campus.eu/projects/fabio/repository
@@ -30,3 +32,28 @@ Description: I/O library for images produced by 2D X-ray detector
  20 different file formats (like CBF, EDF, TIFF, ...) and offers an unified
  interface to their headers (as a python dictionary) and datasets (as a
  numpy ndarray of integers or floats)
+ .
+ This is the Python 2 version of the package.
+
+Package: python-fabio-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends},
+         python-fabio (= ${binary:Version})
+Recommends: python-dbg,
+            python-imaging-dbg,
+            python-lxml-dbg,
+            python-matplotlib-dbg
+Description: I/O library for images produced by 2D X-ray detector (debug ext)
+ FabIO is an I/O library for images produced by 2D X-ray detectors and written
+ in Python. FabIO support images detectors from a dozen of companies
+ (including Mar, Dectris, ADSC, Hamamatsu, Oxford, ...), for a total of
+ 20 different file formats (like CBF, EDF, TIFF, ...) and offers an unified
+ interface to their headers (as a python dictionary) and datasets (as a
+ numpy ndarray of integers or floats)
+ .
+ This package contains the extension built for the Python 2 debug
+ interpreter.
diff --git a/debian/rules b/debian/rules
index 1765b71..1eec740 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,13 @@ override_dh_clean:
 	dh_clean
 	rm -rf *.egg-info
 
-override_dh_auto_install:
+override_dh_install:
 	dh_numpy
-	dh_auto_install
+	# Install everything excluding the *_d.so debug extensions to python-foo
+	dh_install -X"*_d.so" "debian/tmp/*" -p python-fabio
 
+	# Install the debug extensions to python-foo-dbg
+	dh_install "debian/tmp/usr/lib/python*/*-packages/fabio/*_d.so" -p python-fabio-dbg
+
+	# Continue with regular dh_install
+	dh_install

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



More information about the debian-science-commits mailing list