<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/5f81595772bf45d7eeb0bdd3070a7326fb280f29">https://github.com/macports/macports-ports/commit/5f81595772bf45d7eeb0bdd3070a7326fb280f29</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 5f81595772b python39: update to 3.9.20
</span>5f81595772b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5f81595772bf45d7eeb0bdd3070a7326fb280f29
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Sep 7 16:06:11 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> python39: update to 3.9.20
</span>---
lang/python39/Portfile | 29 ++++++++++++++++-------------
lang/python39/files/implicit-int.patch | 11 +++++++++++
python/py-gdbm/Portfile | 8 ++++----
python/py-tkinter/Portfile | 8 ++++----
4 files changed, 35 insertions(+), 21 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python39/Portfile b/lang/python39/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9a25e954e48..7778249beeb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python39/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python39/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortSystem 1.0
</span> name python39
# Remember to keep py39-tkinter and py39-gdbm's versions sync'd with this
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.9.19
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.9.20
</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 87d0f8281237b972ff8b23e0e2c8d325 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 b46fbe50a0cace4a6ecdb70d026a32932427f566 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d4892cd1618f6458cb851208c030df1482779609d0f3939991bd38184f8c679e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 bdcda0fdb99e7e17018f6886fae5e1fd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 4190efcea276ad7a9562c1af54837c26053b1261 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6b281279efd85294d2d6993e173983a57464c0133956fbbb5536ec9646beaf0c
</span>
patchfiles patch-setup.py.diff \
patch-Lib-cgi.py.diff \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,7 +32,8 @@ patchfiles patch-setup.py.diff \
</span> patch-libedit.diff \
patch-configure-xcode4bug.diff \
sysconfig.py.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- libedit-types.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libedit-types.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit-int.patch
</span>
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
# work around no copyfile and/or pthread_threadid_np on older systems
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,7 +41,7 @@ if {${os.platform} eq "darwin" && ${os.major} <= 10} {
</span> patch-threadid-older-systems.diff
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build path:bin/pkg-config:pkgconfig
</span> depends_lib port:bzip2 \
port:expat \
port:gettext-runtime \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -96,9 +97,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;'>@@ -111,6 +110,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;'>@@ -129,15 +132,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;'>@@ -145,7 +148,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/lang/python39/files/implicit-int.patch b/lang/python39/files/implicit-int.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..77ac16b45bc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python39/files/implicit-int.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2024-09-07 15:50:42
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2024-09-07 15:53:52
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11158,7 +11158,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void *foo(void *parm) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- main() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int main(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pthread_attr_t attr;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pthread_t id;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (pthread_attr_init(&attr)) return (-1);
</span><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 9efc337909f..6ff2cdf8403 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;'>@@ -114,12 +114,12 @@ subport py38-gdbm {
</span> }
subport py39-gdbm {
maintainers {jmr @jmroot}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.9.19
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.9.20
</span> revision 0
homepage https://docs.python.org/release/${version}/library/dbm.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums md5 87d0f8281237b972ff8b23e0e2c8d325 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 b46fbe50a0cace4a6ecdb70d026a32932427f566 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d4892cd1618f6458cb851208c030df1482779609d0f3939991bd38184f8c679e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 bdcda0fdb99e7e17018f6886fae5e1fd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 4190efcea276ad7a9562c1af54837c26053b1261 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6b281279efd85294d2d6993e173983a57464c0133956fbbb5536ec9646beaf0c
</span> livecheck.regex {Python (3\.9\.[0-9]+)}
}
subport py310-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 1c65b1098b8..f7ad69fbafb 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;'>@@ -107,12 +107,12 @@ subport py38-tkinter {
</span> }
subport py39-tkinter {
maintainers {jmr @jmroot}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.9.19
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.9.20
</span> revision 0
homepage https://docs.python.org/release/${version}/library/tkinter.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums md5 87d0f8281237b972ff8b23e0e2c8d325 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 b46fbe50a0cace4a6ecdb70d026a32932427f566 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d4892cd1618f6458cb851208c030df1482779609d0f3939991bd38184f8c679e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 bdcda0fdb99e7e17018f6886fae5e1fd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 4190efcea276ad7a9562c1af54837c26053b1261 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6b281279efd85294d2d6993e173983a57464c0133956fbbb5536ec9646beaf0c
</span> }
subport py310-tkinter {
maintainers {jmr @jmroot}
</pre><pre style='margin:0'>
</pre>