[Python-apps-commits] r5408 - in packages/djvusmooth/trunk/debian (changelog control rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Tue Jun 15 20:21:12 UTC 2010


    Date: Tuesday, June 15, 2010 @ 20:21:05
  Author: jwilk
Revision: 5408

Run nosetests only on those files that are known to contain doctests; that way we can avoid unnecessary imports.
Build-depend on python-all.

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

Modified: packages/djvusmooth/trunk/debian/changelog
===================================================================
--- packages/djvusmooth/trunk/debian/changelog	2010-06-15 20:05:12 UTC (rev 5407)
+++ packages/djvusmooth/trunk/debian/changelog	2010-06-15 20:21:05 UTC (rev 5408)
@@ -3,9 +3,9 @@
   * New upstream release:
     + Fix crash after save (closes: #585896).
   * Run doctests at build time.
-    + Build-depend on python-nose.
+    + Build-depend on python-all, python-nose.
 
- -- Jakub Wilk <jwilk at debian.org>  Tue, 15 Jun 2010 22:03:05 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Tue, 15 Jun 2010 22:19:42 +0200
 
 djvusmooth (0.2.4-1) unstable; urgency=low
 

Modified: packages/djvusmooth/trunk/debian/control
===================================================================
--- packages/djvusmooth/trunk/debian/control	2010-06-15 20:05:12 UTC (rev 5407)
+++ packages/djvusmooth/trunk/debian/control	2010-06-15 20:21:05 UTC (rev 5408)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Jakub Wilk <jwilk at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.90), gettext, python-nose
+Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.90), python-all, gettext, python-nose
 XS-Python-Version: all
 Standards-Version: 3.8.4
 Homepage: http://jwilk.net/software/djvusmooth

Modified: packages/djvusmooth/trunk/debian/rules
===================================================================
--- packages/djvusmooth/trunk/debian/rules	2010-06-15 20:05:12 UTC (rev 5407)
+++ packages/djvusmooth/trunk/debian/rules	2010-06-15 20:21:05 UTC (rev 5408)
@@ -19,7 +19,7 @@
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	set -e -x; \
 	for python in $(shell pyversions -r); do \
-		$$python /usr/bin/nosetests --verbose --with-doctest; \
+		grep --include='*.py' '>>>' -r . -l | xargs $$python /usr/bin/nosetests --with-doctest -v; \
 	done
 endif
 




More information about the Python-apps-commits mailing list