import: pypi: Support exporting packages with .zip source.
authorJakub Kądziołka <kuba@kadziolka.net>
Wed, 5 Feb 2020 18:45:48 +0000 (19:45 +0100)
committerMarius Bakke <mbakke@fastmail.com>
Wed, 5 Feb 2020 21:03:35 +0000 (22:03 +0100)
commit9d0dfd9a9a7c43363a4e140c20d49f119fe6f2e3
treed1f3643f7dd8b188b03c5bb7139bd0b4d6ec3cc1
parent0c101a04f04fc36586763b3d1b50e87cd0582e23
import: pypi: Support exporting packages with .zip source.

* guix/import/pypi.scm (make-pypi-sexp): Rename test-inputs to
  native-inputs. Restructure the way pypi-uri parameters are generated.
  Use pypi-uri's extension parameter when required. Add "unzip" to
  native inputs when the package source is a zip file.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
guix/import/pypi.scm