<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fa340cffb0886fb4fbca6b4ce05e590322675962">https://github.com/macports/macports-ports/commit/fa340cffb0886fb4fbca6b4ce05e590322675962</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 fa340cffb08 mpstats: Do not submit minor version on macOS 11
</span>fa340cffb08 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fa340cffb0886fb4fbca6b4ce05e590322675962
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Tue Dec 1 23:46:40 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> mpstats: Do not submit minor version on macOS 11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/61712
</span>---
sysutils/mpstats/Portfile | 2 +-
sysutils/mpstats/files/mpstats.tcl | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mpstats/Portfile b/sysutils/mpstats/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0293c6fa696..4072e2d85a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mpstats/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mpstats/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,7 +1,7 @@
</span> PortSystem 1.0
name mpstats
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.1.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.2.0
</span> categories sysutils macports
license BSD
platforms darwin
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mpstats/files/mpstats.tcl b/sysutils/mpstats/files/mpstats.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 86222cee769..4aef9bba736 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mpstats/files/mpstats.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mpstats/files/mpstats.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -384,7 +384,13 @@ proc action_stats {subcommands} {
</span>
# Build dictionary of os information
dict set os macports_version [macports::version]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- dict set os osx_version ${macports::macosx_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # TODO Remove this if and just use macosx_version after 2.7.0 has been
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # released, since that will change the meaning of macosx_version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${macports::macosx_version} 11] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dict set os osx_version [lindex [split ${macports::macosx_version} .] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dict set os osx_version [join [lrange [split ${macports::macosx_version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> dict set os os_arch ${macports::os_arch}
dict set os os_platform ${macports::os_platform}
dict set os build_arch ${macports::build_arch}
</pre><pre style='margin:0'>
</pre>