[Python-modules-commits] r493 - in /packages/paste/trunk/debian: changelog rules

pox-guest at users.alioth.debian.org pox-guest at users.alioth.debian.org
Sun May 7 15:38:23 UTC 2006


Author: pox-guest
Date: Sun May  7 15:38:23 2006
New Revision: 493

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=493
Log:
version detected dynamically (no need to update debian/rules after new upstream release)

Modified:
    packages/paste/trunk/debian/changelog
    packages/paste/trunk/debian/rules

Modified: packages/paste/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/paste/trunk/debian/changelog?rev=493&op=diff
==============================================================================
--- packages/paste/trunk/debian/changelog (original)
+++ packages/paste/trunk/debian/changelog Sun May  7 15:38:23 2006
@@ -1,3 +1,9 @@
+paste (0.9.1-2) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+
+ -- Piotr Ozarowski <ozarow at gmail.com>  Sun,  7 May 2006 17:36:48 +0200
+
 paste (0.9.1-1) unstable; urgency=low
 
   * Initial release (closes: #366033)

Modified: packages/paste/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/paste/trunk/debian/rules?rev=493&op=diff
==============================================================================
--- packages/paste/trunk/debian/rules (original)
+++ packages/paste/trunk/debian/rules Sun May  7 15:38:23 2006
@@ -10,6 +10,8 @@
 DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/paste
 DEB_COMPRESS_EXCLUDE := .py
 
+VERSION=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | sed -n 's/-.*//p')
+
 install/python-paste::
 	echo "2.4-" >debian/python-paste/usr/share/python-support/paste/.version
-	mv debian/python-paste/usr/share/python-support/paste/Paste-0.9.1-{py2.3.egg-info,egg-info}
+	mv debian/python-paste/usr/share/python-support/paste/Paste-{${VERSION}-{py2.3.egg-info,egg-info}




More information about the Python-modules-commits mailing list