[Python-modules-commits] r6061 - in packages/sqlobject/trunk/debian (rules)
kobold at users.alioth.debian.org
kobold at users.alioth.debian.org
Sun Jul 27 17:55:54 UTC 2008
Date: Sunday, July 27, 2008 @ 17:55:52
Author: kobold
Revision: 6061
ready to upload
Modified:
packages/sqlobject/trunk/debian/rules
Modified: packages/sqlobject/trunk/debian/rules
===================================================================
--- packages/sqlobject/trunk/debian/rules 2008-07-27 17:45:22 UTC (rev 6060)
+++ packages/sqlobject/trunk/debian/rules 2008-07-27 17:55:52 UTC (rev 6061)
@@ -31,12 +31,12 @@
$$python setup.py install --root=$(CURDIR)/debian/python-sqlobject --no-compile \
--install-scripts=/usr/lib/$$python/site-packages/sqlobject/utilities \
--single-version-externally-managed; \
+ sed -e 's/python2.[0-9]/python/g' $(CURDIR)/debian/python-sqlobject/usr/lib/$$python/site-packages/sqlobject/utilities/sqlobject-admin > \
+ $(CURDIR)/debian/python-sqlobject/usr/lib/$$python/site-packages/sqlobject/utilities/sqlobject-admin.new; \
+ mv $(CURDIR)/debian/python-sqlobject/usr/lib/$$python/site-packages/sqlobject/utilities/sqlobject-admin.new \
+ $(CURDIR)/debian/python-sqlobject/usr/lib/$$python/site-packages/sqlobject/utilities/sqlobject-admin; \
+ chmod 755 $(CURDIR)/debian/python-sqlobject/usr/lib/$$python/site-packages/sqlobject/utilities/sqlobject-admin; \
done
- # use "python" instead of python2.x
- sed -e 's/python2.[0-9]/python/g' $(CURDIR)/debian/python-sqlobject/usr/share/pycentral/python-sqlobject/site-packages/sqlobject/utilities/sqlobject-admin > \
- $(CURDIR)/debian/python-sqlobject/usr/share/pycentral/python-sqlobject/site-packages/sqlobject/utilities/sqlobject-admin.new
- mv $(CURDIR)/debian/python-sqlobject/usr/share/pycentral/python-sqlobject/site-packages/sqlobject/utilities/sqlobject-admin.new \
- $(CURDIR)/debian/python-sqlobject/usr/share/pycentral/python-sqlobject/site-packages/sqlobject/utilities/sqlobject-admin
# symlink for sqlobject-admin
dh_link usr/share/pycentral/python-sqlobject/site-packages/sqlobject/utilities/sqlobject-admin usr/bin/sqlobject-admin
More information about the Python-modules-commits
mailing list