[Python-modules-commits] r16301 - in packages/webhelpers/trunk/debian (changelog control rules)
wrar-guest at users.alioth.debian.org
wrar-guest at users.alioth.debian.org
Thu Mar 31 18:57:50 UTC 2011
Date: Thursday, March 31, 2011 @ 18:57:40
Author: wrar-guest
Revision: 16301
Enable build-time tests
Modified:
packages/webhelpers/trunk/debian/changelog
packages/webhelpers/trunk/debian/control
packages/webhelpers/trunk/debian/rules
Modified: packages/webhelpers/trunk/debian/changelog
===================================================================
--- packages/webhelpers/trunk/debian/changelog 2011-03-31 13:27:57 UTC (rev 16300)
+++ packages/webhelpers/trunk/debian/changelog 2011-03-31 18:57:40 UTC (rev 16301)
@@ -1,3 +1,9 @@
+webhelpers (1.3-2) UNRELEASED; urgency=low
+
+ * Enable build-time tests
+
+ -- Andrey Rahmatullin <wrar at wrar.name> Fri, 01 Apr 2011 00:55:44 +0600
+
webhelpers (1.3-1) unstable; urgency=low
* New upstream release
Modified: packages/webhelpers/trunk/debian/control
===================================================================
--- packages/webhelpers/trunk/debian/control 2011-03-31 13:27:57 UTC (rev 16300)
+++ packages/webhelpers/trunk/debian/control 2011-03-31 18:57:40 UTC (rev 16301)
@@ -4,7 +4,8 @@
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Oleksandr Moskalenko <malex at debian.org>, Piotr Ożarowski <piotr at debian.org>
Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python (>= 2.6.6-3), python-setuptools (>= 0.6b3), python-markupsafe
+Build-Depends-Indep: python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3), python-markupsafe,
+ python-nose, python-routes, python-webob, python-pylons, python-sqlalchemy
Standards-Version: 3.9.1
Vcs-Svn: svn://svn.debian.org/python-modules/packages/webhelpers/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/webhelpers/trunk/
Modified: packages/webhelpers/trunk/debian/rules
===================================================================
--- packages/webhelpers/trunk/debian/rules 2011-03-31 13:27:57 UTC (rev 16300)
+++ packages/webhelpers/trunk/debian/rules 2011-03-31 18:57:40 UTC (rev 16301)
@@ -4,6 +4,7 @@
#export DH_VERBOSE=1
package=python-webhelpers
PYDEFAULT=$(shell pyversions -d)
+PYVERS=$(shell pyversions -r)
include /usr/share/python/python.mk
@@ -24,6 +25,15 @@
python setup.py build
touch $@
+test:
+ -
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ set -e; \
+ for PYTHON in $(PYVERS); \
+ do $$PYTHON setup.py nosetests; \
+ done
+endif
+
install: build
dh_testdir
dh_testroot
@@ -34,7 +44,7 @@
--single-version-externally-managed \
--root $(CURDIR)/debian/$(package) --install-layout=deb
-binary-indep: build install
+binary-indep: build install test
dh_testdir
dh_testroot
dh_installchangelogs
@@ -53,4 +63,4 @@
binary-arch:
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install configure test
More information about the Python-modules-commits
mailing list