extra/python to 3.9.1-1

This commit is contained in:
Kevin Mihelich 2020-12-15 20:11:03 +00:00
parent 47710e21a2
commit 2804725a64

View file

@ -13,7 +13,7 @@ shopt -s extglob
pkgbase=python pkgbase=python
pkgname=(python python-tests) pkgname=(python python-tests)
pkgver=3.9.0 pkgver=3.9.1
pkgrel=1 pkgrel=1
_pybasever=${pkgver%.*} _pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language" pkgdesc="Next generation of the python high-level scripting language"
@ -23,7 +23,7 @@ url="https://www.python.org/"
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib') depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
makedepends=('tk' 'sqlite' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font') makedepends=('tk' 'sqlite' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font')
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc}) source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc})
sha512sums=('b141039c9701a8cb0d15cd11a279153077524af4d0599e7d2c7279d4c18d05fda06b33ef82342d875de996c7117b7dc6eb154dc3669d38a1efa99801aeec6c5e' sha512sums=('b90029d6825751685983e9dcf0e0ec9e46f18e6c7d37b0dd7a245a94316f8c0090308ad7c2b2b49ed2514b0b909177231dd5bcad03031bf4624e37136fcf8019'
'SKIP') 'SKIP')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org> validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568') # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl> 'E3FF2839C048B25C084DEBE9B26995E310250568') # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
@ -75,10 +75,6 @@ build() {
} }
check() { check() {
# test_tk: https://bugs.python.org/issue41306
# test_lib2to3: https://bugs.python.org/issue41970
# test_tools: https://bugs.python.org/issue41971
cd Python-${pkgver} cd Python-${pkgver}
# Obtain next free server number for xvfb-run; this even works in a chroot environment. # Obtain next free server number for xvfb-run; this even works in a chroot environment.
@ -87,7 +83,7 @@ check() {
LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \ LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" \ LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" \
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk -x test_lib2to3 -x test_tools "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall
} }
package_python() { package_python() {