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

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Tue May 17 04:32:18 UTC 2011


    Date: Tuesday, May 17, 2011 @ 04:32:07
  Author: eriol-guest
Revision: 17030

Enabled unit tests for all supported python versions

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

Modified: packages/pyth/trunk/debian/changelog
===================================================================
--- packages/pyth/trunk/debian/changelog	2011-05-17 03:38:11 UTC (rev 17029)
+++ packages/pyth/trunk/debian/changelog	2011-05-17 04:32:07 UTC (rev 17030)
@@ -3,15 +3,18 @@
   * debian/control
     - Fixed Vcs-Browser URL
     - Bumped Standards-Version to 3.9.2 (no changes needed)
+    - Added packages needed for unit tests in Build-Depends field
+    - Moved packages listed in Recommends field to Depends field
   * debian/copyright
     - Made DEP5 compliant
   * debian/{control, rules}
-    - Switched to dh_python2 
+    - Switched to dh_python2
+    - Run unit tests at build time using python-nose
   * debian/patches/01_fix-refactored-PDFWriter-write.patch
     - Fix refactored signature of PDFWriter.write in upstream git revision
       d87f7877cca5ea90c2d79979521a3db77c47eb30
 
- -- Daniele Tricoli <eriol at mornie.org>  Tue, 17 May 2011 05:33:44 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Tue, 17 May 2011 06:20:48 +0200
 
 pyth (0.5.6-1) unstable; urgency=low
 

Modified: packages/pyth/trunk/debian/control
===================================================================
--- packages/pyth/trunk/debian/control	2011-05-17 03:38:11 UTC (rev 17029)
+++ packages/pyth/trunk/debian/control	2011-05-17 04:32:07 UTC (rev 17030)
@@ -3,7 +3,9 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Daniele Tricoli <eriol at mornie.org>
-Build-Depends: debhelper (>= 7), python-all (>=2.6.6-3), python-setuptools
+Build-Depends: debhelper (>= 7.0.50~), python-all (>=2.6.6-3),
+ python-setuptools, python-beautifulsoup, python-reportlab, python-docutils,
+ python-nose, poppler-utils
 Standards-Version: 3.9.2
 Homepage: http://github.com/brendonh/pyth
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pyth/trunk/
@@ -11,8 +13,8 @@
 
 Package: python-pyth
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-mako, python-trml2pdf
-Recommends: python-beautifulsoup, python-reportlab
+Depends: ${python:Depends}, ${misc:Depends}, python-beautifulsoup,
+ python-docutils, python-reportlab
 Description: Python text markup and conversion
  Pyth is a library used to manipulate different formats of marked-up text.
  .

Modified: packages/pyth/trunk/debian/rules
===================================================================
--- packages/pyth/trunk/debian/rules	2011-05-17 03:38:11 UTC (rev 17029)
+++ packages/pyth/trunk/debian/rules	2011-05-17 04:32:07 UTC (rev 17030)
@@ -2,3 +2,9 @@
 
 %:
 	dh $@ --with python2
+
+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