guix-play/guix/import
Maxim Cournoyer c4797121be
import: pypi: Do not parse optional requirements from source.
* guix/import/pypi.scm: Export PARSE-REQUIRES.TXT.
(clean-requirement): Move procedure to the top level.
(guess-requirements): Move the READ-REQUIREMENTS procedure to the top level,
and rename it to PARSE-REQUIRES.TXT.  Move the CLEAN-REQUIREMENT procedure to
the top level.  Move the COMMENT? functions inside the PARSE-REQUIRES.TXT
procedure.
(parse-requires.txt): Add a SECTION-HEADER? predicate, and use it to prevent
parsing optional requirements.

* tests/pypi.scm (test-requires-with-sections): New variable.
("parse-requires.txt, with sections"): New test.
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 Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
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 Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
gem.scm import: gem: Add recursive import. 2018-07-11 07:08:54 +03:00
github.scm import: github: Sort releases before picking the latest one. 2019-05-15 13:29:50 +05:30
gnome.scm upstream: Add new GNOME updater. 2017-09-26 00:35:06 +02:00
gnu.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
hackage.scm import: hackage: Handle Hackage revisions. 2019-06-13 22:18:52 -04:00
json.scm import: json: Handle the error case. 2018-10-16 23:17:36 +02:00
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 parse optional requirements from source. 2019-07-02 10:07:59 +09:00
snix.scm build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
stackage.scm guix: import: stackage: Fix JSON accessors. 2018-10-01 12:12:08 +02:00
texlive.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
utils.scm import: crate: Define dependencies as arguments. 2019-06-11 18:05:44 -07:00