extra/python2 to 2.7.14-3

This commit is contained in:
Kevin Mihelich 2018-04-24 12:16:38 +00:00
parent 16cb4defd2
commit 9724278202

View file

@ -9,13 +9,13 @@
pkgname=python2
pkgver=2.7.14
pkgrel=2
pkgrel=3
_pybasever=2.7
pkgdesc="A high-level scripting language"
arch=('x86_64')
license=('PSF')
url="http://www.python.org/"
depends=('bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite' 'libffi')
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'openssl' 'sqlite' 'zlib')
makedepends=('tk' 'bluez-libs')
checkdepends=('gdb' 'file' 'xorg-server-xvfb')
optdepends=('tk: for IDLE'
@ -87,13 +87,12 @@ build() {
}
check() {
# Since 2.7.13,
# test_replace_overflow (present in test_bytes, test_str, test_string, test_unicode, test_userstring) segfault on i686
# test_bigrepeat (present in test_tuple) segfault on i686
# Since 2.7.14 with latest xvfb
# test_idle, test_tk, test_ttk_guionly: segfaults
cd Python-${pkgver}
LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
xvfb-run "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_bytes test_str test_string test_tuple test_unicode test_userstring
xvfb-run "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_idle test_tk test_ttk_guionly
}
package() {