Ludovic Courtès 522773b700 import: pypi: Emit 'pypi-uri' only when it yields the right URL.
Fixes <http://bugs.gnu.org/23062>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* guix/import/pypi.scm (make-pypi-sexp): Check whether 'pypi-uri'
returns SOURCE-URL and fall back to the full URL otherwise.
* tests/pypi.scm ("pypi->guix-package"): Adjust expected URI
accordingly.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>
2016-03-19 23:54:19 +01:00
..
2015-10-20 00:57:36 +02:00
2015-06-24 18:05:03 +02:00
2015-11-26 22:35:01 +01:00
2015-11-26 22:35:01 +01:00
2016-03-01 16:00:46 +01:00
2015-10-19 10:10:47 +02:00
2014-02-21 23:49:52 +01:00
2015-11-26 18:17:23 +01:00
2014-03-31 23:34:20 +02:00
2015-09-18 21:42:06 +03:00
2015-01-11 23:50:01 +01:00
2015-10-06 23:51:04 +02:00