[arch-commits] Commit in python/trunk (PKGBUILD)
Felix Yan
fyan at nymeria.archlinux.org
Mon Mar 17 15:39:39 UTC 2014
Date: Monday, March 17, 2014 @ 16:39:39
Author: fyan
Revision: 208073
upgpkg: python 3.4.0-2
- add upstream patch to pass test, enabled test again
Modified:
python/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-17 15:10:52 UTC (rev 208072)
+++ PKGBUILD 2014-03-17 15:39:39 UTC (rev 208073)
@@ -6,7 +6,7 @@
pkgname=python
pkgver=3.4.0
-pkgrel=1
+pkgrel=2
_pybasever=3.4
pkgdesc="Next generation of the python high-level scripting language"
arch=('i686' 'x86_64')
@@ -23,8 +23,10 @@
options=('!makeflags')
provides=('python3')
replaces=('python3')
-source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz)
-sha1sums=('f54d7cf6af5dbd9bddbe31cf4772f39711381dbe')
+source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz
+ python3.4-test_sqlite.patch::http://hg.python.org/cpython/raw-rev/4d626a9df062)
+sha1sums=('f54d7cf6af5dbd9bddbe31cf4772f39711381dbe'
+ 'b13a0b728d8e1fe1d81dea501b064cb1032f183b')
prepare() {
cd "${srcdir}/Python-${pkgver}"
@@ -32,6 +34,9 @@
# FS#23997
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
+ # http://bugs.python.org/issue20901
+ patch -p1 -i "$srcdir/python3.4-test_sqlite.patch"
+
# Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec),
# rather than copies shipped in the tarball
rm -r Modules/expat
@@ -59,13 +64,11 @@
make
}
-<<EOF
check() {
cd "${srcdir}/Python-${pkgver}"
LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -x test_posixpath test_logging test_uuid
}
-EOF
package() {
cd "${srcdir}/Python-${pkgver}"
More information about the arch-commits
mailing list