<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ff3f98d9151529cc80c29a5a63f011bc4e913a2a">https://github.com/macports/macports-ports/commit/ff3f98d9151529cc80c29a5a63f011bc4e913a2a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ff3f98d9151529cc80c29a5a63f011bc4e913a2a
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Feb 26 08:15:49 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> portgroups: use smart default for extract.rename
</span>---
_resources/port1.0/group/github-1.0.tcl | 6 +++---
_resources/port1.0/group/gitlab-1.0.tcl | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/github-1.0.tcl b/_resources/port1.0/group/github-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 44346ac4f96..0dc037aedc4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/github-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/github-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,11 +39,11 @@ proc handle_tarball_from {option action args} {
</span> }
archive {
github.master_sites ${github.homepage}/archive/${git.branch}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default extract.rename yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default extract.rename {[expr {[llength ${extract.only}] == 1}]}
</span> }
tarball {
github.master_sites https://codeload.github.com/${github.author}/${github.project}/legacy.tar.gz/${git.branch}?dummy=
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default extract.rename yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default extract.rename {[expr {[llength ${extract.only}] == 1}]}
</span> }
tags {
return -code error "the value \"tags\" is deprecated for github.tarball_from. Please use \"tarball\" instead."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,7 +82,7 @@ proc github.setup {gh_author gh_project gh_version {gh_tag_prefix ""} {gh_tag_su
</span> default master_sites {${github.master_sites}}
distname ${github.project}-${github.version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default extract.rename yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default extract.rename {[expr {[llength ${extract.only}] == 1}]}
</span>
# If the version is composed entirely of hex characters, and is at least 7
# characters long, and is not exactly 8 decimal digits (which might be a
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/gitlab-1.0.tcl b/_resources/port1.0/group/gitlab-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index c34f8bcef84..88313f7d4ae 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/gitlab-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/gitlab-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,7 +51,7 @@ proc gitlab.setup {gl_author gl_project gl_version {gl_tag_prefix ""} {gl_tag_su
</span>
# When fetching from a tag, the extracted directory name will contain a
# truncated commit hash.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default extract.rename yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default extract.rename {[expr {[llength ${extract.only}] == 1}]}
</span>
# If the version is composed entirely of hex characters, and is at least 7
# characters long, and is not exactly 8 decimal digits (which might be a
</pre><pre style='margin:0'>
</pre>