[Python-modules-commits] r1535 - in
/packages/mmpython/trunk/debian: changelog rules
pox-guest at users.alioth.debian.org
pox-guest at users.alioth.debian.org
Thu Nov 23 15:47:30 CET 2006
Author: pox-guest
Date: Thu Nov 23 15:47:30 2006
New Revision: 1535
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1535
Log:
missed upload, part 1 of 2
Modified:
packages/mmpython/trunk/debian/changelog
packages/mmpython/trunk/debian/rules
Modified: packages/mmpython/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/mmpython/trunk/debian/changelog?rev=1535&op=diff
==============================================================================
--- packages/mmpython/trunk/debian/changelog (original)
+++ packages/mmpython/trunk/debian/changelog Thu Nov 23 15:47:30 2006
@@ -1,3 +1,10 @@
+mmpython (0.4.9-1.1) unstable; urgency=low
+
+ * NMU
+ * Remove explicit dependency on python2.3.
+
+ -- Matthias Klose <doko at debian.org> Sat, 28 Oct 2006 11:32:05 +0200
+
mmpython (0.4.9-1) unstable; urgency=low
* Initial release (Closes: #372821).
Modified: packages/mmpython/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/mmpython/trunk/debian/rules?rev=1535&op=diff
==============================================================================
--- packages/mmpython/trunk/debian/rules (original)
+++ packages/mmpython/trunk/debian/rules Thu Nov 23 15:47:30 2006
@@ -6,5 +6,20 @@
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
+install/python-mmpython::
+ : # Replace all '#!' calls to python with /usr/bin/python
+ : # and make them executable
+ for i in `find debian/python-mmpython -type f`; do \
+ sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \
+ $$i > $$i.temp; \
+ if cmp --quiet $$i $$i.temp; then \
+ rm -f $$i.temp; \
+ else \
+ mv -f $$i.temp $$i; \
+ chmod 755 $$i; \
+ echo "fixed interpreter: $$i"; \
+ fi; \
+ done
+
clean::
rm -f version.pyc
More information about the Python-modules-commits
mailing list