aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Novakovic <chris@chrisn.me.uk>2021-05-05 22:52:53 +0100
committerChris Novakovic <chris@chrisn.me.uk>2021-05-06 01:05:59 +0100
commitaf6c01c6539f34da62b7a57684ce24da23281c2c (patch)
treed93327a5d6841187f7154b297d0ac42b7341f3b0
parent11efd457db87f61d294a76b0d29651eac3457eb8 (diff)
downloadaports-af6c01c6539f34da62b7a57684ce24da23281c2c.tar.gz
aports-af6c01c6539f34da62b7a57684ce24da23281c2c.tar.bz2
aports-af6c01c6539f34da62b7a57684ce24da23281c2c.tar.xz
main/python3: upgrade to 3.8.10
Also bump community/python3-tkinter to 3.8.10. * Add autoconf-archive as a build-time dependency of python3. * Remove obsolete configure options --disable-rpath and --enable-threads. * Skip test_asyncio due to hanging on all architectures (this test is constantly being patched upstream to fix this problem).
-rw-r--r--community/python3-tkinter/APKBUILD8
-rw-r--r--main/python3/APKBUILD9
2 files changed, 7 insertions, 10 deletions
diff --git a/community/python3-tkinter/APKBUILD b/community/python3-tkinter/APKBUILD
index 630901e441..283f53da47 100644
--- a/community/python3-tkinter/APKBUILD
+++ b/community/python3-tkinter/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=python3-tkinter
-pkgver=3.8.7
+pkgver=3.8.10
_basever="${pkgver%.*}"
pkgrel=0
pkgdesc="A graphical user interface for the Python"
@@ -49,7 +49,6 @@ build() {
./configure \
--prefix=/usr \
- --disable-rpath \
--enable-ipv6 \
--enable-loadable-sqlite-extensions \
--enable-shared \
@@ -57,8 +56,7 @@ build() {
--with-computed-gotos \
--with-dbmliborder=gdbm:ndbm \
--with-system-expat \
- --with-system-ffi \
- --with-threads
+ --with-system-ffi
# set thread stack size to 1MB so we don't segfault before we hit
# sys.getrecursionlimit()
@@ -109,6 +107,6 @@ _idle() {
_mv_files usr/lib/python*/idlelib
}
-sha512sums="6a27d8eab3076930df46b0cf127f9b664f8d4147349b2b98132f464deb7f69d87e0167e8ee8e6c64249125ad73760d965ecbc81c252b63a1e7aac95594c62b74 Python-3.8.7.tar.xz
+sha512sums="0be69705483ff9692e12048a96180e586f9d84c8d53066629f7fb2389585eb75c0f3506bb8182936e322508f58b71f4d8c6dfebbab9049b31b49da11d3b98e80 Python-3.8.10.tar.xz
ab8eaa2858d5109049b1f9f553198d40e0ef8d78211ad6455f7b491af525bffb16738fed60fc84e960c4889568d25753b9e4a1494834fea48291b33f07000ec2 musl-find_library.patch
37b6ee5d0d5de43799316aa111423ba5a666c17dc7f81b04c330f59c1d1565540eac4c585abe2199bbed52ebe7426001edb1c53bd0a17486a2a8e052d0f494ad fix-xattrs-glibc.patch"
diff --git a/main/python3/APKBUILD b/main/python3/APKBUILD
index d4b14f0c80..85409ce1ce 100644
--- a/main/python3/APKBUILD
+++ b/main/python3/APKBUILD
@@ -3,7 +3,7 @@
pkgname=python3
# the python3-tkinter's pkgver needs to be synchronized with this.
-pkgver=3.8.8
+pkgver=3.8.10
_bluez_ver=5.54
_basever="${pkgver%.*}"
pkgrel=0
@@ -15,7 +15,7 @@ subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-tests::noarch
$pkgname-wininst"
makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev xz-dev
sqlite-dev libffi-dev tcl-dev linux-headers gdbm-dev>=1.18.1-r0 readline-dev
- automake autoconf libtool !gettext-dev"
+ automake autoconf autoconf-archive libtool !gettext-dev"
source="https://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz
https://www.kernel.org/pub/linux/bluetooth/bluez-$_bluez_ver.tar.xz
fix-xattrs-glibc.patch
@@ -67,7 +67,6 @@ build() {
# Python -> bluez -> glib -> meson -> python
./configure \
--prefix=/usr \
- --disable-rpath \
--enable-ipv6 \
--enable-loadable-sqlite-extensions \
--enable-optimizations \
@@ -77,7 +76,6 @@ build() {
--with-dbmliborder=gdbm:ndbm \
--with-system-expat \
--with-system-ffi \
- --with-threads \
--without-ensurepip \
--with-bluetoothdir="$srcdir/bluez-$_bluez_ver"
@@ -126,6 +124,7 @@ EOF
fail="$fail test_multiprocessing_main_handling" # fails on x86_64
fail="$fail test_runpy" # fails on x86_64
fail="$fail test_threading" # hangs on all arches (except x86_64?)
+ fail="$fail test_asyncio" # hangs; routinely problematic (e.g. bpo-39101, bpo-41891, bpo-42183)
# kernel related
fail="$fail test_fcntl" # wants DNOTIFY, we don't have it
@@ -185,7 +184,7 @@ wininst() {
"$subpkgdir"/usr/lib/python$_basever/distutils/command
}
-sha512sums="64181db5aa48281284a3230436ebfb8cb91b645a9dec956fd48c0048334498477073fc4e14d6b426d0ef7fbcdcfd5d59cbf01a504e6c9014dc9529494b9309fb Python-3.8.8.tar.xz
+sha512sums="0be69705483ff9692e12048a96180e586f9d84c8d53066629f7fb2389585eb75c0f3506bb8182936e322508f58b71f4d8c6dfebbab9049b31b49da11d3b98e80 Python-3.8.10.tar.xz
e19d15d3a478a7af47c1921c8827843492e38787b1182152155bd3d8ad9e1d8ee25c5fda1f24e38c54ebbf946b09fe75007dca9a24d1c35f73303558e558dcbe bluez-5.54.tar.xz
37b6ee5d0d5de43799316aa111423ba5a666c17dc7f81b04c330f59c1d1565540eac4c585abe2199bbed52ebe7426001edb1c53bd0a17486a2a8e052d0f494ad fix-xattrs-glibc.patch
ab8eaa2858d5109049b1f9f553198d40e0ef8d78211ad6455f7b491af525bffb16738fed60fc84e960c4889568d25753b9e4a1494834fea48291b33f07000ec2 musl-find_library.patch