[Python-modules-commits] r16112 - in packages/pastedeploy/trunk/debian (changelog control rules)
wrar-guest at users.alioth.debian.org
wrar-guest at users.alioth.debian.org
Sat Mar 12 16:21:24 UTC 2011
Date: Saturday, March 12, 2011 @ 16:21:15
Author: wrar-guest
Revision: 16112
Enable build-time tests
Modified:
packages/pastedeploy/trunk/debian/changelog
packages/pastedeploy/trunk/debian/control
packages/pastedeploy/trunk/debian/rules
Modified: packages/pastedeploy/trunk/debian/changelog
===================================================================
--- packages/pastedeploy/trunk/debian/changelog 2011-03-12 16:02:19 UTC (rev 16111)
+++ packages/pastedeploy/trunk/debian/changelog 2011-03-12 16:21:15 UTC (rev 16112)
@@ -1,3 +1,9 @@
+pastedeploy (1.3.3-4) UNRELEASED; urgency=low
+
+ * Enable build-time tests
+
+ -- Andrey Rahmatullin <wrar at wrar.name> Sat, 12 Mar 2011 21:14:13 +0500
+
pastedeploy (1.3.3-3) unstable; urgency=low
* Make sure all Python versions use site-packages as temporary
Modified: packages/pastedeploy/trunk/debian/control
===================================================================
--- packages/pastedeploy/trunk/debian/control 2011-03-12 16:02:19 UTC (rev 16111)
+++ packages/pastedeploy/trunk/debian/control 2011-03-12 16:21:15 UTC (rev 16112)
@@ -4,7 +4,9 @@
Maintainer: Piotr Ożarowski <piotr at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Build-Depends: debhelper (>= 5), dpatch
-Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~), python-docutils
+Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev,
+ python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~), python-docutils,
+ python-nose, python-paste, python-py
Standards-Version: 3.8.3
Homepage: http://pythonpaste.org/deploy/
XS-Python-Version: all
Modified: packages/pastedeploy/trunk/debian/rules
===================================================================
--- packages/pastedeploy/trunk/debian/rules 2011-03-12 16:02:19 UTC (rev 16111)
+++ packages/pastedeploy/trunk/debian/rules 2011-03-12 16:21:15 UTC (rev 16112)
@@ -44,7 +44,14 @@
$(PKGDIR)/usr/share/;\
fi
-binary-indep: build install
+test: $(PYVERS:%=test-python%)
+test-python%:
+ -
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ python$* setup.py nosetests
+endif
+
+binary-indep: build install test
dh_testdir -i
dh_testroot -i
dh_installchangelogs -i docs/news.txt
@@ -62,4 +69,4 @@
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install build
+.PHONY: build clean binary-indep binary-arch binary install build test
More information about the Python-modules-commits
mailing list