import: cpan: Add trailing "/" on home-page.

This appeases 'guix lint', which otherwise complains about permanent
redirects.

* guix/import/cpan.scm (cpan-module->sexp): Add trailing "/" on home-page.
* tests/cpan.scm ("cpan->guix-package"): Adjust accordingly.
This commit is contained in:
Eric Bavier 2017-10-28 18:19:33 -05:00
parent 23055424f2
commit e4bc172730
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ META."
(convert-inputs '("configure" "build" "test")))
,@(maybe-inputs 'propagated-inputs
(convert-inputs '("runtime")))
(home-page ,(string-append "http://search.cpan.org/dist/" name))
(home-page ,(string-append "http://search.cpan.org/dist/" name "/"))
(synopsis ,(assoc-ref meta "abstract"))
(description fill-in-yourself!)
(license ,(string->license (assoc-ref meta "license"))))))

View File

@ -97,7 +97,7 @@
('propagated-inputs
('quasiquote
(("perl-test-script" ('unquote 'perl-test-script)))))
('home-page "http://search.cpan.org/dist/Foo-Bar")
('home-page "http://search.cpan.org/dist/Foo-Bar/")
('synopsis "Fizzle Fuzz")
('description 'fill-in-yourself!)
('license 'perl-license))