diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-03-12 11:04:00 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-12 11:52:37 +0100 |
commit | 7657e61d6b33fe758fd69355ed53efbd5310743c (patch) | |
tree | 548d01dbd7c126a2970660032995f7f390c86d4d /tests/guix-pack-localstatedir.sh | |
parent | a20cfe71e9cd9450e9cfbe9e4bc478a0c726a2af (diff) |
import: pypi: Rewrite to use 'define-json-mapping'.
* guix/import/pypi.scm (non-empty-string-or-false): New procedure.
(<pypi-project>, <project-info>, <distribution>): New record types.
(pypi-fetch): Call 'json->pypi-project'.
(latest-source-release, latest-wheel-release): Use the new record
accessors instead of 'assoc-ref*'.
(pypi->guix-package, latest-release): Likewise.
* tests/pypi.scm (test-json): Add mandatory fields.
Diffstat (limited to 'tests/guix-pack-localstatedir.sh')
0 files changed, 0 insertions, 0 deletions