From e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Sat, 28 Oct 2017 18:19:33 -0500 Subject: [PATCH] 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. --- guix/import/cpan.scm | 2 +- tests/cpan.scm | 2 +- 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))