[Python-apps-commits] r7906 - in packages/pyspread/trunk/debian (control rules)

anoteng-guest at users.alioth.debian.org anoteng-guest at users.alioth.debian.org
Sun Dec 4 21:40:52 UTC 2011


    Date: Sunday, December 4, 2011 @ 21:40:51
  Author: anoteng-guest
Revision: 7906

Run tests during build.

Modified:
  packages/pyspread/trunk/debian/control
  packages/pyspread/trunk/debian/rules

Modified: packages/pyspread/trunk/debian/control
===================================================================
--- packages/pyspread/trunk/debian/control	2011-12-04 17:52:29 UTC (rev 7905)
+++ packages/pyspread/trunk/debian/control	2011-12-04 21:40:51 UTC (rev 7906)
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Andreas Noteng <andreas at noteng.no>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50), python (>= 2.6.6-3~)
+Build-Depends: debhelper (>= 7.0.50), python (>= 2.6.6-3~), python-py,
+ python-gmpy, xvfb, xauth, python-numpy, python-wxgtk2.8
 X-Python-Version: >= 2.4
 Standards-Version: 3.9.2
 Homepage: http://pyspread.sourceforge.net/

Modified: packages/pyspread/trunk/debian/rules
===================================================================
--- packages/pyspread/trunk/debian/rules	2011-12-04 17:52:29 UTC (rev 7905)
+++ packages/pyspread/trunk/debian/rules	2011-12-04 21:40:51 UTC (rev 7906)
@@ -1,15 +1,12 @@
 #!/usr/bin/make -f
-PYVERS := $(shell pyversions -i)
 
 override_dh_auto_install:
 	python setup.py install --root=debian/pyspread --install-layout=deb --install-lib=/usr/share/pyspread --install-scripts=/usr/share/pyspread
 
 override_dh_auto_build:
 
-tests:
+override_dh_auto_test:
 	set -e; \
-	for py in $(PYVERS); do \
-		PYTHONPATH=./ py.test; \
-	done
+	PYTHONPATH=./ xvfb-run py.test;
 %:
 	dh $@ --with python2




More information about the Python-apps-commits mailing list