[MacPorts] #37595: p5-app-ack: Rename to ack
#37595: p5-app-ack: Rename to ack -------------------------+---------------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: rename | Port: p5-app-ack ack -------------------------+---------------------------- The p5-app-ack port does not provide a perl module but an application. Currently there are several ports where each installs a different `ack-5.XY`. Subports work for modules targeting multiple versions of perl5, but this is not useful for an application. This port should be available as plain `ack` -- Ticket URL: <https://trac.macports.org/ticket/37595> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Description changed by raimue@…: Old description:
The p5-app-ack port does not provide a perl module but an application. Currently there are several ports where each installs a different `ack-5.XY`. Subports work for modules targeting multiple versions of perl5, but this is not useful for an application.
This port should be available as plain `ack`
New description: The p5-app-ack port does not provide a perl module but an application. Currently there are several ports where each installs a different `ack-5.XY`. Subports work for modules targeting multiple versions of perl5, but this is not useful for an application. This port should be available as plain `ack`. -- -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by mschout@…): Replying to [ticket:37595 raimue@…]:
The p5-app-ack port does not provide a perl module but an application. Currently there are several ports where each installs a different `ack-5.XY`. Subports work for modules targeting multiple versions of perl5, but this is not useful for an application.
This port should be available as plain `ack`.
It *is* available as plain ack. You just need to set your path properly. If you prefer version 5.14 of perl for example, your path needs to have /opt/local/libexec/perl5.14 in it. This is how macports handles bin scripts for multiple versions of perl. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by raimue@…): Please apply the patch like this to record the copy information properly: {{{ trunk/dports $ svn cp perl/p5-app-ack devel/ack trunk/dports $ svn patch /tmp/ack-rename.diff }}} -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by raimue@…): Replying to [comment:2 mschout@…]:
It *is* available as plain ack. You just need to set your path properly. If you prefer version 5.14 of perl for example, your path needs to have /opt/local/libexec/perl5.14 in it. This is how macports handles bin scripts for multiple versions of perl.
In my opinion, for modules it's important to have them available for all available versions of perl. But this does not make sense for a tool like ack. Why do I have to choose from these different versions? Why do I have to change my PATH to use this tool? -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by mschout@…): I do not know why macports does things this way. Honestly this is why I prefer perlbrew for things like this. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by raimue@…): See also this thread on macports-dev: https://lists.macosforge.org/pipermail/macports- dev/2013-January/021485.html -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by neil@…): User expectation is that I type "port install p5-app-ack" and can then type "ack foobar" to use the tool I just installed. Telling me on some trac page that I had difficulty finding that I need to update my path after installing p5-app-ack to get the "ack" command is really not acceptable. I'd rather install the tool from source, which is probably not one of the aims of macports. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by mschout@…): I don't disagree with anything here, but I have no idea how, or if its even possible, to fix this in the current macports infrastructure. I don't really have any idea how this could be fixed in the port. If anyone wants to take a stab at it, patches are welcome. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by raimue@…): Well, what about the patch I attached here? Why is it even called p5-app- ack? I just want the tool `ack` and I don't care which language it is written in. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by mschout@…): Replying to [comment:11 raimue@…]:
Well, what about the patch I attached here? Why is it even called p5 -app-ack? I just want the tool `ack` and I don't care which language it is written in.
But your patch does not install 'ack' It installs /opt/local/bin/ack-5.12. This hardly seems like an improvement other than the name of the port is changed. I'd rather see this fixed in a way that you get /opt/local/bin/ack installed from the port, but as said above, I have no idea if thats even possible within the constraints of macports perl build system. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: rename Port: p5-app-ack ack | -----------------------------+----------------------- Comment (by raimue@…): You could always add an additional symlink. I have not checked whether the perl port group allows to leave out the version suffix with some option. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: p5-app-ack ack | -----------------------------+----------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * keywords: rename => Comment: Replying to [comment:13 raimue@…]:
I have not checked whether the perl port group allows to leave out the version suffix with some option.
It does; set `perl5.link_binaries_suffix` to empty. Perl app ports are expected to do this. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#37595: p5-app-ack: Rename to ack -----------------------------+----------------------- Reporter: raimue@… | Owner: mschout@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: p5-app-ack ack | -----------------------------+----------------------- Changes (by ryandesign@…): * status: new => closed * keywords: => haspatch * resolution: => fixed Comment: Fixed in r123593. Thanks Rainer for the patch. -- Ticket URL: <https://trac.macports.org/ticket/37595#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts