[112592] trunk/dports/_resources/port1.0/group/github-1.0.tcl

jberry at macports.org jberry at macports.org
Sun Oct 27 11:33:38 PDT 2013


Revision: 112592
          https://trac.macports.org/changeset/112592
Author:   jberry at macports.org
Date:     2013-10-27 11:33:38 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
Revert r112573. Support only github tags fetching until we decide to cut-over to using releases/archives.

Revision Links:
--------------
    https://trac.macports.org/changeset/112573

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/github-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/github-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/github-1.0.tcl	2013-10-27 18:25:05 UTC (rev 112591)
+++ trunk/dports/_resources/port1.0/group/github-1.0.tcl	2013-10-27 18:33:38 UTC (rev 112592)
@@ -52,17 +52,13 @@
 default github.tarball_from {tags}
 option_proc github.tarball_from handle_tarball_from
 proc handle_tarball_from {option action args} {
-    global github.author github.project github.tag_prefix github.version github.master_sites
-    
+    global github.author github.project github.master_sites
+
     # keeping the default at tags like many portfiles already do
     # the port writer can set github.tarball_from to "downloads" and have the URI path accordingly changed
     if {${action} eq "set" && $args eq "downloads"} {
         github.tarball_from ${args}
         github.master_sites https://github.com/downloads/${github.author}/${github.project}
-    } elseif {${action} eq "set" && $args eq "archive"} {
-        github.tarball_from ${args}
-        github.master_sites https://github.com/${github.author}/${github.project}/archive
-        distname            [join ${github.tag_prefix} ""]${github.version}
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/519b1fbf/attachment.html>


More information about the macports-changes mailing list