[Python-modules-commits] r23987 - in packages/python-park/trunk/debian (control rules)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Tue Apr 23 01:11:22 UTC 2013
Date: Tuesday, April 23, 2013 @ 01:11:20
Author: eriol-guest
Revision: 23987
Enabled tests at build time
Modified:
packages/python-park/trunk/debian/control
packages/python-park/trunk/debian/rules
Modified: packages/python-park/trunk/debian/control
===================================================================
--- packages/python-park/trunk/debian/control 2013-04-23 00:00:16 UTC (rev 23986)
+++ packages/python-park/trunk/debian/control 2013-04-23 01:11:20 UTC (rev 23987)
@@ -6,7 +6,8 @@
Build-Depends:
debhelper (>= 7),
python-all (>= 2.6.6-3),
- python-setuptools (>= 0.6b3)
+ python-setuptools (>= 0.6b3),
+ python-unittest2
Standards-Version: 3.9.4
X-Python-Version: >= 2.6
Homepage: https://github.com/litl/park
Modified: packages/python-park/trunk/debian/rules
===================================================================
--- packages/python-park/trunk/debian/rules 2013-04-23 00:00:16 UTC (rev 23986)
+++ packages/python-park/trunk/debian/rules 2013-04-23 01:11:20 UTC (rev 23987)
@@ -1,4 +1,19 @@
#!/usr/bin/make -f
+export PYTHONWARNINGS=d
+
+# Prevent setuptools/distribute from accessing the internet.
+export http_proxy = http://127.0.0.1:9/
+
+PYVERS := $(shell pyversions -r)
+
%:
dh $@ --with python2
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ set -ex; \
+ for python in $(PYVERS); do \
+ $$python setup.py test -vv; \
+ done
+endif
More information about the Python-modules-commits
mailing list