#47887: cantera-devel: New subport of cantera ----------------------------+---------------------- Reporter: macports@… | Owner: larryv@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: cantera-devel | ----------------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:4 macports@…]:
OK, I added a patch for the main cantera port which includes cantera-devel as a subport.
Thanks, but I had to redo the patch. Since the `github.setup` proc sets several portfile options, it needs to be called near the beginning. Otherwise it overrides the settings from the rest of the portfile. r137350 and r137351
Everything is quite straigt-forward, except that I had to remove the line `github.tarball_from releases` from the original port. However, I don't know why this line got there in the first place, and what its advantage is. The original cantera port builds fine also without that line.
It changes the location from which MacPorts fetches the source code: - `github.tarball_from tags` (default): https://github.com/Cantera/cantera/archive/v2.2.0.tar.gz - `github.tarball_from releases`: https://github.com/Cantera/cantera/releases/download/v2.2.0/cantera-2.2.0.ta... These files usually don’t contain the same files, but they might. It depends on the project. Feel free to ask on [[MailingLists|macports-dev]] if you have more questions. -- Ticket URL: <https://trac.macports.org/ticket/47887#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X