[Python-modules-commits] r21688 - in packages/python-docutils/trunk/debian (changelog rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Thu May 10 19:57:37 UTC 2012


    Date: Thursday, May 10, 2012 @ 19:57:36
  Author: jwilk
Revision: 21688

Fix (Python 2 version of) rst-buildhtml shebang to #!/usr/bin/python.

Modified:
  packages/python-docutils/trunk/debian/changelog
  packages/python-docutils/trunk/debian/rules

Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog	2012-05-10 19:43:48 UTC (rev 21687)
+++ packages/python-docutils/trunk/debian/changelog	2012-05-10 19:57:36 UTC (rev 21688)
@@ -13,8 +13,9 @@
     + Refresh other patches.
   * Update move-data-to-usr-share.diff to cover the test/ directory, too.
   * Add DEP-8 tests.
+  * Fix (Python 2 version of) rst-buildhtml shebang to #!/usr/bin/python.
 
- -- Jakub Wilk <jwilk at debian.org>  Wed, 25 Apr 2012 18:39:19 +0200
+ -- Jakub Wilk <jwilk at debian.org>  Thu, 10 May 2012 21:56:00 +0200
 
 python-docutils (0.8.1-6) unstable; urgency=low
 

Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules	2012-05-10 19:43:48 UTC (rev 21687)
+++ packages/python-docutils/trunk/debian/rules	2012-05-10 19:57:36 UTC (rev 21688)
@@ -91,6 +91,7 @@
 		done; \
 	done
 	install tools/buildhtml.py debian/tmp/usr/share/docutils/scripts/python2/rst-buildhtml
+	sed -i -e '1 s,^#!.*,#!/usr/bin/python,' debian/tmp/usr/share/docutils/scripts/python2/rst-buildhtml
 	sed -i -e '1 s,^#!.*,#!/usr/bin/python3,' build/py3/tools/buildhtml.py
 	install build/py3/tools/buildhtml.py debian/tmp/usr/share/docutils/scripts/python3/rst-buildhtml
 	: # Make the man pages (we want to do this *after* renaming all the




More information about the Python-modules-commits mailing list