[Python-apps-commits] r8037 - in packages/mercurial/trunk/debian (3 files)

vicho-guest at users.alioth.debian.org vicho-guest at users.alioth.debian.org
Fri Jan 6 22:13:29 UTC 2012


    Date: Friday, January 6, 2012 @ 22:13:26
  Author: vicho-guest
Revision: 8037

Fix "hg-ssh is installed system-wide but uses "/usr/bin/env python" as the python interpreter" with a patch that fixes the interpreter (Closes: #654925)

Added:
  packages/mercurial/trunk/debian/patches/deb_specific__fix_hg-ssh_interpreter.patch
Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/patches/series

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2012-01-06 22:13:10 UTC (rev 8036)
+++ packages/mercurial/trunk/debian/changelog	2012-01-06 22:13:26 UTC (rev 8037)
@@ -1,8 +1,11 @@
 mercurial (2.0.2-1) unstable; urgency=low
 
   * New upstream revision
+  * Fix "hg-ssh is installed system-wide but uses "/usr/bin/env python"
+    as the python interpreter" with a patch that fixes the interpreter
+    (Closes: #654925)
 
- -- Javi Merino <cibervicho at gmail.com>  Fri, 06 Jan 2012 21:27:13 +0000
+ -- Javi Merino <cibervicho at gmail.com>  Fri, 06 Jan 2012 22:09:32 +0000
 
 mercurial (2.0.1-2) unstable; urgency=low
 

Added: packages/mercurial/trunk/debian/patches/deb_specific__fix_hg-ssh_interpreter.patch
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__fix_hg-ssh_interpreter.patch	                        (rev 0)
+++ packages/mercurial/trunk/debian/patches/deb_specific__fix_hg-ssh_interpreter.patch	2012-01-06 22:13:26 UTC (rev 8037)
@@ -0,0 +1,17 @@
+Author: Javi Merino <cibervicho at gmail.com>
+Description: Fix python interpreter for hg-ssh
+ hg-ssh is installed by dh_install instead of setup.py, so it's
+ interpreter is not fixed automatically for us.  System-wide commands
+ should use /usr/bin/python as the Debian Python Policy recommends.
+Bug-Debian: http://bugs.debian.org/654925
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/912625
+Forwarded: not-needed
+
+--- a/contrib/hg-ssh
++++ b/contrib/hg-ssh
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ #
+ # Copyright 2005-2007 by Intevation GmbH <intevation at intevation.de>
+ #

Modified: packages/mercurial/trunk/debian/patches/series
===================================================================
--- packages/mercurial/trunk/debian/patches/series	2012-01-06 22:13:10 UTC (rev 8036)
+++ packages/mercurial/trunk/debian/patches/series	2012-01-06 22:13:26 UTC (rev 8037)
@@ -7,3 +7,4 @@
 deb_specific__install-mo-fhs.patch
 deb_specific__disable_libdir_replacement.patch
 deb_specific__no_optim_bdiff_armel.patch
+deb_specific__fix_hg-ssh_interpreter.patch




More information about the Python-apps-commits mailing list