[Python-modules-commits] r1077 -
/packages/pyprotocols/trunk/debian/rules
kov at users.alioth.debian.org
kov at users.alioth.debian.org
Tue Jun 27 01:27:45 UTC 2006
Author: kov
Date: Tue Jun 27 01:27:44 2006
New Revision: 1077
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1077
Log:
apparently the newest tools install the egg-info
directory in a different path
Modified:
packages/pyprotocols/trunk/debian/rules
Modified: packages/pyprotocols/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyprotocols/trunk/debian/rules?rev=1077&op=diff
==============================================================================
--- packages/pyprotocols/trunk/debian/rules (original)
+++ packages/pyprotocols/trunk/debian/rules Tue Jun 27 01:27:44 2006
@@ -28,6 +28,8 @@
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*.egg-info \
+ EGGDIR=$$(find debian/python-protocols/usr/lib/ -name PyProtocols\*.egg-info | head -n 1); \
+ mv $${EGGDIR} \
debian/python-protocols/usr/share/python-support/python-protocols/PyProtocols-${UPSTREAM_VERSION}.egg-info
+ find debian/python-protocols/usr/lib/ -name PyProtocols\*.egg-info | xargs rm -rf
More information about the Python-modules-commits
mailing list