From d439aa36ce6274b0efbd93cf6ca3f27112df2b9d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 2 Nov 2016 11:51:46 +0100 Subject: gnu: perl-test-simple: Update to 1.302062. * gnu/packages/perl.scm (perl-test-simple): Update to 1.302062. --- gnu/packages/perl.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 5305a0d6d5..6b12b346bf 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2013 Andreas Enge -;;; Copyright © 2015 Ricardo Wurmus +;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2015, 2016 Eric Bavier ;;; Copyright © 2015 Eric Dvorsak ;;; Copyright © 2016 Mark H Weaver @@ -6053,14 +6053,14 @@ makes fork(2) safe to use in test cases.") (define-public perl-test-simple (package (name "perl-test-simple") - (version "1.302026") + (version "1.302062") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/" "Test-Simple-" version ".tar.gz")) (sha256 (base32 - "1mq1sykv48rgjamw4wxa290mnyjm0dw9w9lpzncnac9gfx18vm72")))) + "1sjny65iwnin35lvc203pb07gyx9wrp3gmn6lfrjsbmi986hcab7")))) (build-system perl-build-system) (synopsis "Basic utilities for writing tests") (description -- cgit v1.2.3 From e681e347c4ed071db88442c2c592241ea0f43857 Mon Sep 17 00:00:00 2001 From: Alex Sassmannshausen Date: Wed, 2 Nov 2016 13:55:02 +0100 Subject: gnu: Add perl-getopt-long. * gnu/packages/perl.scm (perl-getopt-long): New variable. Signed-off-by: Marius Bakke --- gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/perl.scm') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 6b12b346bf..6b3d0a7868 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2685,6 +2685,34 @@ functionality; it returns a list of file names that match the given pattern. For instance, it supports the @code{**/*.pm} form.") (license (package-license perl)))) +(define-public perl-getopt-long + (package + (name "perl-getopt-long") + (version "v2.49.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/J/JV/JV/" + "Getopt-Long-" (substring version 1) ".tar.gz")) + (sha256 + (base32 + "0bw8gbhj8s5gmkqvs3m7pk9arqhgqssrby4yimh29ah9alix9ylq")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Getopt-Long") + (synopsis "Module to handle parsing command line options") + (description "The @code{Getopt::Long} module implements an extended getopt +function called @code{GetOptions()}. It parses the command line from +@code{ARGV}, recognizing and removing specified options and their possible +values. + +This function adheres to the POSIX syntax for command line options, with GNU +extensions. In general, this means that options have long names instead of +single letters, and are introduced with a double dash \"--\". Support for +bundling of command line options, as was the case with the more traditional +single-letter approach, is provided but not enabled by default.") + ;; Can be used with either license. + (license (list (package-license perl) gpl2+)))) + (define-public perl-getopt-long-descriptive (package (name "perl-getopt-long-descriptive") -- cgit v1.2.3