[MacPorts] #56369: github portgroup: don't override an already-specified version

MacPorts noreply at macports.org
Tue May 26 11:16:50 UTC 2020


#56369: github portgroup: don't override an already-specified version
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by ryandesign):

 One reason why `.setup` procedures are bad is that things become
 thoroughly confusing if a port needs to include two or more portgroups
 each of which has a setup procedure. See for example browser:macports-
 ports/multimedia/xmltv/Portfile. Setup procedures typically like to set
 the port name and version for you based on the parameters you specify. If
 you need to include more than one setup procedure, which one sets those
 variables for you? Which one do you call first? Does it matter?
 [https://lists.macports.org/pipermail/macports-dev/2020-May/041920.html
 Sometimes it does].

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


More information about the macports-tickets mailing list