unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Kei Kebreau <kkebreau@posteo.net>
To: 31854@debbugs.gnu.org
Cc: Kei Kebreau <kkebreau@posteo.net>
Subject: [bug#31854] [PATCH 6/8] gnu: Add perl-test-perltidy.
Date: Fri, 15 Jun 2018 22:26:52 -0400	[thread overview]
Message-ID: <20180616022654.686-5-kkebreau@posteo.net> (raw)
In-Reply-To: <20180616022654.686-1-kkebreau@posteo.net>

* gnu/packages/perl-check.scm (perl-test-perltidy): New variable.
---
 gnu/packages/perl-check.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index c70357de5..42875ac50 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -1165,6 +1165,32 @@ a minimum of effort.")
     ;; "Under the same license as Perl itself"
     (license perl-license)))
 
+(define-public perl-test-perltidy
+  (package
+    (name "perl-test-perltidy")
+    (version "20130104")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/L/LA/LARRYL/Test-PerlTidy-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1j5rsb4km9rzcbd1ljavj8vm42bmilji40v2jj2k87l1ykrxj59z"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-file-finder" ,perl-file-finder)
+       ("perl-file-slurp" ,perl-file-slurp)
+       ("perltidy" ,perltidy)
+       ("perl-text-diff" ,perl-text-diff)))
+    (home-page "http://search.cpan.org/dist/Test-PerlTidy/")
+    (synopsis "Check that all your Perl files are tidy.")
+    (description
+     "Using @code{Test::PerlTidy}, any file ending in .pl, .pm, .t or .PL will
+cause a test fail unless it is exactly as @code{perltidy} would like it to be.")
+    (license perl-license)))
+
 (define-public perl-test-trap
   (package
     (name "perl-test-trap")
-- 
2.17.1

  parent reply	other threads:[~2018-06-16  2:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-16  2:24 [bug#31854] [PATCH 1/8] gnu: Add perl-x11-protocol-other Kei Kebreau
2018-06-16  2:26 ` [bug#31854] [PATCH 2/8] gnu: Add perl-cpan-changes Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 3/8] gnu: Add perl-module-manifest Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 4/8] gnu: Add perl-test-distmanifest Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 5/8] gnu: Add perl-file-finder Kei Kebreau
2018-06-16  2:26   ` Kei Kebreau [this message]
2018-06-16  2:26   ` [bug#31854] [PATCH 7/8] gnu: perltidy: Update to 20180220 Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 8/8] gnu: clusterssh: Update to 4.13.2 Kei Kebreau
2018-06-16 22:13 ` [bug#31854] [PATCH 1/8] gnu: Add perl-x11-protocol-other Ludovic Courtès
2018-06-17  0:54   ` bug#31854: " Kei Kebreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180616022654.686-5-kkebreau@posteo.net \
    --to=kkebreau@posteo.net \
    --cc=31854@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).