<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/254965c7bc035b03df93336ea78187ea19e7f438">https://github.com/macports/macports-ports/commit/254965c7bc035b03df93336ea78187ea19e7f438</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 254965c meson: switch to python 3.8
</span>254965c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 254965c7bc035b03df93336ea78187ea19e7f438
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Sun Feb 23 13:15:45 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> meson: switch to python 3.8
</span>---
devel/meson/Portfile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/meson/Portfile b/devel/meson/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a90ac6e..6e5992e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/meson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/meson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup python 1.0
</span> PortGroup github 1.0
github.setup mesonbuild meson 0.53.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
github.tarball_from releases
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,8 +29,8 @@ checksums rmd160 e15d73b1d10249365da4562d3cef3bfb4a1a56df \
</span>
# as of verison 0.45.0,requires python 3.5 or better
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 37
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.default_version 38
</span> python.link_binaries no
depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,7 +60,7 @@ post-destroot {
</span> # doing a file test for ${prefix}/bin/python3 and requiring this
# to be honest would have been much simpler, but not the "MacPorts way"
pre-test {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/bin/env python3$|/usr/bin/env python3.7|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/bin/env python3$|${python.bin}|" \
</span> ${worksrcpath}/run_tests.py \
${worksrcpath}/run_cross_test.py \
${worksrcpath}/run_meson_command_tests.py \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,7 +70,7 @@ pre-test {
</span> set testpath "${worksrcpath}/test\\ cases"
fs-traverse f ${testpath} {
if { [string match *.py ${f}] } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/bin/env python3$|/usr/bin/env python3.7|" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/bin/env python3$|${python.bin}|" ${f}
</span> }
}
}
</pre><pre style='margin:0'>
</pre>