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

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Aug 15 21:31:50 UTC 2011


    Date: Monday, August 15, 2011 @ 21:31:49
  Author: jwilk
Revision: 7455

Run tests at build time. Add python-all to Build-Depends.

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

Modified: packages/sinntp/trunk/debian/changelog
===================================================================
--- packages/sinntp/trunk/debian/changelog	2011-08-15 21:18:06 UTC (rev 7454)
+++ packages/sinntp/trunk/debian/changelog	2011-08-15 21:31:49 UTC (rev 7455)
@@ -3,9 +3,10 @@
   * New upstream release (closes: #635613).
   * Bump standards version to 3.9.2 (no changes needed).
   * Update debian/copyright.
+  * Run tests at build time. Add python-all to Build-Depends.
   * Remove myself from uploaders.
 
- -- Jakub Wilk <jwilk at debian.org>  Mon, 15 Aug 2011 23:17:34 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Mon, 15 Aug 2011 23:31:08 +0200
 
 sinntp (1.3.2-1) unstable; urgency=low
 

Modified: packages/sinntp/trunk/debian/control
===================================================================
--- packages/sinntp/trunk/debian/control	2011-08-15 21:18:06 UTC (rev 7454)
+++ packages/sinntp/trunk/debian/control	2011-08-15 21:31:49 UTC (rev 7455)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Piotr Lewandowski <piotr.lewandowski at gmail.com>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), python-support (>= 0.5.3)
+Build-Depends: debhelper (>= 7), python-all, python-support (>= 0.5.3)
 Standards-Version: 3.9.2
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/sinntp/trunk/
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/sinntp/trunk/

Modified: packages/sinntp/trunk/debian/rules
===================================================================
--- packages/sinntp/trunk/debian/rules	2011-08-15 21:18:06 UTC (rev 7454)
+++ packages/sinntp/trunk/debian/rules	2011-08-15 21:31:49 UTC (rev 7455)
@@ -3,4 +3,12 @@
 %: 
 	dh $@
 
+override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+	set -e; \
+	for python in $(shell pyversions -s); do \
+		$$python tests.py; \
+	done
+endif
+
 # vim:ts=4 sw=4 noet




More information about the Python-apps-commits mailing list