[Python-modules-commits] r8703 - in packages/tg.devtools/trunk/debian (6 files)

zack at users.alioth.debian.org zack at users.alioth.debian.org
Thu Jun 4 13:36:07 UTC 2009


    Date: Thursday, June 4, 2009 @ 13:36:01
  Author: zack
Revision: 8703

add patch to fix broken shebang lines (was not an absolute path)

Added:
  packages/tg.devtools/trunk/debian/patches/
  packages/tg.devtools/trunk/debian/patches/00dpatch.conf
  packages/tg.devtools/trunk/debian/patches/00list
  packages/tg.devtools/trunk/debian/patches/fix-template-shebang.dpatch
Modified:
  packages/tg.devtools/trunk/debian/control
  packages/tg.devtools/trunk/debian/rules

Modified: packages/tg.devtools/trunk/debian/control
===================================================================
--- packages/tg.devtools/trunk/debian/control	2009-06-04 13:31:15 UTC (rev 8702)
+++ packages/tg.devtools/trunk/debian/control	2009-06-04 13:36:01 UTC (rev 8703)
@@ -6,6 +6,7 @@
 Build-Depends:
  debhelper (>= 7),
  cdbs,
+ dpatch,
  python-dev,
  python-support,
  python-setuptools,

Added: packages/tg.devtools/trunk/debian/patches/00dpatch.conf
===================================================================
--- packages/tg.devtools/trunk/debian/patches/00dpatch.conf	                        (rev 0)
+++ packages/tg.devtools/trunk/debian/patches/00dpatch.conf	2009-06-04 13:36:01 UTC (rev 8703)
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs

Added: packages/tg.devtools/trunk/debian/patches/00list
===================================================================
--- packages/tg.devtools/trunk/debian/patches/00list	                        (rev 0)
+++ packages/tg.devtools/trunk/debian/patches/00list	2009-06-04 13:36:01 UTC (rev 8703)
@@ -0,0 +1 @@
+fix-template-shebang

Added: packages/tg.devtools/trunk/debian/patches/fix-template-shebang.dpatch
===================================================================
--- packages/tg.devtools/trunk/debian/patches/fix-template-shebang.dpatch	                        (rev 0)
+++ packages/tg.devtools/trunk/debian/patches/fix-template-shebang.dpatch	2009-06-04 13:36:01 UTC (rev 8703)
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-template-shebang.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix shebang line in upstream's ez_setup template so that it is
+## an absolute path to a Python interpreter
+
+ at DPATCH@
+diff -urNad trunk~/devtools/templates/turbogears/ez_setup/__init__.py trunk/devtools/templates/turbogears/ez_setup/__init__.py
+--- trunk~/devtools/templates/turbogears/ez_setup/__init__.py	2008-11-26 22:33:25.000000000 +0100
++++ trunk/devtools/templates/turbogears/ez_setup/__init__.py	2009-06-04 15:23:57.364765682 +0200
+@@ -1,4 +1,4 @@
+-#!python
++#!/usr/bin/python
+ """Bootstrap setuptools installation
+ 
+ If you want to use setuptools in your package's setup.py, just include this


Property changes on: packages/tg.devtools/trunk/debian/patches/fix-template-shebang.dpatch
___________________________________________________________________
Added: svn:executable
   + *

Modified: packages/tg.devtools/trunk/debian/rules
===================================================================
--- packages/tg.devtools/trunk/debian/rules	2009-06-04 13:31:15 UTC (rev 8702)
+++ packages/tg.devtools/trunk/debian/rules	2009-06-04 13:36:01 UTC (rev 8703)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 DEB_PYTHON_SYSTEM = pysupport
+include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed




More information about the Python-modules-commits mailing list