guix-devel/guix/import
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
..
cabal.scm packages: Use '@' in package record printers. 2016-01-28 16:31:38 +01:00
cpan.scm
cran.scm import: Add Bioconductor importer and updater. 2016-01-20 12:41:28 +01:00
elpa.scm packages: Use '@' in package record printers. 2016-01-28 16:31:38 +01:00
gem.scm import: gem: Add updater. 2016-02-20 20:46:10 +10:00
github.scm import: Add github-updater. 2016-02-26 22:06:34 -05:00
gnu.scm import: gnu: Update to the (guix upstream) API. 2015-11-03 00:59:28 +01:00
hackage.scm import: hackage: Handle CRLF end of line style. 2015-11-26 18:17:23 +01:00
json.scm
pypi.scm import: pypi: Emit 'pypi-uri' only when it yields the right URL. 2016-03-19 23:54:19 +01:00
snix.scm import: snix: Use the right 'package-name->name+version'. 2016-03-06 23:16:35 +01:00
utils.scm import: cran: Move beautify-description to utils module. 2016-01-14 19:44:36 +10:00