[Python-modules-commits] r31638 - in packages/toposort/trunk/debian (changelog rules)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Tue Dec 30 08:58:22 UTC 2014


    Date: Tuesday, December 30, 2014 @ 08:57:58
  Author: dktrkranz
Revision: 31638

Simplify test suite invocation

Modified:
  packages/toposort/trunk/debian/changelog
  packages/toposort/trunk/debian/rules

Modified: packages/toposort/trunk/debian/changelog
===================================================================
--- packages/toposort/trunk/debian/changelog	2014-12-30 08:42:55 UTC (rev 31637)
+++ packages/toposort/trunk/debian/changelog	2014-12-30 08:57:58 UTC (rev 31638)
@@ -2,8 +2,10 @@
 
   * debian/control:
     - Fix typo in X-Python-Version and X-Python3-Version fields.
+  * debian/rules:
+    - Simplify test suite invocation.
 
- -- Luca Falavigna <dktrkranz at debian.org>  Thu, 31 Jul 2014 19:36:15 +0200
+ -- Luca Falavigna <dktrkranz at debian.org>  Tue, 30 Dec 2014 09:48:24 +0100
 
 toposort (1.1-1) unstable; urgency=medium
 

Modified: packages/toposort/trunk/debian/rules
===================================================================
--- packages/toposort/trunk/debian/rules	2014-12-30 08:42:55 UTC (rev 31637)
+++ packages/toposort/trunk/debian/rules	2014-12-30 08:57:58 UTC (rev 31638)
@@ -1,14 +1,10 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=toposort
-PYVERS :=  $(shell pyversions -vr)
-PY3VERS := $(shell py3versions -vr)
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
-	set -ex; \
-	for py in $(PYVERS) $(PY3VERS); do \
-		python$$py setup.py test ; \
-	done
+	dh_auto_test -- --system=custom \
+		--test-args='{interpreter} setup.py test'




More information about the Python-modules-commits mailing list