Date: Wednesday, April 5, 2023 @ 16:34:55
Author: felixonmars
Revision: 472631
upgpkg: python 3.11.3-1
Modified:
python/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-05 13:57:45 UTC (rev 472630)
+++ PKGBUILD 2023-04-05 16:34:55 UTC (rev 472631)
@@ -8,7 +8,7 @@
pkgbase=python
pkgname=(python python-tests)
-pkgver=3.10.10
+pkgver=3.11.3
pkgrel=1
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language"
@@ -18,7 +18,7 @@
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
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})
-sha512sums=('f0aee65970a68287b34c4eafcf35c6fa09c81ba234ac356db16fbbc6c36417e4ac67071e616d118f5e192d541d7f177dcab5585b9780e842f656c09e01c37ced'
+sha512sums=('a3bba4b69322a47bfeefe42ba0fd7331b5b67fd2ab41441e2219d16ef8c6f307f1a48977afd073c18cfd24ec6cb1bfe0c4bb4b273031eb524dc7e9fb5fbcc3b6'
'SKIP')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python
release signing key) <[email protected]>
'E3FF2839C048B25C084DEBE9B26995E310250568' # Ćukasz Langa (GPG
langa.pl) <[email protected]>
@@ -65,8 +65,7 @@
}
check() {
- # test_socket: test.test_socket.RDSTest.testPeek hangs
https://bugs.python.org/issue35247
- # test_tk: tkinter.test.test_tkinter.test_colorchooser.DefaultRootTest hangs
+ # test_tk: test_askcolor
tkinter.test.test_tkinter.test_colorchooser.DefaultRootTest hangs
# test_pyexpat: our `debug` implementation rewrites source location, which
breaks the build-time
# only test test.test_pyexpat.HandlerExceptionTest as it
cannot find source file in
# the to-be-installed debug package
@@ -79,7 +78,7 @@
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" \
- "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x
test_socket -x test_tk -x test_pyexpat
+ "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk
-x test_pyexpat
}
package_python() {
@@ -119,7 +118,7 @@
# Split tests
cd "$pkgdir"/usr/lib/python*/
- rm -r
{ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,sqlite3/test,tkinter/test,unittest/test}
+ rm -r
{ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,tkinter/test,unittest/test}
cd test
# FS#76193
rm -r !(support)
@@ -133,7 +132,7 @@
make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" libinstall
cd "$pkgdir"/usr/lib/python*/
- rm -r !(test|ctypes|distutils|idlelib|lib2to3|sqlite3|tkinter|unittest)
+ rm -r !(test|ctypes|distutils|idlelib|lib2to3|tkinter|unittest)
cd "$pkgdir"/usr/lib/python*/test
rm -r support
cd "$pkgdir"/usr/lib/python*/ctypes
@@ -144,8 +143,6 @@
rm -r !(idle_test)
cd "$pkgdir"/usr/lib/python*/lib2to3
rm -r !(tests)
- cd "$pkgdir"/usr/lib/python*/sqlite3
- rm -r !(test)
cd "$pkgdir"/usr/lib/python*/tkinter
rm -r !(test)
cd "$pkgdir"/usr/lib/python*/unittest