guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eric Bavier
Subject: 03/03: import: cpan: Add trailing "/" on home-page.
Date: Sun, 29 Oct 2017 00:27:52 -0400 (EDT)

bavier pushed a commit to branch master
in repository guix.

commit e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296
Author: Eric Bavier <address@hidden>
Date:   Sat Oct 28 18:19:33 2017 -0500

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]