pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Getopt-Long Update to version 2.37.
details: https://anonhg.NetBSD.org/pkgsrc/rev/02a393461b90
branches: trunk
changeset: 545134:02a393461b90
user: seb <seb%pkgsrc.org@localhost>
date: Sun Jul 27 12:53:26 2008 +0000
description:
Update to version 2.37.
While here mark this package as not requiring any compiler (empty
USE_LANGUAGES variable).
Changes since last packaged version (2.35):
Changes in version 2.37
-----------------------
* Bugfix: With gnu_compat, --foo= will no longer trigger "Option
requires an argument" but return the empty string.
Changes in version 2.36
-----------------------
**************** WARNING -- EXPERIMENTAL CODE AHEAD ****************
* Parsing options from an arbitrary array
The entry point GetOptionsFromArray (exported on demand) can be used
to parse command line options that are not passed in via @ARGV, but
using an arbitrary array.
use Getopt::Long qw(GetOptionsFromArray);
$ret = GetOptionsFromArray(\@myopts, ...);
* Parsing options from an arbitrary string
The entry point GetOptionsFromString (exported on demand) can be
used to parse command line options that are not passed in via @ARGV,
but using an arbitrary string.
use Getopt::Long qw(GetOptionsFromString);
$ret = GetOptionsFromString($optstring, ...);
Note that upon completion, no arguments may remain in the string.
If arguments may remain, call it in list context:
($ret, $args) = GetOptionsFromString($optstring, ...);
@$args will have the remaining arguments.
**************** END EXPERIMENTAL CODE ****************
* Number values for options may include underscores for readability
(just like Perls numbers).
* Bugfix for Ticket #19432 (found and fixed by khali).
* Bugfix to make it cooperate with the bignum pragma. Thanks to Merijn
and Yves.
* Various small fixes to make the test suite run under 5.004_05.
* More examples (skeletons).
diffstat:
devel/p5-Getopt-Long/Makefile | 5 +++--
devel/p5-Getopt-Long/distinfo | 8 ++++----
2 files changed, 7 insertions(+), 6 deletions(-)
diffs (33 lines):
diff -r ffec0058c9dd -r 02a393461b90 devel/p5-Getopt-Long/Makefile
--- a/devel/p5-Getopt-Long/Makefile Sun Jul 27 12:04:40 2008 +0000
+++ b/devel/p5-Getopt-Long/Makefile Sun Jul 27 12:53:26 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2008/06/20 01:09:16 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2008/07/27 12:53:26 seb Exp $
-DISTNAME= Getopt-Long-2.35
+DISTNAME= Getopt-Long-2.37
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/J/JV/JV/}
@@ -12,6 +12,7 @@
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Getopt/Long/.packlist
.include "../../lang/perl5/module.mk"
diff -r ffec0058c9dd -r 02a393461b90 devel/p5-Getopt-Long/distinfo
--- a/devel/p5-Getopt-Long/distinfo Sun Jul 27 12:04:40 2008 +0000
+++ b/devel/p5-Getopt-Long/distinfo Sun Jul 27 12:53:26 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/02/15 23:28:21 abs Exp $
+$NetBSD: distinfo,v 1.2 2008/07/27 12:53:26 seb Exp $
-SHA1 (Getopt-Long-2.35.tar.gz) = 68ef2adf585c3d5264df2c53d064dbc5ae2c3b0d
-RMD160 (Getopt-Long-2.35.tar.gz) = 99cd6e28e3e2330369113301e4c5d24df3ebbaec
-Size (Getopt-Long-2.35.tar.gz) = 36689 bytes
+SHA1 (Getopt-Long-2.37.tar.gz) = 84e231ba85f19308ff9d67be609f6bc546d5f3a6
+RMD160 (Getopt-Long-2.37.tar.gz) = e4b9a1abb4a5da2cb664e5a7d96188b3689b9700
+Size (Getopt-Long-2.37.tar.gz) = 41006 bytes
Home |
Main Index |
Thread Index |
Old Index