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

Stéphane Gaudreault stephane at archlinux.org
Sun Jun 12 03:23:25 UTC 2011


    Date: Saturday, June 11, 2011 @ 23:23:25
  Author: stephane
Revision: 127261

upgpkg: python2 2.7.2-1
version bump

Modified:
  python2/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-11 21:35:23 UTC (rev 127260)
+++ PKGBUILD	2011-06-12 03:23:25 UTC (rev 127261)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributer: Stéphane Gaudreault <stephane at archlinux.org>
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributer: Allan McRae <allan at archlinux.org>
 # Contributer: Jason Chu <jason at archlinux.org>
 
 pkgname=python2
-pkgver=2.7.2rc1
+pkgver=2.7.2
 pkgrel=1
 _pybasever=2.7
 pkgdesc="A high-level scripting language"
@@ -16,9 +16,9 @@
 optdepends=('tk: for IDLE')
 conflicts=('python<3')
 options=('!makeflags')
-source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.bz2
+source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz
         python-2.7-db51.patch)
-sha1sums=('656bfce75c7e674b2a05c16e1ab9225bf3023326'
+sha1sums=('56700044141402dc35e7a0a24aa7ffda1a8c1a53'
          '9667a2a2f8594902b352793e649f78696a77bd13')
 
 build() {
@@ -33,6 +33,9 @@
   # Enable built-in SQLite3 module to load extensions (fix FS#22122)
   sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
 
+  # FS#2399
+  sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python2|" Lib/cgi.py
+
   # Ensure that we are using the system copy of various libraries (expat, zlib and libffi),
   # rather than copies shipped in the tarball
   rm -r Modules/expat




More information about the arch-commits mailing list