[pytables] 09/15: Remove -dbg packages

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Fri Jun 30 18:07:43 UTC 2017


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

a_valentino-guest pushed a commit to branch master
in repository pytables.

commit 95ce9b80b979757be9274cb9aec031a0a15a469b
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Wed Jun 28 22:41:24 2017 +0000

    Remove -dbg packages
---
 debian/changelog         |  1 +
 debian/control           | 74 ------------------------------------------------
 debian/rules             | 15 ----------
 debian/tests/control     |  5 ----
 debian/tests/python2-dbg | 12 --------
 debian/tests/python3-dbg | 12 --------
 6 files changed, 1 insertion(+), 118 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aab2c44..72cb16c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ pytables (3.4.2-1) UNRELEASED; urgency=medium
   * debian/control
     - add build dependency from python(3)-sphinx-rtd-theme,
       python(3)-ipython and python(3)-numpydoc
+  * Remove -dbg packages (now they are built automatically)
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 28 Jun 2017 20:25:32 +0000
 
diff --git a/debian/control b/debian/control
index e8b1121..34b2bfc 100644
--- a/debian/control
+++ b/debian/control
@@ -10,25 +10,17 @@ Build-Depends: debhelper (>= 9.0.0),
                locales,
                libhdf5-dev,
                python-all-dev,
-               python-all-dbg,
                python3-all-dev,
-               python3-all-dbg,
                python-setuptools,
                python3-setuptools,
                python-six,
                python3-six,
                python-numpy,
-               python-numpy-dbg,
                python3-numpy,
-               python3-numpy-dbg,
                python-numexpr,
-               python-numexpr-dbg,
                python3-numexpr,
-               python3-numexpr-dbg,
                cython,
-               cython-dbg,
                cython3,
-               cython3-dbg,
                zlib1g-dev,
                liblzo2-dev,
                libblosc-dev,
@@ -112,39 +104,6 @@ Description: hierarchical database for Python based on HDF5 (extension)
  .
  This package contains the extension built for the Python 2 interpreter.
 
-Package: python-tables-dbg
-Architecture: any
-Section: debug
-Priority: extra
-Depends: ${misc:Depends},
-         ${python:Depends},
-         ${shlibs:Depends},
-         python-tables (= ${source:Version}),
-         python-tables-lib (= ${binary:Version}),
-         python-dbg,
-         python-numpy-dbg,
-         python-numexpr-dbg
-Suggests: python-tables-doc,
-          python-netcdf
-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 2 debug interpreter.
-
 Package: python3-tables
 Architecture: all
 Depends: ${misc:Depends},
@@ -202,39 +161,6 @@ Description: hierarchical database for Python3 based on HDF5 (extension)
  .
  This package contains the extension built for the Python 3 interpreter.
 
-Package: python3-tables-dbg
-Architecture: any
-Section: debug
-Priority: extra
-Depends: ${misc:Depends},
-         ${python3:Depends},
-         ${shlibs:Depends},
-         python3-tables (= ${source:Version}),
-         python3-tables-lib (= ${binary:Version}),
-         python3-dbg,
-         python3-numpy-dbg,
-         python3-numexpr-dbg
-Suggests: python-tables-doc,
-          python-netcdf
-Description: hierarchical database for Python 3 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 3 debug interpreter.
-
 Package: python-tables-doc
 Architecture: all
 Section: doc
diff --git a/debian/rules b/debian/rules
index db8d63a..976ee2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,6 @@ endif
 
 build-python%:
 	python$* setup.py build
-	python$*-dbg setup.py build
 
 
 override_dh_auto_build: $(PY3VERS:%=build-python%)
@@ -47,7 +46,6 @@ endif
 
 install-python%:
 	python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
-	python$*-dbg setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
 
 
 override_dh_auto_install: $(PY3VERS:%=install-python%)
@@ -65,10 +63,6 @@ override_dh_install:
 	dh_install -X"*dmu.so" -X"*dm.so" "debian/tmp/usr/lib/python3*/*-packages/tables/*.so" -p python3-tables-lib
 	find debian/python3-tables-lib -name '*.cpython-??dm-*.so' | xargs -r rm -f
 
-	# Install the debug extensions to python(3)-tables-dbg
-	dh_install "debian/tmp/usr/lib/python2*/*-packages/tables/*_d.so" -p python-tables-dbg
-	dh_install "debian/tmp/usr/lib/python3*/*-packages/tables/*.cpython-??dm*.so" -p python3-tables-dbg
-
 	# Continue with regular dh_install
 	dh_install -p python-tables-doc
 	dh_install -p python-tables-data
@@ -98,7 +92,6 @@ override_dh_install:
 
 	dh_numpy
 	dh_numpy3
-	# using override_dh_auto_test causes problems for dbg versions
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	# https://github.com/PyTables/PyTables/issues/485
 	mkdir -p $(CURDIR)/tmp-locales
@@ -111,10 +104,6 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 		env PYTHONPATH=. \
 			LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 \
 			python$$py tables/tests/test_all.py -vvv; \
-		cd $(CURDIR)/debian/tmp/usr/lib/python$$py/dist-packages; \
-		env PYTHONPATH=. \
-			LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 \
-			python$$py-dbg tables/tests/test_all.py -vvv; \
 	done
 	set -e -x; \
 	for py in $(PY3VERS); do \
@@ -122,10 +111,6 @@ ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 		env PYTHONPATH=. \
 			LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 \
 			python$$py tables/tests/test_all.py -vvv; \
-		#cd $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages; \
-		#env PYTHONPATH=. \
-		#	LOCPATH=$(CURDIR)/tmp-locales LC_ALL=en_US.UTF-8 \
-		#	python$$py-dbg tables/tests/test_all.py -vvv; \
 	done
 endif
 
diff --git a/debian/tests/control b/debian/tests/control
index 1571ef4..93ec67d 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,11 +1,6 @@
 Tests: python2
 Depends: python-tables, python-all
 
-Tests: python2-dbg
-Depends: python-tables-dbg, python-all-dbg
-
 Tests: python3
 Depends: python3-tables, python3-all
 
-#Tests: python3-dbg
-#Depends: python3-tables-dbg, python3-all-dbg
diff --git a/debian/tests/python2-dbg b/debian/tests/python2-dbg
deleted file mode 100755
index f7adb1d..0000000
--- a/debian/tests/python2-dbg
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -efu
-
-PYS=${PYS:-"$(pyversions -r 2>/dev/null)"}
-TESTPKG=${TESTPKG:-tables}
-
-cd "$ADTTMP"
-
-for py in $PYS; do
-    echo "=== $py ==="
-    $py-dbg -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1
-done
diff --git a/debian/tests/python3-dbg b/debian/tests/python3-dbg
deleted file mode 100755
index a13c00f..0000000
--- a/debian/tests/python3-dbg
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -efu
-
-PYS=${PYS:-"$(py3versions -r 2>/dev/null)"}
-TESTPKG=${TESTPKG:-tables}
-
-cd "$ADTTMP"
-
-for py in $PYS; do
-    echo "=== $py ==="
-    $py-dbg -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1
-done

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



More information about the debian-science-commits mailing list