[SCM] Packaging for pytables branch, master, updated. debian/2.3.1-2-9-g6ab85e1

Antonio Valentino antonio.valentino at tiscali.it
Sat Feb 18 19:28:12 UTC 2012


The following commit has been merged in the master branch:
commit 27205032593e226d63f4e9dfa56e63bae7cc4a8e
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sat Feb 4 13:30:27 2012 +0100

    Provide -dbg package

diff --git a/debian/changelog b/debian/changelog
index d0312ee..fbed1fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,12 +3,13 @@ pytables (2.3.1-3) unstable; urgency=low
   [ Antonio Valentino ]
   * Set Vcs-* fields in the control file (Closes: 657766)
   * Enabled bzip2 and lzo compressors (Closes: #657789)
+  * Provide -dbg package (Closes: #399332) 
 
   [ Yaroslav Halchenko ]
   * Patch up_skip_multiprocessing_test_on_gnu to disable test on Hurd and
     kFreeBSD systems -- multiprocessing locking seems to be N/A
 
- -- Yaroslav Halchenko <debian at onerussian.com>  Tue, 14 Feb 2012 18:20:06 -0500
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 18 Feb 2012 20:06:04 +0100
 
 pytables (2.3.1-2) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 3c56f35..b0a3d2e 100644
--- a/debian/control
+++ b/debian/control
@@ -9,10 +9,12 @@ Vcs-Git: git://git.debian.org/git/debian-science/packages/pytables.git
 Vcs-Browser: http://git.debian.org/?p=debian-science/packages/pytables.git
 Standards-Version: 3.9.2
 X-Python-Version: >= 2.4
-Build-Depends: debhelper (>= 8.1.0), libhdf5-dev (>= 1.6.5),
-               python-all-dev (>= 2.6.6-3~), python-numpy (>= 1:1.4.1-4~),
-               python-numexpr (>= 1.4.1), cython (>= 0.13),
-               zlib1g-dev, liblzo2-dev, libbz2-dev, python-sphinx (>= 1.0.7+dfsg),
+Build-Depends: debhelper (>= 8.1.0~), libhdf5-dev (>= 1.6.5),
+               python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~),
+               python-numpy (>= 1:1.4.1-4~), python-numpy-dbg (>= 1:1.4.1-4~),
+               python-numexpr (>= 1.4.1), python-numexpr-dbg (>= 1.4.1),
+               cython (>= 0.13), cython-dbg (>= 0.13), zlib1g-dev, liblzo2-dev,
+               libbz2-dev, python-sphinx (>= 1.0.7+dfsg),
                texlive-latex-recommended, texlive-latex-extra,
                texlive-fonts-recommended
 
@@ -39,6 +41,34 @@ Description: hierarchical database for Python based on HDF5
     rows in tables. Extended slicing is supported as well.
   - It supports the complete set of NumPy, Numeric and numarray objects.
 
+Package: python-tables-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends},
+         python-tables (= ${binary:Version})
+Recommends: ${shlibs:Recommends}, python-dbg, python-numpy-dbg,
+            python-numexpr-dbg
+Suggests: python-tables-doc, python-netcdf, ${shlibs:Suggests}
+Description: hierarchical database for Python based on HDF5 (debug extension)
+ PyTables is a hierarchical database package designed to efficiently
+ manage very large amounts of data. PyTables is built on top of the
+ HDF5 library and the NumPy package. It features an object-oriented
+ interface that, combined with natural naming and C-code generated
+ from Pyrex sources, makes it a fast, yet extremely easy to use tool
+ for interactively save and retrieve large amounts of data.
+ .
+  - Compound types (records) can be used entirely from Python (i.e. it
+    is not necessary to use C for taking advantage of them).
+  - The tables are both enlargeable and compressible.
+  - I/O is buffered, so you can get very fast I/O, specially with
+    large tables.
+  - Very easy to select data through the use of iterators over the
+    rows in tables. Extended slicing is supported as well.
+  - It supports the complete set of NumPy, Numeric and numarray objects.
+ .
+ This package contains the extension built for the Python debug interpreter.
+
 Package: python-tables-doc
 Section: doc
 Architecture: all
diff --git a/debian/rules b/debian/rules
index c46972d..f9f8191 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,17 +37,29 @@ override_dh_compress:
 	dh_compress -X.txt -X.pdf -X.py -X.h5
 
 
-override_dh_auto_install:
-	dh_auto_install
+override_dh_install:
+	# Install everything excluding the *_d.so debug extensions to python-tables
+	dh_install -X"*_d.so" "debian/tmp/*" -p python-tables
+
+	# Install the debug extensions to python-tables-dbg
+	dh_install "debian/tmp/usr/lib/python*/*-packages/tables/*_d.so" -p python-tables-dbg
+
+	# Continue with regular dh_install
+	dh_install
 	dh_numpy
+
+
+override_dh_aoto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e -x; \
 	for py in $(PYVERS); do \
 		cd "$(CURDIR)/debian/tmp/usr/lib/python$$py/dist-packages/"; \
 		env PYTHONPATH=. python$$py tables/tests/test_all.py; \
+		env PYTHONPATH=. python$$py-dbg tables/tests/test_all.py; \
 	done
 endif
 
 
 .PHONY: override_dh_auto_build override_dh_auto_clean override_dh_sphinxdoc \
-        dh_auto_install override_dh_installchangelogs override_dh_compress
+        override_dh_install override_dh_installchangelogs override_dh_compress \
+        override_dh_auto_test

-- 
Packaging for pytables



More information about the debian-science-commits mailing list