import: pypi: Detect inputs.
authorCyril Roelandt <tipecaml@gmail.com>
Thu, 26 Feb 2015 01:07:53 +0000 (02:07 +0100)
committerCyril Roelandt <tipecaml@gmail.com>
Wed, 24 Jun 2015 20:47:59 +0000 (22:47 +0200)
commitff986890ece06b0623a7c8b3048dea1206f076ea
treec9bd5d004be8d46f4fae9d44617ac8c413d43d94
parenteae5b3fff54e6f0a38d03d01187142accbed1eb8
import: pypi: Detect inputs.

* guix/import/pypi.scm (python->package-name, maybe-inputs, compute-inputs,
  guess-requirements): New procedures.
* guix/import/pypi.scm (guix-hash-url): Now takes a filename instead of an
  URL as input.
* guix/import/pypi.scm (make-pypi-sexp): Now tries to generate the inputs
  automagically.
* tests/pypi.scm: Update the test.
guix/import/pypi.scm
tests/pypi.scm