1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/py3-wxpython/update-sip-abi-version.patch
mio 6e10e97565 community/py3-wxpython: fix build
Resolve build error with sip.

```
Running command: sip
Removing folder: sip/siplib
sip-module --sdist --abi-version 12.8 --target-dir /tmp/tmp7xwb0ele wx.siplib
Command 'sip-module --sdist --abi-version 12.8 --target-dir /tmp/tmp7xwb0ele wx.siplib' failed with exit code 1.
```
2025-05-01 06:16:28 +00:00

29 lines
1 KiB
Diff

Patch-Source: https://github.com/wxWidgets/Phoenix/commit/de9aa4be5bb49adf82991c7582ea3c42ed505bf7.patch
Backported to 4.2.1.
---
From de9aa4be5bb49adf82991c7582ea3c42ed505bf7 Mon Sep 17 00:00:00 2001
From: Scott Talbert <swt@techie.net>
Date: Sun, 9 Feb 2025 17:50:08 -0500
Subject: [PATCH] Update SIP ABI version to 12.14
We haven't supported 12.8 since before we upgraded to SIP 6.6+.
However, SIP has not been correctly generating the correct module
version until very recently, so generating 12.8 doesn't actually compile
with current wxPython.
---
buildtools/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildtools/config.py b/buildtools/config.py
index c3662ef4d..39dc5b722 100644
--- a/buildtools/config.py
+++ b/buildtools/config.py
@@ -88,7 +88,7 @@ class Configuration(object):
PKGDIR = 'wx'
# The name of the top-level package
- SIP_ABI = '12.8'
+ SIP_ABI = '12.14'
SIP_TRACE = False
# ---------------------------------------------------------------