1
0

Accepting request 1178913 from home:mcalabkova:branches:X11:wxWidgets

- Add drop-py2.patch to get rid of the six dependency (it will die
  with Python 3.13)

OBS-URL: https://build.opensuse.org/request/show/1178913
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=53
This commit is contained in:
Stanislav Brabec 2024-06-10 18:21:43 +00:00 committed by Git OBS Bridge
parent 694792d0fd
commit 7b5ab36eac
3 changed files with 5648 additions and 2 deletions

5640
drop-py2.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 30 13:08:43 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Add drop-py2.patch to get rid of the six dependency (it will die
with Python 3.13)
-------------------------------------------------------------------
Sat May 25 09:16:36 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -112,6 +112,8 @@ 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
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/Phoenix/pull/2540
Patch115: drop-py2.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}
@ -145,7 +147,6 @@ BuildRequires: pkgconfig(xtst)
%endif
Requires: %{pprefix}-Pillow
Requires: %{pprefix}-numpy
Requires: %{pprefix}-six
Requires(post): update-alternatives
Requires(postun): update-alternatives
Conflicts: %{pprefix}-wxWidgets
@ -163,7 +164,6 @@ BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest-forked}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: Mesa-dri
# Need at least one font installed
BuildRequires: google-opensans-fonts