[MacPorts] #47051: pass @1.6.5 add variant for gnupg21 dependency
#47051: pass @1.6.5 add variant for gnupg21 dependency -------------------------+-------------------------------- Reporter: edwin@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: pass -------------------------+-------------------------------- this patch is based on updated Portfile from ticket #47050 adds support for the new GnuPG 2.1.x port variant description could be better -- Ticket URL: <https://trac.macports.org/ticket/47051> MacPorts <https://www.macports.org/> Ports system for OS X
#47051: pass @1.6.5 add variant for gnupg21 dependency --------------------------+-------------------------------- Reporter: edwin@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: pass | --------------------------+-------------------------------- Comment (by john@…): Thanks for this too. However, rather than introducing a variant, I think a bin dependency would be the way to go. That is: {{{ depends_run bin:gpg2:gnupg2 }}} This will use the `gpg2` executable provided by either `gnupg2` or `gnupg21` if one is installed, or otherwise install `gnupg2`. Note that I've not actually tried this in practice -- I'll do so when I get chance, but feel free to see if it works for you and submit a new patch if you have time. -- Ticket URL: <https://trac.macports.org/ticket/47051#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47051: pass @1.6.5 add variant for gnupg21 dependency --------------------------+-------------------------------- Reporter: edwin@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: pass | --------------------------+-------------------------------- Comment (by john@…): I've added a dependency of the sort I suggest to the updated portfile in #47050. I prefer that to the variant originally suggested here. -- Ticket URL: <https://trac.macports.org/ticket/47051#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47051: pass @1.6.5 add variant for gnupg21 dependency --------------------------+-------------------- Reporter: edwin@… | Owner: john@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pass | --------------------------+-------------------- Changes (by mf2k@…): * cc: john@… (removed) * owner: macports-tickets@… => john@… * version: 2.3.3 => -- Ticket URL: <https://trac.macports.org/ticket/47051#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47051: pass @1.6.5 add variant for gnupg21 dependency --------------------------+-------------------- Reporter: edwin@… | Owner: john@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: pass | --------------------------+-------------------- Changes (by ionic@…): * cc: ionic@… (added) * status: new => closed * resolution: => fixed Comment: Fixed by r138163. -- Ticket URL: <https://trac.macports.org/ticket/47051#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47051: pass @1.6.5 add variant for gnupg21 dependency --------------------------+-------------------- Reporter: edwin@… | Owner: john@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: pass | --------------------------+-------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: A `bin:`-style dependency should only be used if you want to allow a binary outside of MacPorts to be able to satisfy the dependency. Usually we do not want that. If you only want to allow binaries provided by MacPorts ports to satisfy the dependency, but there are multiple ports that could provide it, then use a `path:`-style dependency (`path:bin/gpg2:gnupg2`). -- Ticket URL: <https://trac.macports.org/ticket/47051#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47051: pass @1.6.5 add variant for gnupg21 dependency --------------------------+-------------------- Reporter: edwin@… | Owner: john@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: pass | --------------------------+-------------------- Comment (by ionic@…): Updated in r138311. It shouldn't make a big difference, though, as Apple doesn't (yet) ship any gnupg version. Problems with MacGPG, which installs to `/usr/local`, are unlikely because the default `PATH` value for MacPorts does not include `/usr/local/bin`. -- Ticket URL: <https://trac.macports.org/ticket/47051#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts