<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/13a2e531beb2bbd933bd41e81b017e360db962b2">https://github.com/macports/macports-ports/commit/13a2e531beb2bbd933bd41e81b017e360db962b2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 13a2e531beb py-wxpython-4.0: update to version 4.2.1
</span>13a2e531beb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 13a2e531beb2bbd933bd41e81b017e360db962b2
</span>Author: Pieter van Oostrum <pieter@vanoostrum.org>
AuthorDate: Wed May 31 10:02:06 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> py-wxpython-4.0: update to version 4.2.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> And add Python 3.11
</span>---
python/py-wxpython-4.0/Portfile | 14 +++++++-------
.../py-wxpython-4.0/files/buildtools_config_py.patch | 18 ------------------
2 files changed, 7 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-wxpython-4.0/Portfile b/python/py-wxpython-4.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 365bb270302..277b0a2d55e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-wxpython-4.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-wxpython-4.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup python 1.0
</span> name py-wxpython-4.0
python.rootname wxPython
# check kicad's version before updating
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 4.2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 4.2.1
</span> revision 0
categories-append graphics devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,7 +14,7 @@ license wxwidgets-3.1
</span> platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Python interface to the wxWidgets 4.1 cross platform GUI
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Python interface to the wxWidgets 3.2 cross platform GUI
</span> long_description wxPython is a GUI toolkit for the Python programming \
language. It allows Python programmers to create \
programs with a robust, highly functional graphical \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,11 +24,11 @@ long_description wxPython is a GUI toolkit for the Python programming \
</span>
homepage https://www.wxpython.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 8e9cd80107d9a3d20d7d69697dd15ded4932ead5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 663cebc4509d7e5d113518865fe274f77f95434c5d57bc386ed58d65ceed86c7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 70958238
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ff4d6710cfd293d63ffe6baa1255acf6e604a26b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e48de211a6606bf072ec3fa778771d6b746c00b7f4b970eb58728ddf56d13d5c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 73724359
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 37 38 39 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 37 38 39 310 311
</span>
if {${name} ne ${subport}} {
patchfiles-append buildtools_config_py.patch buildtools_build_wxwidgets_py.patch build_py.patch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +48,7 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-numpy \
port:py${python.version}-pillow \
port:py${python.version}-six \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-sip4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-sip \
</span> port:py${python.version}-pathlib2
build.env-append SIP=${python.prefix}/bin/sip
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-wxpython-4.0/files/buildtools_config_py.patch b/python/py-wxpython-4.0/files/buildtools_config_py.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index a4a83544e90..f573b0bbf2f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-wxpython-4.0/files/buildtools_config_py.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-wxpython-4.0/files/buildtools_config_py.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,5 @@
</span> --- buildtools/config.py.orig
+++ buildtools/config.py
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -27,8 +27,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import distutils.sysconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--from attrdict import AttrDict
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- runSilently = False
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #----------------------------------------------------------------------
</span> @@ -826,7 +824,7 @@
line = line.strip()
endPos = line.rfind(' (')
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,12 +9,3 @@
</span> cmd = 'install_name_tool -change %s %s %s' % (curName, newName, filename)
os.system(cmd)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -992,6 +990,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if MSVCinfo is not None:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return MSVCinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ from attrdict import AttrDict
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Note that it starts with a monkey-patch in setuptools.msvc to
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # workaround this issue: pypa/setuptools#1902
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cmd = \
</span></pre><pre style='margin:0'>
</pre>