commit:     2a8e6ca015fa6107230f131d1232bfe2bb55bcbd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 22:09:19 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 22:09:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a8e6ca0

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

Closes: https://bugs.gentoo.org/949510
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../wxpython/files/wxpython-4.2.1-sip-6.10.0.patch | 23 ++++++++++++++++++++++
 dev-python/wxpython/wxpython-4.2.1-r2.ebuild       |  3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/dev-python/wxpython/files/wxpython-4.2.1-sip-6.10.0.patch 
b/dev-python/wxpython/files/wxpython-4.2.1-sip-6.10.0.patch
new file mode 100644
index 000000000000..5d6751d7a8d4
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-4.2.1-sip-6.10.0.patch
@@ -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 <[email protected]>
+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
+ 
+     # ---------------------------------------------------------------

diff --git a/dev-python/wxpython/wxpython-4.2.1-r2.ebuild 
b/dev-python/wxpython/wxpython-4.2.1-r2.ebuild
index ec62390a1579..0a82fba9a074 100644
--- a/dev-python/wxpython/wxpython-4.2.1-r2.ebuild
+++ b/dev-python/wxpython/wxpython-4.2.1-r2.ebuild
@@ -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() {

Reply via email to