[Python-modules-commits] r26847 - in packages/moksha.common/trunk/debian (changelog rules)

olasd at users.alioth.debian.org olasd at users.alioth.debian.org
Sat Dec 21 17:54:00 UTC 2013


    Date: Saturday, December 21, 2013 @ 17:53:59
  Author: olasd
Revision: 26847

New upstream release, run tests during build

Modified:
  packages/moksha.common/trunk/debian/changelog
  packages/moksha.common/trunk/debian/rules

Modified: packages/moksha.common/trunk/debian/changelog
===================================================================
--- packages/moksha.common/trunk/debian/changelog	2013-12-21 17:29:25 UTC (rev 26846)
+++ packages/moksha.common/trunk/debian/changelog	2013-12-21 17:53:59 UTC (rev 26847)
@@ -1,9 +1,14 @@
-moksha.common (1.2.0-2) UNRELEASED; urgency=low
+moksha.common (1.2.1-1) UNRELEASED; urgency=low
 
+  [ Simon Chopin ]
   * d/copyright: Add the license version to the shortnames
 
- -- Simon Chopin <chopin.simon at gmail.com>  Mon, 12 Aug 2013 11:07:05 +0200
+  [ Nicolas Dandrimont ]
+  * New upstream release
+  * Run tests by default
 
+ -- Nicolas Dandrimont <olasd at debian.org>  Sat, 21 Dec 2013 19:35:24 +0100
+
 moksha.common (1.2.0-1) unstable; urgency=low
 
   [ Simon Chopin ]

Modified: packages/moksha.common/trunk/debian/rules
===================================================================
--- packages/moksha.common/trunk/debian/rules	2013-12-21 17:29:25 UTC (rev 26846)
+++ packages/moksha.common/trunk/debian/rules	2013-12-21 17:53:59 UTC (rev 26847)
@@ -1,9 +1,18 @@
 #!/usr/bin/make -f
 UPSTREAM = $(shell dpkg-parsechangelog | egrep '^Version: ' | cut -d ' ' -f 2- | cut -d '-' -f 1)
 
+PY2VERS = $(shell pyversions -vr)
+
 %:
 	dh $@ --with python2
 
 override_dh_install:
 	dh_install -Xusr/bin/moksha
 	rm debian/python-moksha.common/usr/lib/python*/dist-packages/moksha.common-*.egg-info/SOURCES.txt
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+	set -e; for py in $(PY2VERS); do \
+		python$$py setup.py test; \
+	done
+endif




More information about the Python-modules-commits mailing list