diff options
| author | Ionen Wolkens <ionen@gentoo.org> | 2025-05-26 09:47:28 -0400 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2025-05-26 10:12:04 -0400 |
| commit | a4ae40d4bed1cde67758df445b2ac83dfe7e2a0e (patch) | |
| tree | f2eeae1154e73f47fb332dcf0c505e4981f611f7 /dev-python | |
| parent | 4d006d2fe5a96ad386e38b7d3edcb515c8b2ff6a (diff) | |
| download | gentoo-a4ae40d4bed1cde67758df445b2ac83dfe7e2a0e.tar.gz gentoo-a4ae40d4bed1cde67758df445b2ac83dfe7e2a0e.tar.bz2 gentoo-a4ae40d4bed1cde67758df445b2ac83dfe7e2a0e.zip | |
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>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/sip/files/sip-6.11.1-wxpython.patch | 10 | ||||
| -rw-r--r-- | dev-python/sip/sip-6.11.1-r1.ebuild (renamed from dev-python/sip/sip-6.11.1.ebuild) | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/sip/files/sip-6.11.1-wxpython.patch b/dev-python/sip/files/sip-6.11.1-wxpython.patch new file mode 100644 index 000000000000..98fcec49b606 --- /dev/null +++ b/dev-python/sip/files/sip-6.11.1-wxpython.patch @@ -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) diff --git a/dev-python/sip/sip-6.11.1.ebuild b/dev-python/sip/sip-6.11.1-r1.ebuild index 8fac7b9d0af6..50e7a1ac56c5 100644 --- a/dev-python/sip/sip-6.11.1.ebuild +++ b/dev-python/sip/sip-6.11.1-r1.ebuild @@ -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 +) |
