diff options
Diffstat (limited to 'testing/python')
-rw-r--r-- | testing/python/PKGBUILD | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/testing/python/PKGBUILD b/testing/python/PKGBUILD index 688aaf428..8752256e3 100644 --- a/testing/python/PKGBUILD +++ b/testing/python/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 155851 2012-04-07 16:56:17Z stephane $ +# $Id: PKGBUILD 156156 2012-04-14 17:31:15Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Jason Chu <jason@archlinux.org> pkgname=python -pkgver=3.2.2 -pkgrel=3 +pkgver=3.2.3 +pkgrel=1 _pybasever=3.2 pkgdesc="Next generation of the python high-level scripting language" arch=('i686' 'x86_64') @@ -17,14 +17,8 @@ optdepends=('tk: for tkinter' 'sqlite') provides=('python3') replaces=('python3') options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz - distutils-egg-utf8.patch - gdbm-magic-values.patch - pycache-bytecompilation.patch) -sha1sums=('5e654dbd48476193ccdef4d604ed4f45b48c6769' - '4697d7d737101ad3f1d9c4a0c6ff848fd7114823' - '43bfbe3e23360f412b95cb284ff29b2cbe338be9' - '3561a7278dd83a8f5f3b213169f16c3187724fba') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') build() { cd "${srcdir}/Python-${pkgver}" @@ -32,16 +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 - - # Distutils now reads and writes egg-info files using UTF-8 (Upstream issue #9561) - patch -Np1 -i ../distutils-egg-utf8.patch - - # Distutils doesn't byte-compile .py files to __pycache__ during installation (Upstream issue #11254) - patch -Np1 -i ../pycache-bytecompilation.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 @@ -65,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() { |