pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/p5-MARC-Record Update to 2.0.6
details: https://anonhg.NetBSD.org/pkgsrc/rev/260493093f2f
branches: trunk
changeset: 634132:260493093f2f
user: wen <wen%pkgsrc.org@localhost>
date: Fri May 09 15:24:03 2014 +0000
description:
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:
databases/p5-MARC-Record/Makefile | 5 ++---
databases/p5-MARC-Record/distinfo | 8 ++++----
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 6ae095749def -r 260493093f2f databases/p5-MARC-Record/Makefile
--- a/databases/p5-MARC-Record/Makefile Fri May 09 12:14:58 2014 +0000
+++ b/databases/p5-MARC-Record/Makefile Fri May 09 15:24:03 2014 +0000
@@ -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 -r 6ae095749def -r 260493093f2f databases/p5-MARC-Record/distinfo
--- a/databases/p5-MARC-Record/distinfo Fri May 09 12:14:58 2014 +0000
+++ b/databases/p5-MARC-Record/distinfo Fri May 09 15:24:03 2014 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index