[Python-modules-commits] r788 - /packages/pyenchant/trunk/debian/rules

pox-guest at users.alioth.debian.org pox-guest at users.alioth.debian.org
Tue Jun 13 14:05:00 UTC 2006


Author: pox-guest
Date: Tue Jun 13 14:04:58 2006
New Revision: 788

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=788
Log:
build for all python versions supported by python-setuptools

Modified:
    packages/pyenchant/trunk/debian/rules

Modified: packages/pyenchant/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyenchant/trunk/debian/rules?rev=788&op=diff
==============================================================================
--- packages/pyenchant/trunk/debian/rules (original)
+++ packages/pyenchant/trunk/debian/rules Tue Jun 13 14:04:58 2006
@@ -7,7 +7,11 @@
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \
 	| grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
-PYVERS=$(shell pyversions -v -r debian/control)
+
+PACKAGE_PYVERS=$(shell pyversions -vr debian/control)
+SETUPTOOLS_PYVERS=$(shell pyversions -vr `dpkg -p python-setuptools \
+	| grep ^Python-Version | cut -b 17-`)
+PYVERS=$(filter ${PACKAGE_PYVERS},${SETUPTOOLS_PYVERS})
 
 
 clean:




More information about the Python-modules-commits mailing list