[Python-modules-commits] r20635 - in packages/python-stdnum/trunk/debian (3 files)
adejong at users.alioth.debian.org
adejong at users.alioth.debian.org
Thu Mar 1 22:35:40 UTC 2012
Date: Thursday, March 1, 2012 @ 22:35:38
Author: adejong
Revision: 20635
* Run nosetests during build
Modified:
packages/python-stdnum/trunk/debian/changelog
packages/python-stdnum/trunk/debian/control
packages/python-stdnum/trunk/debian/rules
Modified: packages/python-stdnum/trunk/debian/changelog
===================================================================
--- packages/python-stdnum/trunk/debian/changelog 2012-03-01 20:49:35 UTC (rev 20634)
+++ packages/python-stdnum/trunk/debian/changelog 2012-03-01 22:35:38 UTC (rev 20635)
@@ -50,8 +50,9 @@
* Switch to Version 1.0 debian/copyright format.
* Add a patch from upstream to re-add support for Python3.
* Upgrade to standards-version 3.9.3 (no changes needed)
+ * Run nosetests during build
- -- Arthur de Jong <adejong at debian.org> Thu, 01 Mar 2012 21:40:00 +0100
+ -- Arthur de Jong <adejong at debian.org> Thu, 01 Mar 2012 23:30:00 +0100
python-stdnum (0.6-1) unstable; urgency=low
Modified: packages/python-stdnum/trunk/debian/control
===================================================================
--- packages/python-stdnum/trunk/debian/control 2012-03-01 20:49:35 UTC (rev 20634)
+++ packages/python-stdnum/trunk/debian/control 2012-03-01 22:35:38 UTC (rev 20635)
@@ -4,7 +4,8 @@
Maintainer: Arthur de Jong <adejong at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Standards-Version: 3.9.3
-Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python3-setuptools
+Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python3-setuptools,
+ python-nose, python3-nose
Build-Depends-Indep: python (>= 2.6.6-3~), python3 (>= 3.1.2-10~)
X-Python-Version: >= 2.5
X-Python3-Version: >= 3.0
Modified: packages/python-stdnum/trunk/debian/rules
===================================================================
--- packages/python-stdnum/trunk/debian/rules 2012-03-01 20:49:35 UTC (rev 20634)
+++ packages/python-stdnum/trunk/debian/rules 2012-03-01 22:35:38 UTC (rev 20635)
@@ -16,3 +16,13 @@
python3 $(CURDIR)/setup.py install --no-compile -O0 --install-layout=deb \
--root $(CURDIR)/debian/python3-stdnum
dh_install
+
+override_dh_auto_test:
+ dh_auto_test
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ set -ex; \
+ for py in $(shell pyversions -r) $(shell py3versions -r); \
+ do \
+ $$py $(CURDIR)/setup.py nosetests; \
+ done
+endif
More information about the Python-modules-commits
mailing list