python3-tkinter: update to 3.9.1.

This commit is contained in:
Andrew J. Hesford 2020-12-08 22:38:08 -05:00
parent 68f8d5de73
commit 1729b54668

View file

@ -7,7 +7,7 @@
_desc="Python programming language"
pkgname=python3-tkinter
version=3.9.0
version=3.9.1
revision=1
wrksrc="Python-${version}"
pycompile_dirs="
@ -22,13 +22,14 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
homepage="https://www.python.org"
license="Python-2.0"
distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz"
checksum=9c73e63c99855709b9be0b3cc9e5b072cb60f37311e8c4e50f15576a0bf82854
checksum=991c3f8ac97992f3d308fefeb03a64db462574eadbff34ce8bc5bb583d9903ff
pre_configure() {
# Ensure that internal copies of expat and libffi are not used.
rm -r Modules/expat
rm -r Modules/_ctypes/{darwin,libffi}*
}
do_configure() {
local _args
unset GCC CC CXX CPP LD AR AS RANLIB
@ -48,10 +49,17 @@ do_configure() {
--with-threads --with-computed-gotos --with-dbmliborder=gdbm:ndbm \
--with-system-expat --with-system-ffi --without-ensurepip
}
do_build() {
export PATH="$PATH:$wrksrc/hostpython"
make ${makejobs}
}
do_check() {
# The test_tk suite requires DISPLAY, so just test idle and tcl
make ${makejobs} EXTRATESTOPTS="test_tcl test_idle test_ttk_textonly" test
}
do_install() {
export PATH="$PATH:$wrksrc/hostpython"
make DESTDIR=${wrksrc}/${pkgname}-${version}-install altinstall