[numexpr] 05/08: Remove -dbg packages (automatically generated)

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Wed Jun 28 20:22:29 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 numexpr.

commit 2f62cf27ba0ccfa674d2619af386f3f97220b455
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Wed Jun 28 19:20:49 2017 +0000

    Remove -dbg packages (automatically generated)
---
 debian/changelog         |  2 ++
 debian/control           | 47 +----------------------------------------------
 debian/rules             |  8 --------
 debian/tests/control     |  6 ------
 debian/tests/python2-dbg | 12 ------------
 debian/tests/python3-dbg | 12 ------------
 6 files changed, 3 insertions(+), 84 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fbc7ef5..e4b13ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ numexpr (2.6.2-1) UNRELEASED; urgency=medium
   * debian/patches:
     - drop 0001-fix-test-on-powerpc-and-ppc64el.patch and
       0002-numpy-1.12-compatibility.patch: applied upstream
+  * Drop -dbg package declaration (now debug packages are automatically
+    generated) 
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 28 Jun 2017 18:52:05 +0000
 
diff --git a/debian/control b/debian/control
index 41885a1..61ff00b 100644
--- a/debian/control
+++ b/debian/control
@@ -9,15 +9,11 @@ Priority: optional
 Build-Depends: debhelper (>= 9.0.0~),
                dh-python,
                python-all-dev,
-               python-all-dbg,
                python3-all-dev,
-               python3-all-dbg,
                python-setuptools,
                python3-setuptools,
                python-numpy,
-               python-numpy-dbg,
-               python3-numpy,
-               python3-numpy-dbg
+               python3-numpy
 Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/numexpr.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/numexpr.git
@@ -41,27 +37,6 @@ Description: Fast numerical array expression evaluator for Python and NumPy
  .
  This is the Python 2 version of the package.
 
-Package: python-numexpr-dbg
-Architecture: any
-Section: debug
-Priority: extra
-Depends: ${python:Depends},
-         ${shlibs:Depends},
-         ${misc:Depends},
-         python-numexpr (= ${binary:Version}),
-         python-dbg,
-         python-numpy-dbg
-Description: Fast numerical array expression evaluator for Python and NumPy (debug ext)
- Numexpr package evaluates multiple-operator array expressions many
- times faster than NumPy can. It accepts the expression as a string,
- analyzes it, rewrites it more efficiently, and compiles it to faster
- Python code on the fly. It's the next best thing to writing the
- expression in C and compiling it with a specialized just-in-time
- (JIT) compiler, i.e. it does not require a compiler at runtime.
- .
- This package contains the extension built for the Python 2 debug
- interpreter.
-
 Package: python3-numexpr
 Architecture: any
 Depends: ${python3:Depends},
@@ -78,23 +53,3 @@ Description: Fast numerical array expression evaluator for Python 3 and NumPy
  .
  This package contains numexpr for Python 3.
 
-Package: python3-numexpr-dbg
-Architecture: any
-Section: debug
-Priority: extra
-Depends: ${python3:Depends},
-         ${shlibs:Depends},
-         ${misc:Depends},
-         python3-numexpr (= ${binary:Version}),
-         python3-dbg,
-         python3-numpy-dbg
-Description: Fast numerical array expression evaluator for Python 3 and NumPy (debug ext)
- Numexpr package evaluates multiple-operator array expressions many
- times faster than NumPy can. It accepts the expression as a string,
- analyzes it, rewrites it more efficiently, and compiles it to faster
- Python code on the fly. It's the next best thing to writing the
- expression in C and compiling it with a specialized just-in-time
- (JIT) compiler, i.e. it does not require a compiler at runtime.
- .
- This package contains the extension built for the Python 3 debug
- interpreter.
diff --git a/debian/rules b/debian/rules
index 049455f..379446e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,6 @@ endif
 
 build-python%:
 	python$* setup.py build
-	python$*-dbg setup.py build
 
 
 override_dh_auto_build: $(PY3VERS:%=build-python%)
@@ -29,7 +28,6 @@ override_dh_auto_build: $(PY3VERS:%=build-python%)
 
 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%)
@@ -43,10 +41,6 @@ override_dh_install:
 	dh_install -X"*dmu.so" -X"*dm.so" "debian/tmp/usr/lib/python3*" -p python3-numexpr
 	find debian/python3-numexpr -name '*.cpython-??dm-*.so' | xargs -r rm -f
 
-	# Install the debug extensions to python-numexpr-dbg
-	dh_install "debian/tmp/usr/lib/python2*/*-packages/numexpr/*_d.so" -p python-numexpr-dbg
-	dh_install "debian/tmp/usr/lib/python3*/*-packages/numexpr/*.cpython-??dm*.so" -p python3-numexpr-dbg
-
 	# Continue with regular dh_install
 	dh_install
 	dh_numpy
@@ -60,8 +54,6 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	for py in $(PY2VERS) $(PY3VERS); do \
 		cd $(CURDIR)/build/lib.*-$$py;\
 		env PYTHONPATH=. python$$py numexpr/tests/test_numexpr.py -v;\
-		cd $(CURDIR)/build/lib.*-$$py-pydebug;\
-		env PYTHONPATH=. python$$py-dbg numexpr/tests/test_numexpr.py -v;\
 	done
 
 endif
diff --git a/debian/tests/control b/debian/tests/control
index 17348a5..e6a13a3 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,12 +1,6 @@
 Tests: python2
 Depends: python-numexpr, python-all
 
-Tests: python2-dbg
-Depends: python-numexpr-dbg, python-all-dbg
-
 Tests: python3
 Depends: python3-numexpr, python3-all
 
-Tests: python3-dbg
-Depends: python3-numexpr-dbg, python3-all-dbg
-
diff --git a/debian/tests/python2-dbg b/debian/tests/python2-dbg
deleted file mode 100755
index 0b775dd..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:-numexpr}
-
-cd "$ADTTMP"
-
-for py in $PYS; do
-    echo "=== $py ==="
-    $py-dbg -c "import $TESTPKG; $TESTPKG.test()" 2>&1
-done
diff --git a/debian/tests/python3-dbg b/debian/tests/python3-dbg
deleted file mode 100755
index 19ea7d3..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:-numexpr}
-
-cd "$ADTTMP"
-
-for py in $PYS; do
-    echo "=== $py ==="
-    $py-dbg -c "import $TESTPKG; $TESTPKG.test()" 2>&1
-done

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



More information about the debian-science-commits mailing list