aboutsummaryrefslogtreecommitdiffstats
path: root/main/python3/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-11-24 21:18:39 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2021-11-24 21:49:27 +0100
commit6ad1b1f09f10f406e90ea8471fe5f3ff1942448b (patch)
tree3dc24734c8a81334650a2c55a118eac9095e5de2 /main/python3/APKBUILD
parentc05b8f6f501034899b5eb1a7a5f1c4f377658ed1 (diff)
downloadaports-6ad1b1f09f10f406e90ea8471fe5f3ff1942448b.tar.gz
aports-6ad1b1f09f10f406e90ea8471fe5f3ff1942448b.tar.bz2
aports-6ad1b1f09f10f406e90ea8471fe5f3ff1942448b.tar.xz
main/python3: add fallback for -gnu soabi
In commit b89cfd222ae3 (main/python3: use musl SOABI) a patch was introduced to make it easier to detect a musl built python and with the intention to make it easier to build python wheels without clashing with musl binaries. It was a wrong assumption that pip acutally care about the SOABI. Meanwhile upstream python has been working on adding support for musl binaries (pep 656), which does not rely on SOABI. This has resulted in breakage with alpine built python which no longer loads binaries with -gnu.so suffix. As a workaround we add a patch to also look for shared libraries with -gnu.so suffix in addition to -musl.so. ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/13227
Diffstat (limited to 'main/python3/APKBUILD')
-rw-r--r--main/python3/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/python3/APKBUILD b/main/python3/APKBUILD
index 318332ba1c..5d55ebab4d 100644
--- a/main/python3/APKBUILD
+++ b/main/python3/APKBUILD
@@ -6,7 +6,7 @@ pkgname=python3
pkgver=3.9.7
_bluez_ver=5.55
_basever="${pkgver%.*}"
-pkgrel=3
+pkgrel=4
pkgdesc="A high-level scripting language"
url="https://www.python.org/"
arch="all"
@@ -23,6 +23,7 @@ source="https://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz
arm-alignment.patch
mpdecimal-2.5.1.patch
bpo-43112.patch
+ gnu-fallback-soabi.patch
"
options="net" # Required for tests
builddir="$srcdir/Python-$pkgver"
@@ -206,4 +207,5 @@ ab8eaa2858d5109049b1f9f553198d40e0ef8d78211ad6455f7b491af525bffb16738fed60fc84e9
a84483246e413650a904c34c18f5e4f4168c39067d069f48557c330de6eb3db19fd96a4d453d742db3dcb7c7f962722903f62823c752ff90510c89830435ffc0 arm-alignment.patch
d95e36ef3c315a2ddf689c9319e027cf56e8817b0cae139e3ade4742ab6f9efcb3cc4adca178e9bbc8757bd0e3fb924ac2b37e66e70eaa7288202a25339eed7d mpdecimal-2.5.1.patch
68a3b0bc270e4f7ec8593945c8c891fab988489f4ba9ee78a0e4351df0699db16dfad7d374f13758c80962b0cea048ff577c0462857cd13919d6cefa1f6a382f bpo-43112.patch
+7500d4e51975446fd59231985f75a198e8074b9f0a0941b7998958e8a4175de09bd08fd1b4db26aa82f9cef0db922078bf4a6f05e50abc37a200c5f6169e6868 gnu-fallback-soabi.patch
"