[arch-commits] Commit in python2/trunk (PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Thu Jan 6 07:04:40 EST 2011


    Date: Thursday, January 6, 2011 @ 07:04:40
  Author: stephane
Revision: 105102

upgpkg: python2 2.7.1-4
workaround for FS#22322

Modified:
  python2/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-06 11:44:50 UTC (rev 105101)
+++ PKGBUILD	2011-01-06 12:04:40 UTC (rev 105102)
@@ -1,10 +1,11 @@
 # $Id$
 # Maintainer: Allan McRae <allan at archlinux.org>
+# Contributer: Stéphane Gaudreault <stephane at archlinux.org>
 # Contributer: Jason Chu <jason at archlinux.org>
 
 pkgname=python2
 pkgver=2.7.1
-pkgrel=3
+pkgrel=4
 _pybasever=2.7
 pkgdesc="A high-level scripting language"
 arch=('i686' 'x86_64')
@@ -25,6 +26,10 @@
 
   patch -Np1 -i ../python-2.7-db51.diff
 
+  # Temporary workaround for FS#22322
+  # See http://bugs.python.org/issue10835 for upstream report
+  sed -i "/progname =/s/python/python${_pybasever}/" Python/pythonrun.c
+
   # Enable built-in SQLite3 module to load extensions (fix FS#22122)
   sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
 



More information about the arch-commits mailing list