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

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri Nov 9 03:16:35 UTC 2012


    Date: Friday, November 9, 2012 @ 03:16:33
  Author: eriol-guest
Revision: 22927

Run tests only for python2.7 since upstream is using assertRaises() as a context manager

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	2012-11-09 02:21:08 UTC (rev 22926)
+++ packages/python-urllib3/trunk/debian/changelog	2012-11-09 03:16:33 UTC (rev 22927)
@@ -1,8 +1,13 @@
 python-urllib3 (1.5-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * debian/patches/01_do-not-use-embedded-python-six.patch
+    - Refreshed
+  * debian/rules
+    - Run tests only for python2.7 since upstream is using
+      assertRaises() as a context manager
 
- -- Daniele Tricoli <eriol at mornie.org>  Fri, 09 Nov 2012 01:22:43 +0100
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 09 Nov 2012 04:15:52 +0100
 
 python-urllib3 (1.3-3) unstable; urgency=low
 

Modified: packages/python-urllib3/trunk/debian/rules
===================================================================
--- packages/python-urllib3/trunk/debian/rules	2012-11-09 02:21:08 UTC (rev 22926)
+++ packages/python-urllib3/trunk/debian/rules	2012-11-09 03:16:33 UTC (rev 22927)
@@ -43,10 +43,9 @@
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# Python3 testing is not possible at the moment because missing
 	# dependencies: python3-coverage.
-	set -ex; \
-	for python in $(PYVERS); do \
-		$$python /usr/bin/nosetests; \
-	done
+	# Upstream is using a python2.7 features: assertRaises() as a context
+	# manager
+	set -ex; python2.7 /usr/bin/nosetests
 endif
 
 override_dh_installchangelogs:




More information about the Python-modules-commits mailing list