From ae995b2d5ae03c1e6d6c8996a188bc93d4d43924 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 6 Jul 2024 12:14:28 +0200 Subject: [PATCH] python: fix missing target tripplet in SOABI I missed this during the rebase since it seemed to work without it, and the configure scripts ignors errors there. --- python/012-3.8-pep3149-cygwin.patch | 17 +++++++++++++++++ python/PKGBUILD | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/python/012-3.8-pep3149-cygwin.patch b/python/012-3.8-pep3149-cygwin.patch index 7ce28f63..1e50cacd 100644 --- a/python/012-3.8-pep3149-cygwin.patch +++ b/python/012-3.8-pep3149-cygwin.patch @@ -9,3 +9,20 @@ ".dll", #else /* !__CYGWIN__ */ "." SOABI ".so", +--- Python-3.12.4/configure.ac.orig 2024-06-06 20:26:44.000000000 +0200 ++++ Python-3.12.4/configure.ac 2024-07-06 12:06:46.609582400 +0200 +@@ -1080,6 +1080,14 @@ + darwin + #elif defined(__VXWORKS__) + vxworks ++#elif defined(__CYGWIN__) ++# if defined(__x86_64__) ++ x86_64-cygwin ++# elif defined(__i386__) ++ i386-cygwin ++# else ++# error unknown platform triplet ++# endif + #elif defined(__wasm32__) + # if defined(__EMSCRIPTEN__) + wasm32-emscripten diff --git a/python/PKGBUILD b/python/PKGBUILD index 65a2b234..080a36db 100644 --- a/python/PKGBUILD +++ b/python/PKGBUILD @@ -4,7 +4,7 @@ pkgbase=python pkgname=('python' 'python-devel') pkgver=3.12.4 -pkgrel=2 +pkgrel=3 _pybasever=${pkgver%.*} pkgdesc="Next generation of the python high-level scripting language" arch=('i686' 'x86_64') @@ -46,7 +46,7 @@ sha256sums=('f6d419a6d8743ab26700801b4908d26d97e8b986e14f95de31b32de2b0e79554' '82cfafc5b31ad4c9bb4c9786044c39c75762dbc2656abdfdc433c23fee69c02f' 'f0bb75ca69c63894fc43e0f8218c9dbcc746935bf5ea095a724e6fb2f5dcc566' '70f854f00de71372e49f2ebbff7491e09e9e036e8e3f3646fe2984e30fb4a9da' - 'a407491301d1aa186a6b1815fc18f4f4da22b489c49b31b58125debbf9d9d3a1' + '24cc76e155b5e017d2e46e784eb3407de60f2f1fd26e691ef222bc2088bbb9d5' '9d0efb7e7e913e96b9f7953802311bbc2d046a7bfdcc3ffaf11fc509731b4d18' '7ca289727bf714cccfe075c959f4907cf527b3e1d251020c9f0e8b21a2f1f365' '85d9d042e0fa3493ec54b364e6b4fb6d2b12ba09641e01047bc84a09605ef76b'