<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/60ecd19335f09b5abffcb3bbb8fd3d82b2860e04">https://github.com/macports/macports-ports/commit/60ecd19335f09b5abffcb3bbb8fd3d82b2860e04</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 60ecd19 python35: update to 3.5.6
</span>60ecd19 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 60ecd19335f09b5abffcb3bbb8fd3d82b2860e04
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Aug 4 17:27:17 2018 +1000
<span style='display:block; white-space:pre;color:#404040;'> python35: update to 3.5.6
</span>---
lang/python35/Portfile | 86 ++++++++++++++++++++++++++++------------------
python/py-gdbm/Portfile | 10 +++---
python/py-tkinter/Portfile | 8 ++---
3 files changed, 61 insertions(+), 43 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python35/Portfile b/lang/python35/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b6aaf3f..3410ce4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python35/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python35/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,8 +7,7 @@ name python35
</span>
epoch 20170810
# Remember to keep py35-tkinter and py35-gdbm's versions sync'd with this
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.5.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.5.6
</span>
set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,9 +25,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 f3763edf9824d5d3a15f5f646083b6e0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 dd0b7b9e093312b854b7ba56afbe12a655934744 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 f5a99f765e765336a3ebbb2a24ca2be3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 5a02cb3664ad98d1767c79dfdd88a850b866241f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f55cde04f521f273c7cba08912921cc5642cfc15ca7b22d5829f0aff4371155f
</span>
patchfiles patch-setup.py.diff \
patch-Lib-cgi.py.diff \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,8 +90,6 @@ set pythonNoDot python[string map {. {}} $branch]
</span> select.entries [list python python-$pythonNoDot $pythonNoDot] \
[list python3 python3-$pythonNoDot $pythonNoDot]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set confdir config-${branch}m
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> notes "
To make this the default Python or Python 3 (i.e., the version run by\
the 'python' or 'python3' commands), run one or both of:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -101,41 +98,62 @@ the 'python' or 'python3' commands), run one or both of:
</span> sudo port select --set python3 $pythonNoDot
"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span> set framewpath ${frameworks_dir}/Python.framework
set framewdir ${framewpath}/Versions/${branch}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set confdir config-${branch}m
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach dir { Headers Resources Python Versions/Current } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete ${destroot}${framewpath}/${dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See https://trac.macports.org/ticket/18376
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set buildlibdir [lindex [glob -directory ${worksrcpath}/build lib.*-*-*-${branch}] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Without this, LINKFORSHARED is set to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (this becomes Python.framework/Versions/3.5/Python) which doesn't
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # work for dependents that incorrectly use this variable to find out
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # how to link against python (see ticket #15099); instead we mirror
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the behavior of `python-config --ldflags` here.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${buildlibdir} "awk -F : \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \"/'LINKFORSHARED'/ {printf \\\"%s: '-L${framewdir}/lib/python${branch}/${confdir}\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -lpython${branch}m -ldl -framework CoreFoundation',\\n\\\", \\\$1; getline; next} {print}\"\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _sysconfigdata.py > _sysconfigdata.py.new"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename -force ${buildlibdir}/_sysconfigdata.py.new \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${buildlibdir}/_sysconfigdata.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove -arch flags from the config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|-arch [a-z0-9_]+||g} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${buildlibdir}/_sysconfigdata.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # also remove gettext overlinking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-lintl||" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${buildlibdir}/_sysconfigdata.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dir { Headers Resources Python Versions/Current } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}${framewpath}/${dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${framewdir}/share/man/man1/python${branch}.1 ${destroot}${prefix}/share/man/man1/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Without this, LINKFORSHARED is set to
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # ... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (this becomes Python.framework/Versions/3.5/Python) which doesn't
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # quite work (see ticket #15099); instead we mirror the behavior of
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # `python-config --ldflags` here.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace {s|^\(LINKFORSHARED=\).*$|\1 -L$(LIBPL) -lpython$(VERSION)$(ABIFLAGS) $(LIBS) $(SYSLIBS)|} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${framewdir}/lib/python${branch}/config-3.5m/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # remove -arch flags from the config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E {s|-arch [a-z0-9_]+||g} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${framewdir}/lib/python${branch}/${confdir}/Makefile \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${framewdir}/lib/python${branch}/_sysconfigdata.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # also remove gettext overlinking
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|-lintl||" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${framewdir}/lib/python${branch}/${confdir}/Makefile \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${framewdir}/lib/python${branch}/_sysconfigdata.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach unversioned {2to3 idle3 pydoc3 python3 python3-config pyvenv} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/bin/${unversioned}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${framewdir}/share/man/man1/python${branch}.1 ${destroot}${prefix}/share/man/man1/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${framewdir}/lib/pkgconfig/python-${branch}.pc ${destroot}${prefix}/lib/pkgconfig/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${framewdir}/lib/pkgconfig/python-${branch}.pc ${destroot}${prefix}/lib/pkgconfig/python-${branch}m.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Also make the sysconfig changes in the Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s|^\(LINKFORSHARED=\).*$|\1 -L$(LIBPL) -lpython$(VERSION)$(ABIFLAGS) $(LIBS) $(SYSLIBS)|} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${framewdir}/lib/python${branch}/${confdir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|-arch [a-z0-9_]+||g} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${framewdir}/lib/python${branch}/${confdir}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-lintl||" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${framewdir}/lib/python${branch}/${confdir}/Makefile
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # See https://trac.macports.org/ticket/18376
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "ed - pyconfig.h < ${filespath}/pyconfig.ed"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach unversioned {2to3 idle3 pydoc3 python3 python3-config pyvenv} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/bin/${unversioned}
</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 6b4e153..9fb92be 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;'>@@ -97,13 +97,13 @@ subport py34-gdbm {
</span> subport py35-gdbm {
maintainers {jmr @jmroot} openmaintainer
epoch 20170810
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.5.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.5.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span> homepage https://docs.python.org/release/${version}/library/dbm.html
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums md5 f3763edf9824d5d3a15f5f646083b6e0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 dd0b7b9e093312b854b7ba56afbe12a655934744 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 f5a99f765e765336a3ebbb2a24ca2be3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 5a02cb3664ad98d1767c79dfdd88a850b866241f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f55cde04f521f273c7cba08912921cc5642cfc15ca7b22d5829f0aff4371155f
</span> set setup_py "setup-py3k.py"
set extract_files "Modules/_gdbmmodule.c Modules/clinic/_gdbmmodule.c.h"
livecheck.regex Python (3.5.\[0-9\]+)
<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 d2c5bcf..77e5cb4 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;'>@@ -91,13 +91,13 @@ subport py34-tkinter {
</span> subport py35-tkinter {
maintainers {jmr @jmroot} openmaintainer
epoch 20170810
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 3.5.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.5.6
</span> revision 0
homepage https://docs.python.org/release/${version}/library/tkinter.html
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums md5 f3763edf9824d5d3a15f5f646083b6e0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 dd0b7b9e093312b854b7ba56afbe12a655934744 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums md5 f5a99f765e765336a3ebbb2a24ca2be3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 5a02cb3664ad98d1767c79dfdd88a850b866241f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f55cde04f521f273c7cba08912921cc5642cfc15ca7b22d5829f0aff4371155f
</span> append extract_files " Modules/tkinter.h Modules/clinic/_tkinter.c.h"
set module_name tkinter
}
</pre><pre style='margin:0'>
</pre>