[MacPorts] #68218: py-nodeenv: rename to "nodeenv", dropping the "py-" prefix

MacPorts noreply at macports.org
Fri Sep 22 01:08:49 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   |
--------------------------+--------------------------
Changes (by reneeotten):

 * cc: reneeotten@… (removed)


Comment:

 It is certainly possible that it's primary intended use is as a CLI tool.
 However, in this case the `pre-commit` package depend on it and uses it as
 a Python module. That is the reason it is a `pyXY-nodeenv` port and thus I
 will not change it.
 You can certainly use it as a CLI tool and install, for example, the
 `py311-nodeenv` subport; the CLI tool will be installed as `nodeenv-3.11`
 suffixed by the Python version. That allows to install it for different
 Python versions side-by-side.

 I guess one could circumvent potential issues by making sure that the
 Python versions for `pre-commit` and the `nodeenv` port are always the
 same. But then again, it works perfectly fine as is and I see no reason
 for a change. Your thoughts?

-- 
Ticket URL: <https://trac.macports.org/ticket/68218#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list