<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/43fa62e3cd97c26170da5f061717b18ed41f8d7e">https://github.com/macports/macports-ports/commit/43fa62e3cd97c26170da5f061717b18ed41f8d7e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 43fa62e3cd97c26170da5f061717b18ed41f8d7e
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Apr 27 05:06:34 2018 -0700

<span style='display:block; white-space:pre;color:#404040;'>    cargo PG: remove unnecessary if clause
</span>---
 _resources/port1.0/group/cargo-1.0.tcl | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/cargo-1.0.tcl b/_resources/port1.0/group/cargo-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 6cfedca..2d8ae84 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/cargo-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/cargo-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -195,13 +195,11 @@ post-extract {
</span>     puts $conf "\[source.crates-io\]"
     puts $conf "replace-with = \"macports\""
     puts $conf "local-registry = \"/var/empty\""
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {[llength ${cargo.crates_github}] > 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        foreach {cname cgithub cbranch crevision chksum} ${cargo.crates_github} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            puts $conf "\[source.\"https://github.com/${cgithub}\"\]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            puts $conf "git = \"https://github.com/${cgithub}\""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            puts $conf "branch = \"${cbranch}\""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            puts $conf "replace-with = \"macports\""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach {cname cgithub cbranch crevision chksum} ${cargo.crates_github} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        puts $conf "\[source.\"https://github.com/${cgithub}\"\]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        puts $conf "git = \"https://github.com/${cgithub}\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        puts $conf "branch = \"${cbranch}\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        puts $conf "replace-with = \"macports\""
</span>     }
     close $conf
 
</pre><pre style='margin:0'>

</pre>