[Python-modules-commits] r18275 - in packages/genshi/trunk/debian (changelog rules)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Tue Aug 23 03:58:22 UTC 2011


    Date: Tuesday, August 23, 2011 @ 03:58:21
  Author: arnau
Revision: 18275

Run tests suite at build time. Closes: #581774.

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

Modified: packages/genshi/trunk/debian/changelog
===================================================================
--- packages/genshi/trunk/debian/changelog	2011-08-23 03:49:22 UTC (rev 18274)
+++ packages/genshi/trunk/debian/changelog	2011-08-23 03:58:21 UTC (rev 18275)
@@ -1,6 +1,8 @@
 genshi (0.6-2) unstable; urgency=low
 
   * Switch to dh_python2. Thanks to Julian Taylor. Closes: #637383.
+  * debian/rules:
+    + Run tests suite at build time. Closes: #581774.
 
  -- Arnaud Fontaine <arnau at debian.org>  Tue, 23 Aug 2011 11:58:39 +0900
 

Modified: packages/genshi/trunk/debian/rules
===================================================================
--- packages/genshi/trunk/debian/rules	2011-08-23 03:49:22 UTC (rev 18274)
+++ packages/genshi/trunk/debian/rules	2011-08-23 03:58:21 UTC (rev 18275)
@@ -14,6 +14,14 @@
 # Enable the C extension
 DEB_PYTHON_SETUP_CMD += --with-speedups
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+binary-install/python-genshi::
+	for py in $(shell pyversions -vr); do \
+		PYTHONPATH=$(cdbs_python_destdir)/usr/lib/python$$py/site-packages \
+			python$$py setup.py test; \
+	done;
+endif
+
 clean::
 	-rm -rf $(CURDIR)/Genshi.egg-info
 




More information about the Python-modules-commits mailing list