import: cpan: Add trailing "/" on home-page.
authorEric Bavier <bavier@member.fsf.org>
Sat, 28 Oct 2017 23:19:33 +0000 (18:19 -0500)
committerEric Bavier <bavier@member.fsf.org>
Sat, 28 Oct 2017 23:20:59 +0000 (18:20 -0500)
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
tests/cpan.scm

index 15b121e..5ba1adf 100644 (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"))))))
index 91e2cc6..e5bd0ae 100644 (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))