python3: update to 3.12.2.

This commit is contained in:
Andrew J. Hesford 2024-02-08 14:53:31 -05:00
parent bace1891bc
commit b61c9a7353

View File

@ -3,8 +3,8 @@
# THIS PACKAGE MUST BE SYNCHRONIZED WITH "srcpkgs/python3-tkinter".
#
pkgname=python3
version=3.12.1
revision=4
version=3.12.2
revision=1
build_style="gnu-configure"
configure_args="--enable-shared --enable-ipv6 --enable-optimizations
--enable-loadable-sqlite-extensions --with-computed-gotos
@ -25,7 +25,7 @@ distfiles="
https://www.python.org/ftp/python/${version%rc*}/Python-${version}.tar.xz
${KERNEL_SITE}/bluetooth/${_bluez}.tar.xz
"
checksum="8dfb8f426fcd226657f9e2bd5f1e96e53264965176fa17d32658e873591aeb21
checksum="be28112dac813d2053545c14bf13a16401a21877f1a69eb6ea5d84c4a0f3d870
ae437e65b6b3070c198bc5b0109fe9cdeb9eaa387380e2072f9de65fe8a1de34"
skip_extraction="${_bluez}.tar.xz"
@ -93,11 +93,16 @@ do_check() {
opts+=" -i test_session*"
# overflow in datetime.time.mktime
opts+=" -i test_localtime_daylight_*_dst_true"
# https://github.com/python/cpython/issues/115133
opts+=" -i test_simple_xml"
if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
# musl doesn't work with locales
opts+=" -i test_locale* -i test_c_locale* -i test__locale"
opts+=" -i test_fpathconf"
else
# ctypes libm imports misbehave with glibc linker scripts
opts+=" -i test_issue18060_*"
fi
make ${makejobs} EXTRATESTOPTS="${opts}" quicktest