[Python-modules-commits] r1020 - in
/packages/turbokid/trunk/debian: changelog rules
kov at users.alioth.debian.org
kov at users.alioth.debian.org
Fri Jun 23 19:56:30 UTC 2006
Author: kov
Date: Fri Jun 23 19:56:29 2006
New Revision: 1020
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1020
Log:
* debian/rules:
- rename egg-info directory to remove the python version
Modified:
packages/turbokid/trunk/debian/changelog
packages/turbokid/trunk/debian/rules
Modified: packages/turbokid/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/turbokid/trunk/debian/changelog?rev=1020&op=diff
==============================================================================
--- packages/turbokid/trunk/debian/changelog (original)
+++ packages/turbokid/trunk/debian/changelog Fri Jun 23 19:56:29 2006
@@ -4,8 +4,10 @@
- use python-support 0.3
* debian/python-support.version:
- removed
+ * debian/rules:
+ - rename egg-info directory to remove the python version
- -- Gustavo Noronha Silva <kov at debian.org> Mon, 19 Jun 2006 23:58:02 -0300
+ -- Gustavo Noronha Silva <kov at debian.org> Fri, 23 Jun 2006 16:55:57 -0300
turbokid (0.9.6-2) experimental; urgency=low
Modified: packages/turbokid/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/turbokid/trunk/debian/rules?rev=1020&op=diff
==============================================================================
--- packages/turbokid/trunk/debian/rules (original)
+++ packages/turbokid/trunk/debian/rules Fri Jun 23 19:56:29 2006
@@ -9,3 +9,11 @@
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed \
--install-lib usr/share/python-support/python-turbokid --install-data usr/share/doc/python-turbokid
+
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)
+
+binary-post-install/python-turbokid::
+ mv debian/python-turbokid/usr/share/python-support/python-turbokid/TurboKid-${UPSTREAM_VERSION}dev-py${PYVER}.egg-info \
+ debian/python-turbokid/usr/share/python-support/python-turbokid/TurboKid-${UPSTREAM_VERSION}dev.egg-info
+ -rm -rf debian/python-turbokid/usr/lib/
More information about the Python-modules-commits
mailing list