<pre style='margin:0'>
Umesh Singla (umeshksingla) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/252f381b9a06126f9b9772fe688ab7de488e4ed2">https://github.com/macports/macports-ports/commit/252f381b9a06126f9b9772fe688ab7de488e4ed2</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 252f381b9a06126f9b9772fe688ab7de488e4ed2
</span>Author: umeshksingla <umeshksingla@macports.org>
AuthorDate: Sat Oct 12 23:57:27 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> Submit negative variants
</span>---
sysutils/mpstats/Portfile | 2 +-
sysutils/mpstats/files/mpstats.tcl | 7 ++++++-
2 files changed, 7 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 7c3120c..eb629d8 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;'>@@ -2,7 +2,7 @@ PortSystem 1.0
</span>
name mpstats
version 0.1.8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 6
</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 300d561..79b3332 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;'>@@ -353,7 +353,12 @@ proc get_installed_ports {active} {
</span> } else {
set irequested ""
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set ivariantlist [split_variants $ivariants]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set nvariants [registry::property_retrieve $regref "negated_variants"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$nvariants == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set nvariants ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ivariantlist [split_variants "$ivariants$nvariants"]
</span>
lappend results [list name $iname version "${iversion}_${irevision}" requested $irequested variants $ivariantlist]
}
</pre><pre style='margin:0'>
</pre>