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

kov at users.alioth.debian.org kov at users.alioth.debian.org
Tue Jun 27 01:07:19 UTC 2006


Author: kov
Date: Tue Jun 27 01:07:18 2006
New Revision: 1074

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1074
Log:
  * debian/control:
  - remoed XS-Python-Version, deprecated by debian/pyversions
  - increase required cdbs version
  * debian/rules:
  - make the egg-info directory renaming more robust, so it won't fail
    when the default python version changes (Closes: #375527)

Modified:
    packages/pyprotocols/trunk/debian/changelog
    packages/pyprotocols/trunk/debian/control
    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=1074&op=diff
==============================================================================
--- packages/pyprotocols/trunk/debian/changelog (original)
+++ packages/pyprotocols/trunk/debian/changelog Tue Jun 27 01:07:18 2006
@@ -1,3 +1,14 @@
+pyprotocols (1.0a0dev-3) UNRELEASED; urgency=low
+
+  * debian/control:
+  - remoed XS-Python-Version, deprecated by debian/pyversions
+  - increase required cdbs version
+  * debian/rules:
+  - make the egg-info directory renaming more robust, so it won't fail
+    when the default python version changes (Closes: #375527)
+
+ -- Gustavo Noronha Silva <kov at debian.org>  Sat, 24 Jun 2006 17:07:08 -0300
+
 pyprotocols (1.0a0dev-2) unstable; urgency=low
 
   * New Python Policy

Modified: packages/pyprotocols/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pyprotocols/trunk/debian/control?rev=1074&op=diff
==============================================================================
--- packages/pyprotocols/trunk/debian/control (original)
+++ packages/pyprotocols/trunk/debian/control Tue Jun 27 01:07:18 2006
@@ -3,9 +3,8 @@
 Priority: optional
 Maintainer: Gustavo Noronha Silva <kov at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: cdbs (>= 0.4.42), debhelper (>= 5.0.37.2), python, python-setuptools (>= 0.6a9-1), python-all-dev, python-support (>= 0.3)
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), python, python-setuptools (>= 0.6a9-1), python-all-dev, python-support (>= 0.3)
 Standards-Version: 3.7.2
-XS-Python-Version: all, >= 2.3
 
 Package: python-protocols
 Architecture: any

Modified: packages/pyprotocols/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyprotocols/trunk/debian/rules?rev=1074&op=diff
==============================================================================
--- packages/pyprotocols/trunk/debian/rules (original)
+++ packages/pyprotocols/trunk/debian/rules Tue Jun 27 01:07:18 2006
@@ -25,10 +25,9 @@
 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')
+UPSTREAM_VERSION=$(shell echo ${DEB_UPSTREAM_VERSION} | sed s,dev,,g)
 
 binary-post-install/python-protocols::
-	mv debian/python-protocols/usr/share/python-support/python-protocols/PyProtocols-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
+	mv debian/python-protocols/usr/share/python-support/python-protocols/PyProtocols-${UPSTREAM_VERSION}-py*.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