dev-python/sip: fix build for wxpython

Looks like was a sip bug after all given sip upstream
provided a patch.

Closes: https://bugs.gentoo.org/956566
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-05-26 09:47:28 -04:00
parent 4d006d2fe5
commit a4ae40d4be
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
https://bugs.gentoo.org/956566
https://github.com/wxWidgets/Phoenix/issues/2758
https://github.com/Python-SIP/sip/issues/77#issuecomment-2909587858
--- a/sipbuild/generator/instantiations.py
+++ b/sipbuild/generator/instantiations.py
@@ -463,3 +463,3 @@
if klass.iface_file.module is None and superclass_name.is_simple:
- superclass = _find_argument_value(superclass_name, p, symbol,
+ superclass = _find_argument_value(superclass_name.base_name, p, symbol,
tmpl_names, template, pm)

View File

@@ -30,3 +30,7 @@ distutils_enable_sphinx docs \
dev-python/myst-parser \
dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/${P}-wxpython.patch
)