[Python-modules-commits] r1036 - in /packages/pyprotocols/trunk/debian: changelog rules

kov at users.alioth.debian.org kov at users.alioth.debian.org
Fri Jun 23 21:12:48 UTC 2006


Author: kov
Date: Fri Jun 23 21:12:47 2006
New Revision: 1036

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1036
Log:
  - rename egg-info directory to remove specific python version

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

Modified: packages/pyprotocols/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pyprotocols/trunk/debian/changelog?rev=1036&op=diff
==============================================================================
--- packages/pyprotocols/trunk/debian/changelog (original)
+++ packages/pyprotocols/trunk/debian/changelog Fri Jun 23 21:12:47 2006
@@ -4,8 +4,10 @@
   * debian/rules, debian/python-support.version:
   - no longer need to take care of that manually; dh_support
     will help here
+  * debian/rules:
+  - rename egg-info directory to remove specific python version
 
- -- Gustavo Noronha Silva <kov at debian.org>  Sat, 20 May 2006 14:12:11 -0300
+ -- Gustavo Noronha Silva <kov at debian.org>  Fri, 23 Jun 2006 17:59:40 -0300
 
 pyprotocols (1.0a0dev-1) unstable; urgency=low
 

Modified: packages/pyprotocols/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyprotocols/trunk/debian/rules?rev=1036&op=diff
==============================================================================
--- packages/pyprotocols/trunk/debian/rules (original)
+++ packages/pyprotocols/trunk/debian/rules Fri Jun 23 21:12:47 2006
@@ -25,4 +25,10 @@
 include /usr/share/cdbs/1/class/python-distutils.mk
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
+UPSTREAM_VERSION=$(shell head -n 1 debian/changelog | cut -d '(' -f 2 | cut -d ')' -f 1 | cut -d '-' -f 1 | sed s,dev,,g)
+PYVER=$(shell pyversions -vr 'current')
 
+binary-post-install/python-protocols::
+	mv debian/python-protocols/usr/share/python-support/python-protocols/PyProtocols-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
+		debian/python-protocols/usr/share/python-support/python-protocols/PyProtocols-${UPSTREAM_VERSION}.egg-info
+




More information about the Python-modules-commits mailing list