[Python-modules-commits] r877 - in /packages/pastescript/trunk/debian: control rules

pox-guest at users.alioth.debian.org pox-guest at users.alioth.debian.org
Fri Jun 16 09:07:32 UTC 2006


Author: pox-guest
Date: Fri Jun 16 09:07:32 2006
New Revision: 877

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=877
Log:
make sure that python2.4 is installed (hashbang issue)

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

Modified: packages/pastescript/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/debian/control?rev=877&op=diff
==============================================================================
--- packages/pastescript/trunk/debian/control (original)
+++ packages/pastescript/trunk/debian/control Fri Jun 16 09:07:32 2006
@@ -6,7 +6,7 @@
 Build-Depends: debhelper (>= 5.0.37.1)
 Build-Depends-Indep: python (>= 2.3.5-7), python-all-dev, python-central (>= 0.4.10), python-setuptools (>= 0.6b3-1)
 Standards-Version: 3.7.2
-XS-Python-Version: >= 2.4
+XS-Python-Version: 2.4, >= 2.4
 
 Package: python-pastescript
 Architecture: all

Modified: packages/pastescript/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pastescript/trunk/debian/rules?rev=877&op=diff
==============================================================================
--- packages/pastescript/trunk/debian/rules (original)
+++ packages/pastescript/trunk/debian/rules Fri Jun 16 09:07:32 2006
@@ -32,9 +32,9 @@
 	# in paste-common package:
 	rm -f debian/python-pastescript/usr/lib/python$*/site-packages/pastescript/paste/__init__.py
 	# paster will not work with python2.3
-ifeq ("2.3", $(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2))
+ifeq ("2.3", $(shell pyversions -vr 'current'))
 	sed -i 's,/usr/bin/python\>,/usr/bin/python2.4,g' \
-	debian/python-pastescript/usr/bin/paster 
+		debian/python-pastescript/usr/bin/paster 
 endif
 
 binary-indep: build install




More information about the Python-modules-commits mailing list