File wxpython-4.2.3-wheel-fix.patch of Package python-wxPython

--- wxPython-4.2.3.orig/setup.py	2025-04-10 02:05:33.000000000 +0200
+++ wxPython-4.2.3/setup.py	2025-07-18 09:05:10.640727695 +0200
@@ -18,8 +18,10 @@
 from setuptools.command.install     import install as orig_install
 from setuptools.command.bdist_egg   import bdist_egg as orig_bdist_egg
 from setuptools.command.sdist       import sdist as orig_sdist
-from setuptools.command.bdist_wheel import bdist_wheel as orig_bdist_wheel
-
+try:
+    from wheel.bdist_wheel import bdist_wheel as orig_bdist_wheel
+except ImportError:
+    from setuptools.command.bdist_wheel import bdist_wheel as orig_bdist_wheel
 from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
 import buildtools.version as version
 
openSUSE Build Service is sponsored by