<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f2ac18b0ef4713b8d6433a21f5c62fc48f66972e">https://github.com/macports/macports-ports/commit/f2ac18b0ef4713b8d6433a21f5c62fc48f66972e</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 f2ac18b0ef4 python311: update to 3.11.10
</span>f2ac18b0ef4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f2ac18b0ef4713b8d6433a21f5c62fc48f66972e
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Sep 7 15:33:47 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> python311: update to 3.11.10
</span>---
lang/python311/Portfile | 24 +++++++++++++-----------
python/py-gdbm/Portfile | 8 ++++----
python/py-tkinter/Portfile | 8 ++++----
3 files changed, 21 insertions(+), 19 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python311/Portfile b/lang/python311/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8a88e90bf2a..cffd6540149 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python311/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python311/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortSystem 1.0
</span> name python311
# Remember to keep py311-tkinter and py311-gdbm's versions sync'd with this
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.11.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.11.10
</span>
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,9 +21,9 @@ master_sites ${homepage}ftp/python/${version}/
</span>
distname Python-${version}
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 22ea467e7d915477152e99d5da856ddc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 3f817129ad823ef32cee7bb361e80f5867473ff1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9b1e896523fc510691126c864406d9360a3d1e986acbda59cda57b5abda45b87
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 af59e243df4c7019f941ae51891c10bc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 368bf1987aca1e5ec617af8513165085a091accc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
</span>
patchfiles patch-setup.py.diff \
patch-Lib-cgi.py.diff \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,9 +105,7 @@ test.target test
</span> destroot.target frameworkinstall maninstall
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set framewpath ${frameworks_dir}/Python.framework
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set framewdir ${framewpath}/Versions/${branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set confdir config-${branch}-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set abiflags {}
</span>
post-configure {
# poll() misbehaves on 10.8 and older
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -118,6 +116,10 @@ platform darwin {
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framewpath ${frameworks_dir}/Python.framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framewdir ${framewpath}/Versions/${branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set confdir config-${branch}${abiflags}-darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> foreach dir { Headers Resources Python Versions/Current } {
file delete ${destroot}${framewpath}/${dir}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -136,15 +138,15 @@ platform darwin {
</span> set lfs_pattern {^([[:space:]]*'LINKFORSHARED':).*}
set lfs_replacement "\\1 '-L${framewdir}/lib/python${branch}/${confdir} -lpython${branch} -ldl -framework CoreFoundation',"
reinplace -E s|${lfs_pattern}|${lfs_replacement}| \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${libdir}/_sysconfigdata__darwin_darwin.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/_sysconfigdata_${abiflags}_darwin_darwin.py
</span>
# remove -arch flags from the config
reinplace -E {s|-arch [a-z0-9_]+||g} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${libdir}/_sysconfigdata__darwin_darwin.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/_sysconfigdata_${abiflags}_darwin_darwin.py
</span>
# also remove gettext overlinking
reinplace "s|-lintl||" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${libdir}/_sysconfigdata__darwin_darwin.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libdir}/_sysconfigdata_${abiflags}_darwin_darwin.py
</span>
# recompile the modified file
set python_for_build python.exe
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -152,7 +154,7 @@ platform darwin {
</span> if {![file exists ${worksrcpath}/${python_for_build}]} {
set python_for_build python
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "env DYLD_FRAMEWORK_PATH=. ./${python_for_build} -E -m compileall -d [shellescape ${framewdir}/lib/python${branch}] -o 0 -o 1 -o 2 [shellescape ${libdir}/_sysconfigdata__darwin_darwin.py]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "env DYLD_FRAMEWORK_PATH=. ./${python_for_build} -E -m compileall -d [shellescape ${framewdir}/lib/python${branch}] -o 0 -o 1 -o 2 [shellescape ${libdir}/_sysconfigdata_${abiflags}_darwin_darwin.py]"
</span>
# Also make the sysconfig changes in the Makefile
reinplace {s|^\(LINKFORSHARED=\).*$|\1 -L$(LIBPL) -lpython$(VERSION)$(ABIFLAGS) $(LIBS) $(SYSLIBS)|} \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gdbm/Portfile b/python/py-gdbm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2f679659c28..9c6bb14ae58 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gdbm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gdbm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -134,12 +134,12 @@ subport py310-gdbm {
</span> }
subport py311-gdbm {
maintainers {jmr @jmroot}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.11.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.11.10
</span> revision 0
homepage https://docs.python.org/release/${version}/library/dbm.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums md5 22ea467e7d915477152e99d5da856ddc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 3f817129ad823ef32cee7bb361e80f5867473ff1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9b1e896523fc510691126c864406d9360a3d1e986acbda59cda57b5abda45b87
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 af59e243df4c7019f941ae51891c10bc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 368bf1987aca1e5ec617af8513165085a091accc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
</span> livecheck.regex {Python (3\.11\.[0-9]+)}
}
subport py312-gdbm {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tkinter/Portfile b/python/py-tkinter/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2e4bf2a3245..c0b84cff178 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tkinter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tkinter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -125,12 +125,12 @@ subport py310-tkinter {
</span> }
subport py311-tkinter {
maintainers {jmr @jmroot}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.11.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.11.10
</span> revision 0
homepage https://docs.python.org/release/${version}/library/tkinter.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums md5 22ea467e7d915477152e99d5da856ddc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 3f817129ad823ef32cee7bb361e80f5867473ff1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9b1e896523fc510691126c864406d9360a3d1e986acbda59cda57b5abda45b87
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 af59e243df4c7019f941ae51891c10bc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 368bf1987aca1e5ec617af8513165085a091accc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
</span> }
subport py312-tkinter {
maintainers {jmr @jmroot}
</pre><pre style='margin:0'>
</pre>