<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/562e8d75b3156897568ff903b2efc053301bf601">https://github.com/macports/macports-ports/commit/562e8d75b3156897568ff903b2efc053301bf601</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 562e8d75b31 pg mpiutil: cleanup error messages
</span>562e8d75b31 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 562e8d75b3156897568ff903b2efc053301bf601
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Thu May 20 19:34:33 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> pg mpiutil: cleanup error messages
</span>---
_resources/port1.0/group/mpiutil-1.0.tcl | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/mpiutil-1.0.tcl b/_resources/port1.0/group/mpiutil-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 22f162e5ff7..83304237572 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/mpiutil-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/mpiutil-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,12 +26,13 @@ proc mpiutil_add_subport {name subport key} {
</span>
# TODO: Remove all traces of -devel on or after Janurary 2022
subport ${name}-devel-${key} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup obsolete 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set msg "Devel subports no longer supported"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span> distfiles
pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- error "${subport} is currently broken"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error ${msg}
</span> }
replaced_by ${name}-${key}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,17 +44,19 @@ proc mpiutil_validate_subport {name subport cname clist clist_unsupported clist_
</span>
set subport_enabled no
if {${cname} in ${clist_unsupported}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set msg "${subport} is not supported on ${os.platform} ${os.major}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span> pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- error "${subport} is not supported on ${os.platform} ${os.major}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error ${msg}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- append long_description " Note: ${subport} not supported on ${os.platform} ${os.major}."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description-append "\nNOTE: ${msg}"
</span> } elseif {${cname} in ${clist_obsolete}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup obsolete 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set msg "${subport} is obsolete"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span> pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- error "${subport} is obsolete"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error ${msg}
</span> }
if {[string match "clang*" ${cname}]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -62,7 +65,7 @@ proc mpiutil_validate_subport {name subport cname clist clist_unsupported clist_
</span> replaced_by ${name}-gcc7
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- append long_description " Note: ${subport} is obsolete."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description-append "\nNOTE: ${msg}"
</span> } elseif {${subport} ne ${name}} {
set subport_enabled yes
</pre><pre style='margin:0'>
</pre>