dev-python/wxpython: fix build w/ >=dev-python/sip-6.10.0

Closes: https://bugs.gentoo.org/949510
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-02-18 22:09:19 +00:00
parent b8176a0ef9
commit 2a8e6ca015
2 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
https://bugs.gentoo.org/949510#c4
https://github.com/wxWidgets/Phoenix/commit/de9aa4be5bb49adf82991c7582ea3c42ed505bf7.patch
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.
--- 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
# ---------------------------------------------------------------

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -60,6 +60,7 @@ PATCHES=(
"${FILESDIR}/${PN}-4.2.1-integer-division-for-randint.patch"
"${FILESDIR}/${PN}-4.2.1-x86-time.patch"
"${FILESDIR}/${PN}-4.2.1-doxygen-1.9.7.patch"
"${FILESDIR}/${PN}-4.2.1-sip-6.10.0.patch"
)
python_prepare_all() {