aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2017-10-28 18:19:33 -0500
committerEric Bavier <bavier@member.fsf.org>2017-10-28 18:20:59 -0500
commite4bc1727302b0e1e255ea5cf4e2ccf33cafe7296 (patch)
tree330a84724ff9d96031ab9dae1d01483c9c5e302b
parent23055424f2628470a864106dbc4d4acb003399ee (diff)
downloadgnu-guix-e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296.tar
gnu-guix-e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296.tar.gz
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.
-rw-r--r--guix/import/cpan.scm2
-rw-r--r--tests/cpan.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index 15b121e829..5ba1adf402 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -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"))))))
diff --git a/tests/cpan.scm b/tests/cpan.scm
index 91e2cc6814..e5bd0ae3a4 100644
--- a/tests/cpan.scm
+++ b/tests/cpan.scm
@@ -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))