diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD index d671f19b6..b3027c87c 100644 --- a/extra/python/PKGBUILD +++ b/extra/python/PKGBUILD @@ -11,14 +11,14 @@ pkgname=python pkgver=3.4.2 -pkgrel=1 +pkgrel=2 _pybasever=3.4 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' 'sqlite' 'bluez-libs' 'mpdecimal') +makedepends=('tk' 'sqlite' 'bluez-libs' 'mpdecimal' 'hardening-wrapper') checkdepends=('gdb') optdepends=('python-setuptools' 'python-pip' @@ -59,6 +59,7 @@ build() { --with-dbmliborder=gdbm:ndbm \ --with-system-ffi \ --with-system-libmpdec \ + --enable-loadable-sqlite-extensions \ --without-ensurepip make @@ -67,11 +68,12 @@ build() { check() { # test_site: http://bugs.python.org/issue21535 # test_urllib2_localnet: domain "blackhole.snakebite.net" not exist ?! + # test_socket: domain "испытание.python.org" could not be resolved. cd Python-${pkgver} LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \ TERM=screen \ - "${srcdir}/Python-${pkgver}/python" -m test.regrtest -uall -x test_posixpath test_uuid test_site test_urllib2_localnet test_gdb + "${srcdir}/Python-${pkgver}/python" -m test.regrtest -uall -x test_posixpath test_uuid test_site test_urllib2_localnet test_socket test_gdb } package() {