mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/python to 3.4.2-2
This commit is contained in:
parent
41d6f8b2f2
commit
d6ea381a5b
1 changed files with 5 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue