[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42085] [PATCH 4/6] gnu: Add python-nodeenv.
From: |
Vinicius Monego |
Subject: |
[bug#42085] [PATCH 4/6] gnu: Add python-nodeenv. |
Date: |
Tue, 21 Jul 2020 15:42:37 -0300 |
User-agent: |
Evolution 3.30.5-1.1 |
Em seg, 2020-07-20 às 23:25 +0200, Marius Bakke escreveu:
> We often omit the python- prefix for packages that are not used as a
> library, i.e. Python packages that produce a "normal program". Is
> that
> the case here?
It does provide an executable. It's a tool like virtualenv, but for
Node packages instead of Python.
> Perhaps it would make sense to place this in (gnu packages node) as
> simply "nodeenv"?
IIUC the {language} modules are for packages affiliated with the
foundation behind the language, or other compiler or interpreter
implementations. That's not the case here.
> > + (native-inputs
> > + `(("python-coverage" ,python-coverage)
> > + ("python-flake8" ,python-flake8)
> > + ("python-mock" ,python-mock)
> > + ("python-pytest" ,python-pytest)
> > + ("python-tox" ,python-tox)))
>
> 'python-tox' can probably be removed since we call out to pytest
> directly. Some packages needlessly test for it though, in that case
> you
> can remove it from requirements-dev.txt with substitute*.
Removed. I also removed flake8, since it's only used in the tox.ini
file.