<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fffb864fdcdb1ec3d1f2d6b7ff08ecdf4317467c">https://github.com/macports/macports-ports/commit/fffb864fdcdb1ec3d1f2d6b7ff08ecdf4317467c</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 fffb864 mm-common: ensure MacPorts Python 3.8 is used
</span>fffb864 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fffb864fdcdb1ec3d1f2d6b7ff08ecdf4317467c
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Mar 27 02:22:25 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> mm-common: ensure MacPorts Python 3.8 is used
</span>---
gnome/mm-common/Portfile | 12 +++++--
gnome/mm-common/files/patch-use-our-python3.diff | 40 ++++++++++++++++++++++++
2 files changed, 49 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/mm-common/Portfile b/gnome/mm-common/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e556ef4..9e9c604 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/mm-common/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/mm-common/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup meson 1.0
</span>
name mm-common
version 1.0.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> license GPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,12 +38,18 @@ depends_build-append \
</span> port:curl \
port:wget
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:python38
</span>
patchfiles patch-use-our-python3.diff
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@PYTHON3_BIN@@|${prefix}/bin/python3.7|" ${worksrcpath}/meson.build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PYTHON3_BIN@@|${prefix}/bin/python3.8|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/meson.build \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/util/mm-common-get.in \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/util/build_scripts/dist-build-scripts.py \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/util/build_scripts/doc-reference.py \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/util/build_scripts/dist-changelog.py \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/util/build_scripts/generate-binding.py
</span> }
livecheck.type gnome
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/mm-common/files/patch-use-our-python3.diff b/gnome/mm-common/files/patch-use-our-python3.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 42b4ceb..b8f2cd9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/mm-common/files/patch-use-our-python3.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/mm-common/files/patch-use-our-python3.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,3 +9,43 @@
</span> python_version = python3.language_version()
python_version_req = '>= 3.5'
if not python_version.version_compare(python_version_req)
<span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util/mm-common-get.in.orig 2019-10-29 10:37:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util/mm-common-get.in 2020-03-27 14:49:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#!/usr/bin/env python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#!@@PYTHON3_BIN@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Copyright (C) 2019 The gtkmm Development Team
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util/build_scripts/dist-build-scripts.py.orig 2019-10-29 10:37:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util/build_scripts/dist-build-scripts.py 2020-03-27 14:50:31.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#!/usr/bin/env python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#!@@PYTHON3_BIN@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # External command, intended to be called with meson.add_dist_script() in meson.build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util/build_scripts/doc-reference.py.orig 2019-10-29 10:37:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util/build_scripts/doc-reference.py 2020-03-27 14:51:40.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#!/usr/bin/env python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#!@@PYTHON3_BIN@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # External command, intended to be called with custom_target(),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # meson.add_install_script() or meson.add_dist_script() in meson.build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util/build_scripts/dist-changelog.py.orig 2019-10-29 10:37:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util/build_scripts/dist-changelog.py 2020-03-27 14:52:47.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#!/usr/bin/env python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#!@@PYTHON3_BIN@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # External command, intended to be called with meson.add_dist_script() in meson.build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- util/build_scripts/generate-binding.py.orig 2019-10-29 10:37:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ util/build_scripts/generate-binding.py 2020-03-27 14:53:35.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#!/usr/bin/env python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#!@@PYTHON3_BIN@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # External command, intended to be called with run_command(), custom_target(),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # meson.add_install_script() and meson.add_dist_script().
</span></pre><pre style='margin:0'>
</pre>