[MacPorts] #59538: github portgroup doesn't work with default master_sites from other portgroups

MacPorts noreply at macports.org
Thu Oct 31 03:34:00 UTC 2019


#59538: github portgroup doesn't work with default master_sites from other
portgroups
---------------------+--------------------
  Reporter:  jmroot  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by ryandesign):

 Alright. It sounds like your suggestion makes sense then:

 {{{
 Index: github-1.0.tcl
 ===================================================================
 --- github-1.0.tcl      (revision 163896)
 +++ github-1.0.tcl      (working copy)
 @@ -20,8 +20,6 @@
  options github.master_sites
  default github.master_sites {${github.homepage}/tarball/${git.branch}}

 -default master_sites {${github.master_sites}}
 -
  options github.tarball_from
  default github.tarball_from tarball
  option_proc github.tarball_from handle_tarball_from
 @@ -77,6 +75,7 @@
      homepage                ${github.homepage}
      git.url                 ${github.homepage}.git
      git.branch              [join
 ${github.tag_prefix}]${github.version}[join ${github.tag_suffix}]
 +    default master_sites    {${github.master_sites}}
      distname                ${github.project}-${github.version}

      post-extract {
 }}}

 But I haven't tested this.

-- 
Ticket URL: <https://trac.macports.org/ticket/59538#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list