guix-devel/guix/import
Maxim Cournoyer 01589acc5e
import: pypi: Do not consider requirements.txt files.
PyPI packages are mandated to have a setup.py file, which contains a listing
of the required dependencies.  The setuptools/distutils machinery embed
metadata in the archives they produce, which contains this information. There
is no need nor gain to collect the requirements from a "requirements.txt"
file, as it is not the true record of dependencies for PyPI packages and may
contain extraneous requirements or not exist at all.

* guix/import/pypi.scm (guess-requirements): Update comment.
[guess-requirements-from-source]: Do not attempt to parse the file
requirements.txt.  Streamline logic.
* tests/pypi.scm (test-requires.txt): Rename from test-requirements, to hint
at the file being tested.
("pypi->guix-package"): Adapt so that the fake package contains a requires.txt
file rather than a requirements.txt file.
("pypi->guix-package, wheels"): Likewise.
2019-07-02 10:07:59 +09:00
..
cabal.scm import: hackage: Handle Hackage revisions. 2019-06-13 22:18:52 -04:00
cpan.scm
cran.scm import: cran: Ignore invalid packages from the system requirements. 2019-05-28 23:56:59 +02:00
crate.scm guix: import: crate: fix redundant inputs list nesting 2019-06-30 09:01:27 -07:00
elpa.scm
gem.scm
github.scm import: github: Sort releases before picking the latest one. 2019-05-15 13:29:50 +05:30
gnome.scm
gnu.scm
hackage.scm import: hackage: Handle Hackage revisions. 2019-06-13 22:18:52 -04:00
json.scm
launchpad.scm import: Add Launchpad updater. 2019-03-18 20:55:55 +05:30
opam.scm import: opam: Use dune-build-system when possible. 2019-04-10 21:39:04 +02:00
print.scm import: print: Honor the outputs of inputs (!). 2019-06-07 22:49:47 +02:00
pypi.scm import: pypi: Do not consider requirements.txt files. 2019-07-02 10:07:59 +09:00
snix.scm
stackage.scm
texlive.scm
utils.scm import: crate: Define dependencies as arguments. 2019-06-11 18:05:44 -07:00