[Python-modules-commits] r22021 - in packages/circuits/trunk/debian (changelog rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sat Jun 2 03:28:34 UTC 2012


    Date: Saturday, June 2, 2012 @ 03:28:31
  Author: eriol-guest
Revision: 22021

Run test only for the default Python version since upstream is calling py.test using Popen

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

Modified: packages/circuits/trunk/debian/changelog
===================================================================
--- packages/circuits/trunk/debian/changelog	2012-06-02 02:46:40 UTC (rev 22020)
+++ packages/circuits/trunk/debian/changelog	2012-06-02 03:28:31 UTC (rev 22021)
@@ -41,7 +41,8 @@
     - Removed because it contains only generic information about quilt
   * debian/rules
     - Switched to dh sequencer
-    - Run tests at build time
+    - Run tests at build time for the default Python version (Closes: #634153).
+      Thanks Jakub Wilk for the report.
   * debian/source/format
     - Switched to dpkg-source 3.0 (quilt) format
   * debian/watch

Modified: packages/circuits/trunk/debian/rules
===================================================================
--- packages/circuits/trunk/debian/rules	2012-06-02 02:46:40 UTC (rev 22020)
+++ packages/circuits/trunk/debian/rules	2012-06-02 03:28:31 UTC (rev 22021)
@@ -41,8 +41,7 @@
 
 override_dh_auto_test:
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
-	set -e; \
-	for python in $(PY2VERS) $(PY3VERS); do \
-		$$python setup.py test; \
-	done
+	# Upstream is calling directly py.test inside a Popen so, for now, tests
+	# are run only for the default version
+	set -e; python setup.py test;
 endif




More information about the Python-modules-commits mailing list