add the debug binary package
Picca Frédéric-Emmanuel
10 years ago
4 | 4 |
Priority: extra
|
5 | 5 |
Build-Depends: debhelper (>= 9),
|
6 | 6 |
python-all-dev,
|
|
7 |
python-all-dbg,
|
7 | 8 |
python-numpy,
|
|
9 |
python-numpy-dbg,
|
8 | 10 |
python-setuptools
|
9 | 11 |
Build-Depends-Indep: python-matplotlib,
|
10 | 12 |
python-scipy,
|
|
42 | 44 |
data. It consists of a python package and several routines coded in C. It
|
43 | 45 |
especially useful for the reciprocal space conversion of diffraction data taken
|
44 | 46 |
with linear and area detectors.
|
|
47 |
.
|
|
48 |
This package includes the manual in HTML format.
|
45 | 49 |
|
|
50 |
Package: python-xrayutilities-dbg
|
|
51 |
Architecture: any
|
|
52 |
Section: debug
|
|
53 |
Depends: ${misc:Depends},
|
|
54 |
${python:Depends},
|
|
55 |
${shlibs:Depends},
|
|
56 |
python-xrayutilities (= ${binary:Version})
|
|
57 |
Recommends: python-dbg,
|
|
58 |
python-numpy-dbg,
|
|
59 |
python-scipy-dbg,
|
|
60 |
python-tables-dbg
|
|
61 |
Description: Package for xray data reduction and analysis - debug extension
|
|
62 |
xrayutilities is a collection of scripts used to analyze x-ray diffraction
|
|
63 |
data. It consists of a python package and several routines coded in C. It
|
|
64 |
especially useful for the reciprocal space conversion of diffraction data taken
|
|
65 |
with linear and area detectors.
|
|
66 |
.
|
|
67 |
This package contains the extension built for the Python debug interpreter.⏎
|
debian/python-xrayutilities.install
less
more
14 | 14 |
rm -rf build
|
15 | 15 |
|
16 | 16 |
override_dh_auto_build-indep:
|
|
17 |
python setup.py build
|
17 | 18 |
python setup.py build_doc
|
18 | 19 |
|
19 | 20 |
override_dh_auto_install:
|
20 | 21 |
dh_auto_install
|
21 | 22 |
dh_numpy
|
|
23 |
|
|
24 |
override_dh_install:
|
|
25 |
# Install everything excluding the *_d.so debug extensions to python-foo
|
|
26 |
dh_install -X"*_d.so" "debian/tmp/*" -p python-xrayutilities
|
|
27 |
# Install the debug extensions to python-foo-dbg
|
|
28 |
dh_install "debian/tmp/usr/lib/python*/*-packages/xrayutilities/*_d.so" -p python-xrayutilities-dbg
|
|
29 |
# Continue with regular dh_install
|
|
30 |
dh_install
|