r2171 - in zc.buildout/trunk/debian (rules)
arnau at users.alioth.debian.org
arnau at users.alioth.debian.org
Sat Apr 23 13:41:29 UTC 2011
Date: Saturday, April 23, 2011 @ 13:41:28
Author: arnau
Revision: 2171
No need to specify explicitely debian/control to pyversions
Modified:
zc.buildout/trunk/debian/rules
Modified: zc.buildout/trunk/debian/rules
===================================================================
--- zc.buildout/trunk/debian/rules 2011-04-23 13:39:50 UTC (rev 2170)
+++ zc.buildout/trunk/debian/rules 2011-04-23 13:41:28 UTC (rev 2171)
@@ -11,14 +11,14 @@
#
# TODO: Perhaps run the tests at build time?
rm debian/python-zc.buildout/usr/README.txt
- for py in $(shell pyversions -vr debian/control); do \
+ for py in $(shell pyversions -vr); do \
rm debian/python-zc.buildout/usr/lib/python$$py/dist-packages/zc/buildout/*.txt; \
rm debian/python-zc.buildout/usr/lib/python$$py/dist-packages/zc/buildout/tests.py; \
done;
# Python version-dependent console scripts
for script in debian/python-zc.buildout/usr/bin/*; do \
- for py in $(shell pyversions -vr debian/control); do \
+ for py in $(shell pyversions -vr); do \
cat $$script | sed -e "s,/usr/bin/python,/usr/bin/python$$py,g" > $$script$$py; \
chmod 755 $$script$$py; \
done; \
@@ -34,7 +34,7 @@
#
# Disabled for now as they need to be updated upstream.
#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-# for py in $(shell pyversions -vr debian/control); do \
+# for py in $(shell pyversions -vr); do \
# PYTHONPATH=debian/python-zc.buildout/usr/lib/python$$py/dist-packages \
# python$$py setup.py test -m zc.buildout.tests; \
# done;
More information about the pkg-zope-developers
mailing list