[arch-commits] Commit in python2/trunk (PKGBUILD)
Ángel Velásquez
angvp at nymeria.archlinux.org
Mon Aug 5 00:21:40 UTC 2013
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 <stephane at archlinux.org>
-# Contributer: Allan McRae <allan at archlinux.org>
-# Contributer: Jason Chu <jason at archlinux.org>
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Jason Chu <jason at archlinux.org>
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 \
More information about the arch-commits
mailing list