[python-xrayutilities] 03/03: add the debug binary package

Frédéric-Emmanuel Picca picca at alioth.debian.org
Sun Oct 20 16:03:55 UTC 2013


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

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

commit 823a6520a1e8ed8eea26f15e4cb153e0010c2ec0
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Sun Oct 20 18:02:56 2013 +0200

    add the debug binary package
---
 debian/control                      |   22 ++++++++++++++++++++++
 debian/python-xrayutilities.install |    1 -
 debian/rules                        |    9 +++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index b449f6b..599f646 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,9 @@ Section: science
 Priority: extra
 Build-Depends: debhelper (>= 9),
                python-all-dev,
+               python-all-dbg,
                python-numpy,
+               python-numpy-dbg,
                python-setuptools
 Build-Depends-Indep: python-matplotlib,
                      python-scipy,
@@ -43,4 +45,24 @@ Description: Package for xray data reduction and analysis - documentation
  data. It consists of a python package and several routines coded in C. It
  especially useful for the reciprocal space conversion of diffraction data taken
  with linear and area detectors.
+ .
+ This package includes the manual in HTML format.
 
+Package: python-xrayutilities-dbg
+Architecture: any
+Section: debug
+Depends: ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends},
+         python-xrayutilities (= ${binary:Version})
+Recommends: python-dbg,
+            python-numpy-dbg,
+            python-scipy-dbg,
+            python-tables-dbg
+Description: Package for xray data reduction and analysis - debug extension
+ xrayutilities is a collection of scripts used to analyze x-ray diffraction
+ data. It consists of a python package and several routines coded in C. It
+ especially useful for the reciprocal space conversion of diffraction data taken
+ with linear and area detectors.
+ .
+ This package contains the extension built for the Python debug interpreter.
\ No newline at end of file
diff --git a/debian/python-xrayutilities.install b/debian/python-xrayutilities.install
deleted file mode 100644
index b2cc136..0000000
--- a/debian/python-xrayutilities.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python2*
diff --git a/debian/rules b/debian/rules
index dde0087..42f75cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,17 @@ override_dh_auto_clean:
 	rm -rf build
 
 override_dh_auto_build-indep:
+	python setup.py build
 	python setup.py build_doc
 
 override_dh_auto_install:
 	dh_auto_install
 	dh_numpy
+
+override_dh_install:
+	# Install everything excluding the *_d.so debug extensions to python-foo
+	dh_install -X"*_d.so" "debian/tmp/*" -p python-xrayutilities
+	# Install the debug extensions to python-foo-dbg
+	dh_install "debian/tmp/usr/lib/python*/*-packages/xrayutilities/*_d.so" -p python-xrayutilities-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-xrayutilities.git



More information about the debian-science-commits mailing list