[MacPorts] #46017: dub: package and build management system for D
#46017: dub: package and build management system for D -----------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: dub -----------------------------+-------------------------------- MacPorts provides the dmd compiler for the D language. Since "dub" has become the official system to build and package for D (in the sense that it is developed alongside dmd, phobos, etc: [https://github.com/D -Programming-Language here]), it makes sense for MacPorts to feature it too. -- Ticket URL: <https://trac.macports.org/ticket/46017> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: takeshi@… (added) Comment: Thanks. What you're doing in the patch phase should be changed to use the MacPorts `reinplace` command. -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by luc_j_bourhis@…): Replying to [comment:1 ryandesign@…]:
What you're doing in the patch phase should be changed to use the MacPorts `reinplace` command.
Thanks. I uploaded a new Portfile with that change. -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. Using "`use_configure no`" means you're also responsible for writing code to ensure the port is UsingTheRightCompiler and `-arch` flags, and adding a universal variant if possible. -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by luc_j_bourhis@…): I see. I will try to replace the upstream build.sh by a proper MacPorts set up then. -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by takeshi@…): Where does dub install D packages? -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by luc_j_bourhis@…): Replying to [comment:5 takeshi@…]:
Where does dub install D packages? In ~/.dub by default. This can be changed with the command-line option --cache, I have been told, but I have never tried.
Note that dub does also create files in /tmp -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by luc_j_bourhis@…): The upstream script build.sh I used in my first attempt added a spurious dependency on pkg-config. So I added a Makefile instead. Still no need for configuration I think. Especially dmd should correctly compile a 32- or 64-bit executable depending on the platform but I don't have a 32-bit MacOS system to test that it is indeed so. Moreover I would not know how to build an universal executable with dmd. -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by quest@…): What is the status of this? I could use dub =) -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dub | ------------------------------+-------------------------------- Comment (by shammah.chancellor@…): Replying to [ticket:46017 luc_j_bourhis@…]:
MacPorts provides the dmd compiler for the D language. Since "dub" has become the official system to build and package for D (in the sense that it is developed alongside dmd, phobos, etc: [https://github.com/D -Programming-Language here]), it makes sense for MacPorts to feature it too.
What's the blocker here? Can this be merged? Dub is the package manager for dlang and is extremely useful. -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#46017: dub: package and build management system for D ------------------------------+-------------------------------- Reporter: luc_j_bourhis@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: dub | ------------------------------+-------------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: r140140. Thanks to Sean. -- Ticket URL: <https://trac.macports.org/ticket/46017#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts