[MacPorts] #35862: dmd, druntime: update to 2.060; simplify
#35862: dmd, druntime: update to 2.060; simplify -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: dmd, druntime -------------------------------------+-------------------------------------- These patches update dmd and druntime to 2.060 and simplify them by removing directives that the github portgroup makes unnecessary. For druntime I also removed a reinplace that didn't seem to do anything (in this version anyway). These patches are untested because this version of dmd [ticket:35861 fails to build] for me just like the previous version did. If the previous version built for you, this version might too. -- Ticket URL: <https://trac.macports.org/ticket/35862> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: dmd, dmd-tools, druntime, phobos -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * port: dmd, druntime => dmd, dmd-tools, druntime, phobos Comment: And phobos and dmd-tools. For phobos I also removed an unused reinplace. dmd-tools was not using the github portgroup yet. I tried to convert it to do so, but it is complicated because it wants to download a distfile from the "tools" project and another distfile from the "d-programming- language.org" project. Is this necessary? If we could separate this into two ports, each of which would deal with only one distfile, that would make things much simpler. -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: dmd, dmd-tools, druntime, phobos -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Now dmd has already been updated to 2.060 in r97147, so the changes to dmd's distname should wait until the next version is released, so that users and our mirror servers don't have to download the same distfile again under a different name. -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: dmd, dmd-tools, druntime, phobos -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Never mind, I see you just committed it in r97148. :) -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: dmd, dmd-tools, druntime, phobos -------------------------------------+-------------------------------------- Comment(by takeshi@…): I committed the patches in r97148. The additional distfile contains documentation, which can be a separate port. How can I use a port name different from the one in github.setup? -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: dmd, dmd-tools, druntime, phobos -------------------------------------+-------------------------------------- Comment(by takeshi@…): I updated dmd-tools to 2.060 in r97636. tools except for dman could be separated, but dman needs files generated from doc. I don't have any idea how to separate the two to use github portgroup at this time. -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch | Port: dmd, dmd-tools, druntime, phobos -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:4 takeshi@…]:
How can I use a port name different from the one in github.setup?
Write your own name line right after the github.setup line. -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -----------------------------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: dmd, dmd-tools, druntime, phobos | -----------------------------------------------+----------------------- Comment (by ryandesign@…): dmd-tools is now using the github portgroup, but could still use further cleanup, such as: * remove the `dlang` variable since you already have the `github.author` variable with the same value * remove the `realname` variable and just set it directly in the `github.setup` line; then you can use the `github.project` variable wherever else you need it * remove the `foreach` loop in the `destroot` block; use `eval xinstall -W` instead * use `system -W ... "..."` instead of `system "cd ...; ..."` -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#35862: dmd, dmd-tools, druntime, phobos: update to 2.060; simplify -----------------------------------------------+----------------------- Reporter: ryandesign@… | Owner: takeshi@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: dmd, dmd-tools, druntime, phobos | -----------------------------------------------+----------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: Thanks for your comments. Now Portfile looks much neater in r105209 (dmd- tools) and in r105210 (phobos) than in r105204. I close this ticket now. -- Ticket URL: <https://trac.macports.org/ticket/35862#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts