From 9804dcc96b7a1eb57c9689662bd29d0383c1696f Mon Sep 17 00:00:00 2001 From: mef Date: Fri, 12 Dec 2014 04:43:16 +0000 Subject: Update 1.68 to 1.70 ------------------- 1.70 Sat Jan 25 06:44:12 PST 2014 - Minor patch to 1.69, as encoding function is only reliably supported by Perl newer than v5.8.1. - Patch internal method openFileWithEncoding(), so that older Perl version will not give an error. - Fixed a warning in fromFileGuessOS, introduced in 1.69. 1.69 Tue Jan 14 10:22:19 PST 2014 Fix a minor bug in pivot() related to colToSplitIsStringOrNumeric. Integer column names are allowed. However, fromFile by default does not take numeric column names, unless allowNumericHeader is set to 1. Patch fromFile(), checkHeader(), colIndex(), fromFileIsHeader(), fromFileGetTopLines() to support numeric column header. An integer is first interpreted as a column name. Therefore, accessing a column by its ordinal number may not be possible, if the number is used as a column name. In such case, first fetch the corresponding column name and access by name. Support file encoding methods in fromFile, fromCSV, fromTSV. E.g., fromCSV("filename, 1, undef, {encoding=> 'UTF-8'}) UTF-8 is the default encoding, can be controlled by $Data::Table::DEFAULTS{ENCODING}. Thanks to questions asked by Sergio Basto and Thomas Hofmann. If an integer is passed to colIndex(), it is interpreted as string first for column lookup. fromFile by default will allow numeric headers (but not all column headers can be numeric). support skip_empty in melt(); --- databases/p5-Data-Table/Makefile | 5 ++--- databases/p5-Data-Table/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'databases/p5-Data-Table') diff --git a/databases/p5-Data-Table/Makefile b/databases/p5-Data-Table/Makefile index 32cad811506..96533b9006f 100644 --- a/databases/p5-Data-Table/Makefile +++ b/databases/p5-Data-Table/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.16 2014/10/09 14:06:06 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2014/12/12 04:43:16 mef Exp $ -DISTNAME= Data-Table-1.68 +DISTNAME= Data-Table-1.70 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/} diff --git a/databases/p5-Data-Table/distinfo b/databases/p5-Data-Table/distinfo index c5a5ad1ae30..fdf50378720 100644 --- a/databases/p5-Data-Table/distinfo +++ b/databases/p5-Data-Table/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2013/12/12 01:30:17 wen Exp $ +$NetBSD: distinfo,v 1.6 2014/12/12 04:43:16 mef Exp $ -SHA1 (Data-Table-1.68.tar.gz) = 8e21ffe77daf7d7d972336a4f35b47948ed0df96 -RMD160 (Data-Table-1.68.tar.gz) = ac087e8ca4602cc0212f2802dc4bb87d160f34a2 -Size (Data-Table-1.68.tar.gz) = 66302 bytes +SHA1 (Data-Table-1.70.tar.gz) = 41f17874a9d2df90b9a1771b859a25225d5c476a +RMD160 (Data-Table-1.70.tar.gz) = 4e78d9088b8ff288a37bbc7fd2465d87dddb2e1b +Size (Data-Table-1.70.tar.gz) = 67218 bytes -- cgit v1.2.3