[Python-modules-commits] r17190 - in packages/decoratortools/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri May 27 15:11:14 UTC 2011


    Date: Friday, May 27, 2011 @ 15:11:13
  Author: eriol-guest
Revision: 17190

Run tests at build time using python-nose

Modified:
  packages/decoratortools/trunk/debian/changelog
  packages/decoratortools/trunk/debian/control
  packages/decoratortools/trunk/debian/rules

Modified: packages/decoratortools/trunk/debian/changelog
===================================================================
--- packages/decoratortools/trunk/debian/changelog	2011-05-27 15:05:50 UTC (rev 17189)
+++ packages/decoratortools/trunk/debian/changelog	2011-05-27 15:11:13 UTC (rev 17190)
@@ -5,9 +5,12 @@
     - Added myself to Uploaders (Closes: #590781)
     - Switched Vcs-* fields to DPMT subversion repository
     - Updated Homepage
-    - Bumped Standards-Version to 3.9.2 (no changes needed) 
+    - Bumped Standards-Version to 3.9.2 (no changes needed)
+    - Added python-nose as build-dep
+  * debian/rules
+    - Added override_dh_auto_test to run tests at build time using python-nose
 
- -- Daniele Tricoli <eriol at mornie.org>  Fri, 27 May 2011 16:40:59 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 27 May 2011 17:03:32 +0200
 
 decoratortools (1.8-1) unstable; urgency=low
 

Modified: packages/decoratortools/trunk/debian/control
===================================================================
--- packages/decoratortools/trunk/debian/control	2011-05-27 15:05:50 UTC (rev 17189)
+++ packages/decoratortools/trunk/debian/control	2011-05-27 15:11:13 UTC (rev 17190)
@@ -4,7 +4,7 @@
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~), python-all,
- python-setuptools (>= 0.6.14), python-support
+ python-setuptools (>= 0.6.14), python-support, python-nose
 Standards-Version: 3.9.2
 Homepage: http://pypi.python.org/pypi/DecoratorTools/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/decoratortools/trunk/

Modified: packages/decoratortools/trunk/debian/rules
===================================================================
--- packages/decoratortools/trunk/debian/rules	2011-05-27 15:05:50 UTC (rev 17189)
+++ packages/decoratortools/trunk/debian/rules	2011-05-27 15:11:13 UTC (rev 17190)
@@ -6,3 +6,9 @@
 override_dh_auto_clean:
 	rm -rf *.egg
 	dh_auto_clean
+
+override_dh_auto_test:
+	set -e; \
+	for python in $(shell pyversions -r); do \
+		$$python /usr/bin/nosetests; \
+	done




More information about the Python-modules-commits mailing list