From 001e788b1f4c8a3994fd40f5ba22811fe8f0acb8 Mon Sep 17 00:00:00 2001 From: piernov Date: Sat, 24 Mar 2012 16:11:53 +0100 Subject: python2 2.7.2-2 ajout patch db51+gdbm --- python2/Pkgfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'python2/Pkgfile') diff --git a/python2/Pkgfile b/python2/Pkgfile index a292bea61..8395b79be 100755 --- a/python2/Pkgfile +++ b/python2/Pkgfile @@ -6,18 +6,19 @@ name=python2 version=2.7.2 -release=1 +release=2 _pybasever=2.7 - -source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2 - python-2.7-db51.diff) +source=(http://www.python.org/ftp/python/$version/Python-$version.tar.bz2 + python-2.7-db51.diff + gdbm-magic-values.patch) build() { cd Python-$version sed -i "/progname =/s/python/python${_pybasever}/" Python/pythonrun.c -# patch -Np1 -i ../python-2.7-db51.diff + patch -Np1 -i ../python-2.7-db51.diff + patch -Np1 -i ../gdbm-magic-values.patch sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python2|" Lib/cgi.py -- cgit v1.2.3-70-g09d2