diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-03-28 00:26:00 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-07-02 10:07:59 +0900 |
commit | c4797121beea74ae93e3ce17677b9e72b8df920d (patch) | |
tree | dbf3a5585a087b54b349908c86f32b5735e5c35a /tests/guix-archive.sh | |
parent | a853acebe1ccdba51ae509cd8a838a954c7c8bd2 (diff) | |
download | patches-c4797121beea74ae93e3ce17677b9e72b8df920d.tar patches-c4797121beea74ae93e3ce17677b9e72b8df920d.tar.gz |
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.
Diffstat (limited to 'tests/guix-archive.sh')
0 files changed, 0 insertions, 0 deletions