[Python-modules-commits] r17002 - in packages/pyke/trunk/debian (changelog control rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Wed May 11 01:32:23 UTC 2011


    Date: Wednesday, May 11, 2011 @ 01:32:20
  Author: eriol-guest
Revision: 17002

Run doctests at build time using python-nose

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

Modified: packages/pyke/trunk/debian/changelog
===================================================================
--- packages/pyke/trunk/debian/changelog	2011-05-11 01:14:30 UTC (rev 17001)
+++ packages/pyke/trunk/debian/changelog	2011-05-11 01:32:20 UTC (rev 17002)
@@ -17,10 +17,14 @@
     - Added override_dh_installchangelogs to install the upstream changelog:
       RELEASE_NOTES-1.txt
     - Added override_dh_installdocs to build documentation from source
+    - Added override_dh_auto_test to run doctests at build time using
+      python-nose
   * debian/copyright
     - Made DEP5 compliant
+  * debian/patches/01-disable-hardcoded-path-in-doctest.patch
+    - Disabled a hardcoded path in a doctest
 
- -- Daniele Tricoli <eriol at mornie.org>  Sun, 08 May 2011 23:42:54 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Wed, 11 May 2011 03:28:50 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Modified: packages/pyke/trunk/debian/control
===================================================================
--- packages/pyke/trunk/debian/control	2011-05-11 01:14:30 UTC (rev 17001)
+++ packages/pyke/trunk/debian/control	2011-05-11 01:32:20 UTC (rev 17002)
@@ -4,7 +4,7 @@
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python-support,
- rest2web, ed
+ rest2web, ed, python-nose, python-wxgtk2.6 | python-wxgtk2.8
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyke/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyke/trunk/

Modified: packages/pyke/trunk/debian/rules
===================================================================
--- packages/pyke/trunk/debian/rules	2011-05-11 01:14:30 UTC (rev 17001)
+++ packages/pyke/trunk/debian/rules	2011-05-11 01:32:20 UTC (rev 17002)
@@ -6,6 +6,9 @@
 	dh_auto_install
 	rm -rf debian/tmp/usr/pyke/
 
+override_dh_auto_test:
+	/usr/bin/nosetests --with-doctest pyke/
+
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE_NOTES-1.txt upstream
 




More information about the Python-modules-commits mailing list