[Python-modules-commits] r16110 - in packages/python-weberror/trunk/debian (3 files)
wrar-guest at users.alioth.debian.org
wrar-guest at users.alioth.debian.org
Sat Mar 12 15:55:12 UTC 2011
Date: Saturday, March 12, 2011 @ 15:55:09
Author: wrar-guest
Revision: 16110
Enable build-time tests
Modified:
packages/python-weberror/trunk/debian/changelog
packages/python-weberror/trunk/debian/control
packages/python-weberror/trunk/debian/rules
Modified: packages/python-weberror/trunk/debian/changelog
===================================================================
--- packages/python-weberror/trunk/debian/changelog 2011-03-12 15:31:35 UTC (rev 16109)
+++ packages/python-weberror/trunk/debian/changelog 2011-03-12 15:55:09 UTC (rev 16110)
@@ -1,3 +1,9 @@
+python-weberror (0.10.2-2) UNRELEASED; urgency=low
+
+ * Enable build-time tests
+
+ -- Andrey Rahmatullin <wrar at wrar.name> Sat, 12 Mar 2011 20:54:32 +0500
+
python-weberror (0.10.2-1) unstable; urgency=low
* New upstream release
Modified: packages/python-weberror/trunk/debian/control
===================================================================
--- packages/python-weberror/trunk/debian/control 2011-03-12 15:31:35 UTC (rev 16109)
+++ packages/python-weberror/trunk/debian/control 2011-03-12 15:55:09 UTC (rev 16110)
@@ -4,7 +4,9 @@
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Christoph Haas <haas at debian.org>, Piotr Ożarowski <piotr at debian.org>
Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python (>= 2.3.3), python-all, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~)
+Build-Depends-Indep: python (>= 2.3.3), python-all, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~),
+ python-paste (>= 1.7.1), python-webob, python-tempita,
+ python-pygments, python-simplejson, python-nose, python-webtest
Standards-Version: 3.8.4
XS-Python-Version: >=2.4
Homepage: http://pypi.python.org/pypi/WebError
Modified: packages/python-weberror/trunk/debian/rules
===================================================================
--- packages/python-weberror/trunk/debian/rules 2011-03-12 15:31:35 UTC (rev 16109)
+++ packages/python-weberror/trunk/debian/rules 2011-03-12 15:55:09 UTC (rev 16110)
@@ -3,6 +3,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
package=python-weberror
+PYVERS=$(shell pyversions -r)
clean:
rm -f build-*
@@ -24,7 +25,15 @@
--single-version-externally-managed \
--root $(CURDIR)/debian/$(package)
-binary-indep: build install
+test:
+ -
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ for python in $(PYVERS); do \
+ $$python setup.py nosetests; \
+ done
+endif
+
+binary-indep: build install test
dh_testdir
dh_testroot
dh_installchangelogs CHANGELOG
@@ -43,5 +52,5 @@
binary-arch:
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install test
More information about the Python-modules-commits
mailing list