diff options
author | wen <wen@pkgsrc.org> | 2014-05-09 15:24:03 +0000 |
---|---|---|
committer | wen <wen@pkgsrc.org> | 2014-05-09 15:24:03 +0000 |
commit | ed237a98378d1a121290f01d61e9a767133386e2 (patch) | |
tree | a9043caa21b44789075a1705efa7f15163973e88 /databases | |
parent | 607667a22bdb348bd60ba178fa93c3b715a9c93c (diff) | |
download | pkgsrc-ed237a98378d1a121290f01d61e9a767133386e2.tar.gz |
Update to 2.0.6
Upstream changes:
2.0.6 Tue Oct 22 16:17:06 UTC 2013
[ENHANCEMENTS]
- MARC::Field->as_string() now accepts an optional second
parameter to specify the delimiter to use between
subfields. (Tomas Cohen Arazi)
- MARC::Field->delete_subfield() can now accept a regexp
to specify the subfields to remove. For example, to
remove all numeric subfields, one can say:
$field->delete_subfield(code => qr/\d/);
(Jason Stephenson)
[FIXES]
- the warnings pragma is now used throughout MARC::Record
- $field->as_string('0') now returns the contents of
subfield $0 rather than the contents of all of the
subfields in the field.
- RT#88421: add newline after printing warnings
(Jason Stephenson)
- RT#85804: fix spelling glitch (Gregor Herrmann)
2.0.5 Mon Feb 11 20:39:10 PST 2013
- fix use of qw(...) in test case so that module passes
tests with Perl 5.17.x.
2.0.4 Sat Feb 9 19:01:47 PST 2013
[ENHANCEMENTS]
- add MARC::Field->set_indicator($indpos, $indval), a mutator
for indicators
- add MARC::Field->set_tag to allow tags to be renamed
(Robin Sheat)
- delete_subfield(), if given a single subfield label as its
argument, will delete all instances of the specified
subfield, increasing its DWIM factor
- improved POD for MARC::Field->delete_subfield()
[FIXES]
- RT#70346: delete_subfield() no longer clears entire field if
arguments are badly formatted
- croak if invalid arguments are passed to delete_subfield()
- fix error in tutorial (thanks to Tom Burton-West for the
catch)
- RT#76990: emit leader of correct length even if record longer
than 99,999 octets (Julian Maurice)
- RT#67094: croak with correct error if attempting to create
MARC::Field sans subfields
- corrected POD for indicator() method
- move tag validity check to new class method,
is_valid_tag($tagno)
- move indicator validity check to new class method,
is_valid_indicator($indval)
- have MARC::Record pass perlcritic --gentle (mostly)
- remove function prototypes
(see http://www.perlmonks.org/?node_id=861966)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-MARC-Record/Makefile | 5 | ||||
-rw-r--r-- | databases/p5-MARC-Record/distinfo | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/databases/p5-MARC-Record/Makefile b/databases/p5-MARC-Record/Makefile index 43202f15dfe..0390976f8a5 100644 --- a/databases/p5-MARC-Record/Makefile +++ b/databases/p5-MARC-Record/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2013/05/31 12:39:52 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2014/05/09 15:24:03 wen Exp $ -DISTNAME= MARC-Record-2.0.3 +DISTNAME= MARC-Record-2.0.6 PKGNAME= p5-${DISTNAME} -PKGREVISION= 2 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MARC/} diff --git a/databases/p5-MARC-Record/distinfo b/databases/p5-MARC-Record/distinfo index c0c26c97a3e..c964f01c321 100644 --- a/databases/p5-MARC-Record/distinfo +++ b/databases/p5-MARC-Record/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2011/08/16 20:11:31 wiz Exp $ +$NetBSD: distinfo,v 1.3 2014/05/09 15:24:03 wen Exp $ -SHA1 (MARC-Record-2.0.3.tar.gz) = e30a9a627d072330f84bd1b893cdce060cbeb951 -RMD160 (MARC-Record-2.0.3.tar.gz) = 1f60c98245c0ee4835d0344ff0126a0af031fd38 -Size (MARC-Record-2.0.3.tar.gz) = 82625 bytes +SHA1 (MARC-Record-2.0.6.tar.gz) = 9d38c2c54956d356834d7dafda16288fe7580bb1 +RMD160 (MARC-Record-2.0.6.tar.gz) = 14e7215c9547b43b1c93bce270a14fcfbedc4911 +Size (MARC-Record-2.0.6.tar.gz) = 85134 bytes |