[pybtex] 86/108: deb/rules: use Pybuild customization for dh_auto_test

Daniel Stender stender at moszumanska.debian.org
Fri Jul 21 10:18:32 UTC 2017


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

stender pushed a commit to branch master
in repository pybtex.

commit aa5e69cdbe04a2255f693a1c11facb6a550bab33
Author: Daniel Stender <stender at debian.org>
Date:   Mon Mar 14 13:16:47 2016 +0000

    deb/rules: use Pybuild customization for dh_auto_test
---
 debian/changelog | 6 ++++--
 debian/rules     | 8 +-------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fbcbdcc..9490732 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,10 +13,12 @@ pybtex (0.19-1) UNRELEASED; urgency=medium
     + updated copyright spans and email addresses.
     + put Bitbucket code repo in Source field.
   * deb/docs: removed obsolete targets.
-  * deb/rules: build with Pybuild.
+  * deb/rules:
+    + build with Pybuild.
+    + use Pybuild customization for dh_auto_test.
   * deb/watch: watch pypi.debian.net.
 
- -- Daniel Stender <stender at debian.org>  Mon, 14 Mar 2016 14:09:48 +0100
+ -- Daniel Stender <stender at debian.org>  Mon, 14 Mar 2016 14:12:39 +0100
 
 pybtex (0.18-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 9392d9f..5bc481f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,10 +22,4 @@ override_dh_installman:
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
-ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-	set -e; \
-	for python in $(shell pyversions -r); do \
-		$$python setup.py nosetests; \
-	done
-endif
-
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -Wd -m nose -v" dh_auto_test

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



More information about the debian-science-commits mailing list