[MacPorts] #68218: py-nodeenv: rename to "nodeenv", dropping the "py-" prefix
MacPorts
noreply at macports.org
Fri Sep 22 17:23:18 UTC 2023
#68218: py-nodeenv: rename to "nodeenv", dropping the "py-" prefix
--------------------------+------------------------
Reporter: gwerbin | Owner: reneeotten
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-nodeenv |
--------------------------+------------------------
Comment (by gwerbin):
Thanks for the response.
I looked into how Pre-commit uses it and it seems like it's a gray area.
They do only use it as a CLI tool, but they take pains to ensure that it
always runs with the same Python executable as Pre-commit itself:
https://github.com/pre-commit/pre-
commit/blob/84f91646bbfb38cd58d56a0f192a05d42b9cdab5/pre_commit/languages/node.py#L86
Therefore Nodeenv itself is only ever used as a CLI tool, but the way
they're using it, it does look like you do need the version-specific
subports. So yes, it sounds like my request isn't actually a good idea.
However, a nodeenv_select package might be nice to provide a plain
`nodeenv` executable without the version suffix.
--
Ticket URL: <https://trac.macports.org/ticket/68218#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list