[Python-modules-commits] r1285 - in /packages/cheetah/trunk/debian: changelog control rules

arnau-guest at users.alioth.debian.org arnau-guest at users.alioth.debian.org
Mon Aug 21 13:39:03 UTC 2006


Author: arnau-guest
Date: Mon Aug 21 13:38:58 2006
New Revision: 1285

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1285
Log:
Fix version number

Modified:
    packages/cheetah/trunk/debian/changelog
    packages/cheetah/trunk/debian/control
    packages/cheetah/trunk/debian/rules

Modified: packages/cheetah/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/cheetah/trunk/debian/changelog?rev=1285&op=diff
==============================================================================
--- packages/cheetah/trunk/debian/changelog (original)
+++ packages/cheetah/trunk/debian/changelog Mon Aug 21 13:38:58 2006
@@ -1,4 +1,4 @@
-cheetah (2.0rc7-1) unstable; urgency=low
+cheetah (2.0~rc7-1) unstable; urgency=low
 
   * New upstream release.
   * Remove the interpreter line from all modules.

Modified: packages/cheetah/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/cheetah/trunk/debian/control?rev=1285&op=diff
==============================================================================
--- packages/cheetah/trunk/debian/control (original)
+++ packages/cheetah/trunk/debian/control Mon Aug 21 13:38:58 2006
@@ -11,7 +11,6 @@
 Replaces: python2.3-cheetah (<< 1.0-1.1), python2.4-cheetah (<< 1.0-1.1), cheetah-common (<< 1.0-1.1)
 Conflicts: python2.3-cheetah (<< 1.0-1.1), python2.4-cheetah (<< 1.0-1.1), cheetah-common (<< 1.0-1.1)
 Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
 Description: text-based template engine and Python code generator
  Cheetah can be used as a standalone templating utility or referenced as a
  library from other Python applications. It has many potential uses, but web

Modified: packages/cheetah/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/cheetah/trunk/debian/rules?rev=1285&op=diff
==============================================================================
--- packages/cheetah/trunk/debian/rules (original)
+++ packages/cheetah/trunk/debian/rules Mon Aug 21 13:38:58 2006
@@ -15,6 +15,7 @@
 
 # Install egg-info directories
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
+DEB_UPSTREAM_VERSION := $$(echo $(DEB_UPSTREAM_VERSION) | sed 's/~//')
 
 install/$(DEB_PYTHON_MODULE_PACKAGE)::
 	# Rename egg-info directory to share it between several python versions
@@ -24,5 +25,8 @@
 	    	debian/python-cheetah/usr/lib/python$$v/site-packages/Cheetah-$(DEB_UPSTREAM_VERSION).egg-info; \
 	done
 
+	sed -i 's#\#!/usr/bin/python[0-9].[0-9]#\#!/usr/bin/python#' \
+		debian/python-cheetah/usr/bin/*
+
 clean::
 	-rm -rf Cheetah.egg-info




More information about the Python-modules-commits mailing list