<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8589ac6fd930ae5c5cc893e8cf8ce60b11e7ba6c">https://github.com/macports/macports-ports/commit/8589ac6fd930ae5c5cc893e8cf8ce60b11e7ba6c</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 8589ac6fd93 github: Fix tarball and archive URLs
</span>8589ac6fd93 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 8589ac6fd930ae5c5cc893e8cf8ce60b11e7ba6c
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Nov 26 12:46:15 2021 -0600

<span style='display:block; white-space:pre;color:#404040;'>    github: Fix tarball and archive URLs
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    GitHub.com appears to have changed how tarball and archive downloads
</span><span style='display:block; white-space:pre;color:#404040;'>    work and the URLs we were using before no longer work. Use new URLs.
</span>---
 _resources/port1.0/group/github-1.0.tcl | 8 ++++----
 emulators/mame/Portfile                 | 4 +---
 2 files changed, 5 insertions(+), 7 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 9d4e66844ff..78599613c68 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;'>@@ -18,13 +18,13 @@ default github.raw {https://raw.githubusercontent.com/${github.author}/${github.
</span> 
 # Later code assumes that github.master_sites is a simple string, not a list.
 options github.master_sites
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default github.master_sites {${github.homepage}/tarball/${git.branch}}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default github.master_sites {https://codeload.github.com/${github.author}/${github.project}/legacy.tar.gz/${git.branch}?dummy=}
</span> 
 options github.tarball_from
 default github.tarball_from tarball
 option_proc github.tarball_from handle_tarball_from
 proc handle_tarball_from {option action args} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    global github.author github.project github.master_sites git.branch github.homepage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    global extract.suffix git.branch github.author github.homepage github.master_sites github.project
</span> 
     if {${action} eq "set"} {
         github.tarball_from ${args}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,10 +36,10 @@ proc handle_tarball_from {option action args} {
</span>                 github.master_sites ${github.homepage}/releases/download/${git.branch}
             }
             archive {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                github.master_sites ${github.homepage}/archive/${git.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                github.master_sites https://codeload.github.com/${github.author}/${github.project}/tar.gz/refs/tags/${git.branch}?dummy=
</span>             }
             tarball {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                github.master_sites ${github.homepage}/tarball/${git.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                github.master_sites https://codeload.github.com/${github.author}/${github.project}/legacy.tar.gz/${git.branch}?dummy=
</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;color:#808080;'>diff --git a/emulators/mame/Portfile b/emulators/mame/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3be79a52ff7..9473171ddb9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/mame/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/mame/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -121,9 +121,7 @@ set g_mame_version_string \
</span>     ]
 
 github.setup        mamedev mame ${g_mame_release} mame
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# REVIEW: May be fixable via 'github' portgroup options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.master_sites ${github.homepage}/archive/refs/tags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${name}${g_mame_release}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span> 
 # Note: Version declaration must occur after 'github.setup', as the latter
 # sets our version whether we want it or not.
</pre><pre style='margin:0'>

</pre>