<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6fc1b3911f865edce6f9996b11d48cda1d8aeded">https://github.com/macports/macports-ports/commit/6fc1b3911f865edce6f9996b11d48cda1d8aeded</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 6fc1b3911f8 ninja: migrate from python2 to MP python3
</span>6fc1b3911f8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6fc1b3911f865edce6f9996b11d48cda1d8aeded
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Feb 9 14:21:15 2022 +0000
<span style='display:block; white-space:pre;color:#404040;'> ninja: migrate from python2 to MP python3
</span>---
devel/ninja/Portfile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ninja/Portfile b/devel/ninja/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fddf3208a30..eb9588035e8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ninja/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ninja/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span>
epoch 1
github.setup ninja-build ninja 1.10.2 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span>
checksums rmd160 1346989347fbb47b7211c1a49d5f9236f3027488 \
sha256 ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,7 +43,12 @@ patchfiles patch-configure.py-bootstrap-only.diff \
</span> depends_build-append \
port:re2c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python /usr/bin/python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver 3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_nodot [string map {. {}} ${py_ver}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:python${py_ver_nodot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python ${prefix}/bin/python${py_ver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> default configure.cmd \
{${configure.python}}
configure.pre_args configure.py
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,11 +80,6 @@ destroot {
</span> }
platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 10 || ${os.major} > 20} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${os.major} == 8} {
patchfiles-append patch-tiger-no-posix-spawn.diff
patchfiles-append patch-tiger-sysconf.diff
</pre><pre style='margin:0'>
</pre>