[Python-modules-commits] r12162 - in packages/myghty/trunk/debian (changelog rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Fri Mar 5 19:29:32 UTC 2010


    Date: Friday, March 5, 2010 @ 19:29:31
  Author: jwilk
Revision: 12162

Fix shebangs in exaple Python programs not to contain /usr/local paths.

Modified:
  packages/myghty/trunk/debian/changelog
  packages/myghty/trunk/debian/rules

Modified: packages/myghty/trunk/debian/changelog
===================================================================
--- packages/myghty/trunk/debian/changelog	2010-03-05 19:26:11 UTC (rev 12161)
+++ packages/myghty/trunk/debian/changelog	2010-03-05 19:29:31 UTC (rev 12162)
@@ -8,6 +8,7 @@
     - bump XS-Python-Version to >= 2.5.
   * Fix copyright notices in debian/copyright.
   * Install the upstream changelog.
+  * Fix shebangs in exaple Python programs not to contain /usr/local paths.
 
  -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Fri, 05 Mar 2010 19:53:59 +0100
 

Modified: packages/myghty/trunk/debian/rules
===================================================================
--- packages/myghty/trunk/debian/rules	2010-03-05 19:26:11 UTC (rev 12161)
+++ packages/myghty/trunk/debian/rules	2010-03-05 19:29:31 UTC (rev 12162)
@@ -40,6 +40,7 @@
 		--root $(CURDIR)/debian/$(package)
 	cp -a doc/html/* $(CURDIR)/debian/$(package)/usr/share/doc/$(package)/html
 	cp -a examples/* $(CURDIR)/debian/$(package)/usr/share/doc/$(package)/examples
+	find debian/$(package)/usr/share/doc/$(package)/examples -name \*.py -exec sed -i -e '1 s|/usr/local/|/usr/|' {} \;
 
 binary-indep: build install
 	dh_testdir




More information about the Python-modules-commits mailing list