Date: Monday, August 5, 2013 @ 02:21:40 Author: angvp Revision: 192038
upgpkg: python2 2.7.5-2 Rebuilt against db 6.0.20 and some clean up of the PKGBUILD Modified: python2/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-08-04 20:38:17 UTC (rev 192037) +++ PKGBUILD 2013-08-05 00:21:40 UTC (rev 192038) @@ -1,11 +1,12 @@ # $Id$ -# Maintainer: Stéphane Gaudreault <[email protected]> -# Contributer: Allan McRae <[email protected]> -# Contributer: Jason Chu <[email protected]> +# Maintainer: Angel Velasquez <[email protected]> +# Contributor: Stéphane Gaudreault <[email protected]> +# Contributor: Allan McRae <[email protected]> +# Contributor: Jason Chu <[email protected]> pkgname=python2 pkgver=2.7.5 -pkgrel=1 +pkgrel=2 _pybasever=2.7 pkgdesc="A high-level scripting language" arch=('i686' 'x86_64') @@ -19,7 +20,7 @@ source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz) sha1sums=('b7389791f789625c2ba9d897aa324008ff482daf') -build() { +prepare() { cd "${srcdir}/Python-${pkgver}" # Temporary workaround for FS#22322 @@ -41,6 +42,11 @@ rm -r Modules/zlib rm -r Modules/_ctypes/{darwin,libffi}* +} + +build() { + cd "${srcdir}/Python-${pkgver}" + export OPT="${CFLAGS}" ./configure --prefix=/usr --enable-shared --with-threads --enable-ipv6 \ --enable-unicode=ucs4 --with-system-expat --with-system-ffi \
