diff options
author | root <root@rshg054.dnsready.net> | 2012-04-20 00:01:59 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-20 00:01:59 +0000 |
commit | 68572eac2031955131806e1ab066f5aaac1396e2 (patch) | |
tree | a7ad0bf8988effbf1a55c885f968d10660055cf9 /extra/python | |
parent | 85ca6bfccdec6939881572fb1154f1a07d54937c (diff) |
Fri Apr 20 00:01:59 UTC 2012
Diffstat (limited to 'extra/python')
-rw-r--r-- | extra/python/PKGBUILD | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD index d96900b36..ac7911bb3 100644 --- a/extra/python/PKGBUILD +++ b/extra/python/PKGBUILD @@ -1,26 +1,24 @@ -# $Id: PKGBUILD 143818 2011-11-29 13:33:44Z stephane $ +# $Id: PKGBUILD 156459 2012-04-18 12:20:59Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> -# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Jason Chu <jason@archlinux.org> pkgname=python -pkgver=3.2.2 -pkgrel=2 +pkgver=3.2.3 +pkgrel=1 _pybasever=3.2 pkgdesc="Next generation of the python high-level scripting language" arch=('i686' 'x86_64') license=('custom') url="http://www.python.org/" depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite3' 'valgrind') -optdepends=('tk: for tkinter' 'sqlite3') +makedepends=('tk' 'sqlite' 'valgrind') +optdepends=('tk: for tkinter' 'sqlite') provides=('python3') replaces=('python3') options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz - gdbm-magic-values.patch) -sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' - '43bfbe3e23360f412b95cb284ff29b2cbe338be9') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') build() { cd "${srcdir}/Python-${pkgver}" @@ -28,10 +26,6 @@ build() { # FS#23997 sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py - # gdbm has new magic that whichdb does not recognize - # http://bugs.python.org/issue13007 - patch -Np1 -i ../gdbm-magic-values.patch - # 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 @@ -55,7 +49,8 @@ build() { check() { cd "${srcdir}/Python-${pkgver}" LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \ - "${srcdir}/Python-${pkgver}/python" -m test.regrtest -x test_distutils test_site test_uuid + "${srcdir}/Python-${pkgver}/python" -m test.regrtest -x test_distutils test_site \ + test_urllib test_uuid test_pydoc } package() { |