Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-wxPython for openSUSE:Factory checked in at 2024-06-06 12:31:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old) and /work/SRC/openSUSE:Factory/.python-wxPython.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wxPython" Thu Jun 6 12:31:08 2024 rev:22 rq:1178778 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes 2024-02-27 22:43:54.332872805 +0100 +++ /work/SRC/openSUSE:Factory/.python-wxPython.new.24587/python-wxPython.changes 2024-06-06 12:31:20.201670129 +0200 @@ -1,0 +2,5 @@ +Sat May 25 09:16:36 UTC 2024 - Jan Engelhardt <jeng...@inai.de> + +- Add wxwidgets-3.2.5.patch to resolve wxPython FTBFS + +------------------------------------------------------------------- New: ---- wxwidgets-3.2.5.patch BETA DEBUG BEGIN: New: - Add wxwidgets-3.2.5.patch to resolve wxPython FTBFS BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-wxPython.spec ++++++ --- /var/tmp/diff_new_pack.I1sdV9/_old 2024-06-06 12:31:21.249708406 +0200 +++ /var/tmp/diff_new_pack.I1sdV9/_new 2024-06-06 12:31:21.249708406 +0200 @@ -111,6 +111,7 @@ Patch112: 0001-Check-HSV-values-in-image-test.patch # PATCH-FIX-OPENSUSE - Numpy for Python 3.12 is a thing Patch113: require-numpy.patch +Patch114: wxwidgets-3.2.5.patch # TODO: Replace deprecated setup.py calls in build.py with PEP517 without building wxWidgets into the wheel BuildRequires: %{python_module base} BuildRequires: %{python_module devel} ++++++ wxwidgets-3.2.5.patch ++++++ Do not fail the wxPython build when using a wxWidgets-3.2.5 base. Generated by: git diff 5622abb73deaa26dc2f6dc4cd8b4b2050396b49a..78938da1218483024b3a7acf55b5fb5513882916 etg/ diff --git etg/window.py etg/window.py index c388df76..0c035f14 100644 --- a/etg/window.py +++ a/etg/window.py @@ -251,6 +251,23 @@ def run(): return NULL; #endif """) + c.find('GetOrCreateAccessible').setCppCode("""\ + #if wxUSE_ACCESSIBILITY + return self->GetOrCreateAccessible(); + #else + wxPyRaiseNotImplemented(); + return NULL; + #endif + """) + c.find('CreateAccessible').factory = True + c.find('CreateAccessible').setCppCode("""\ + #if wxUSE_ACCESSIBILITY + return self->CreateAccessible(); + #else + wxPyRaiseNotImplemented(); + return NULL; + #endif + """) c.find('SetAccessible.accessible').transfer = True c.find('SetAccessible').setCppCode("""\ #if wxUSE_ACCESSIBILITY