[Python-modules-commits] r29104 - in packages/python-urllib3/trunk/debian (changelog rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Tue May 27 14:42:21 UTC 2014


    Date: Tuesday, May 27, 2014 @ 14:42:20
  Author: eriol-guest
Revision: 29104

Enabled tests at build time also for Python 3 using the custom build plugin for tests

Modified:
  packages/python-urllib3/trunk/debian/changelog
  packages/python-urllib3/trunk/debian/rules

Modified: packages/python-urllib3/trunk/debian/changelog
===================================================================
--- packages/python-urllib3/trunk/debian/changelog	2014-05-27 13:06:28 UTC (rev 29103)
+++ packages/python-urllib3/trunk/debian/changelog	2014-05-27 14:42:20 UTC (rev 29104)
@@ -19,9 +19,10 @@
   * debian/patches/06_relax-test-requirements.patch
     - Relax version of packages needed for testing
   * debian/rules
-    - Enabled tests at build time for Python 3
+    - Enabled tests at build time also for Python 3 using the custom build
+      plugin for tests
 
- -- Daniele Tricoli <eriol at mornie.org>  Sun, 25 May 2014 03:04:16 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Tue, 27 May 2014 16:40:30 +0200
 
 python-urllib3 (1.8-2) unstable; urgency=medium
 

Modified: packages/python-urllib3/trunk/debian/rules
===================================================================
--- packages/python-urllib3/trunk/debian/rules	2014-05-27 13:06:28 UTC (rev 29103)
+++ packages/python-urllib3/trunk/debian/rules	2014-05-27 14:42:20 UTC (rev 29104)
@@ -21,17 +21,8 @@
 		-d $(CURDIR)/debian/tmp/usr/share/python-wheels
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -ex; \
-	for python in $(PYVERS); do \
-		$$python setup.py nosetests; \
-	done
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="{interpreter} -m nose" dh_auto_test
 
-	set -ex; \
-	for python in $(PY3VERS); do \
-		$$python setup.py nosetests; \
-	done
-endif
-
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGES.rst




More information about the Python-modules-commits mailing list