[Python-modules-commits] r21581 - in packages/cssutils/trunk/debian (changelog rules)

cjsmo-guest at users.alioth.debian.org cjsmo-guest at users.alioth.debian.org
Sat May 5 12:59:13 UTC 2012


    Date: Saturday, May 5, 2012 @ 12:59:12
  Author: cjsmo-guest
Revision: 21581

added rules so package honors DEB_BUILD_OPTIONS=nocheck closes: #671528

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

Modified: packages/cssutils/trunk/debian/changelog
===================================================================
--- packages/cssutils/trunk/debian/changelog	2012-05-05 12:19:26 UTC (rev 21580)
+++ packages/cssutils/trunk/debian/changelog	2012-05-05 12:59:12 UTC (rev 21581)
@@ -4,7 +4,8 @@
   * Updated Standards Version to 3.9.3, no changes needed.
   * Updated version mangling in debian/watch.
   * Disable test_errorhandler test in debian rules, as it needs network access.
-    Closes: #671033
+    Closes: #671033.
+  * Added rules so package honors DEB_BUILD_OPTIONS=nocheck. Closes: #671528
 
  -- Charlie Smotherman <cjsmo at cableone.net>  Wed, 2 May 2012 15:21:44 +0500
 

Modified: packages/cssutils/trunk/debian/rules
===================================================================
--- packages/cssutils/trunk/debian/rules	2012-05-05 12:19:26 UTC (rev 21580)
+++ packages/cssutils/trunk/debian/rules	2012-05-05 12:59:12 UTC (rev 21581)
@@ -18,6 +18,7 @@
 	done
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	set -ex; \
 	for py in $(PYvrVERS); do \
 		nosetests-$$py -v \
@@ -41,6 +42,7 @@
 	               --exclude='test_errorhandler.py' \
 		           --py3where $(CURDIR)/build/lib/tests; \
 	done
+endif
 
 override_dh_auto_install:
 	set -ex; \




More information about the Python-modules-commits mailing list