guix-devel/guix/import
Maxim Cournoyer f0190a5dcd
import: pypi: Parse wheel METADATA instead of metadata.json.
With newer Wheel releases, there is no more metadata.json file; the METADATA
file should be used instead (see: https://github.com/pypa/wheel/issues/195).

This change updates our PyPI importer so that it uses the latter.

* guix/import/pypi.scm (define-module): Remove unnecessary modules and export
the PARSE-WHEEL-METADATA procedure.
(parse-wheel-metadata): Add procedure.
(guess-requirements): Use it.
* tests/pypi.scm (test-metadata): Test it.
2019-07-02 10:08:00 +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: Parse wheel METADATA instead of metadata.json. 2019-07-02 10:08:00 +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