Files
ports/x11-toolkits/py-wxpython/files/patch-setup.py
T
Charlie Li b5e003c2fd x11-toolkits/py-wxpython: rename and update to 4.2.4
Changelog: https://www.wxpython.org/news/2025-10-28-wxpython-424-release/index.html

- now builds under USE_PYTHON=pep517
- future-proof for setuptools update
- sync dependencies
- expose test suite

Event: Winter Field Day 2026
2026-01-26 13:43:48 -05:00

17 lines
755 B
Python

remove after setuptools update past 70.1
--- setup.py.orig 2025-10-29 00:38:50 UTC
+++ setup.py
@@ -18,7 +18,10 @@ from setuptools.command.sdist import sdist as or
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 setuptools.command.bdist_wheel import bdist_wheel as orig_bdist_wheel
+except ImportError:
+ from wheel.bdist_wheel import bdist_wheel as orig_bdist_wheel
# Alter the path so that buildtools can be imported from the current directory.
sys.path.insert(0, os.path.dirname(__file__))