[Python-apps-commits] r8105 - in packages/pyspread/trunk/debian (rules)
anoteng-guest at users.alioth.debian.org
anoteng-guest at users.alioth.debian.org
Sun Jan 22 20:15:59 UTC 2012
Date: Sunday, January 22, 2012 @ 20:15:57
Author: anoteng-guest
Revision: 8105
fix the rules
Modified:
packages/pyspread/trunk/debian/rules
Modified: packages/pyspread/trunk/debian/rules
===================================================================
--- packages/pyspread/trunk/debian/rules 2012-01-22 18:56:12 UTC (rev 8104)
+++ packages/pyspread/trunk/debian/rules 2012-01-22 20:15:57 UTC (rev 8105)
@@ -1,14 +1,15 @@
#!/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:
- PYVERS := $(shell pyversions -i)
set -e; \
for py in $(PYVERS); do \
- PYTHONPATH=./ $$py py.test;
+ PYTHONPATH=./pyspread/ $$py /usr/bin/py.test; \
done
%:
dh $@ --with python2
More information about the Python-apps-commits
mailing list