[Python-modules-commits] r1823 -
/packages/turbogears/trunk/debian/rules
kov at users.alioth.debian.org
kov at users.alioth.debian.org
Thu Feb 15 03:06:59 CET 2007
Author: kov
Date: Thu Feb 15 03:06:58 2007
New Revision: 1823
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1823
Log:
need to rename the egg-info directory to remove the python version, still
Modified:
packages/turbogears/trunk/debian/rules
Modified: packages/turbogears/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/turbogears/trunk/debian/rules?rev=1823&op=diff
==============================================================================
--- packages/turbogears/trunk/debian/rules (original)
+++ packages/turbogears/trunk/debian/rules Thu Feb 15 03:06:58 2007
@@ -8,7 +8,12 @@
include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
+PYVER=$(shell pyversions -vr)
binary-post-install/python-turbogears::
find debian/python-turbogears/usr/share/python-support/ -type f \
-exec chmod a-x {} \;
+
+common-binary-post-install-indep::
+ mv debian/python-turbogears/usr/share/python-support/python-turbogears/TurboGears-${DEB_UPSTREAM_VERSION}-py${PYVER}.egg-info \
+ debian/python-turbogears/usr/share/python-support/python-turbogears/TurboGears-${DEB_UPSTREAM_VERSION}.egg-info
More information about the Python-modules-commits
mailing list