r26526 - in /branches/upstream/libspreadsheet-read-perl/current: Changes META.yml Makefile.PL README Read.pm examples/xlscat
ghostbar-guest at users.alioth.debian.org
ghostbar-guest at users.alioth.debian.org
Sun Nov 2 08:02:38 UTC 2008
Author: ghostbar-guest
Date: Sun Nov 2 08:02:35 2008
New Revision: 26526
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26526
Log:
[svn-upgrade] Integrating new upstream version, libspreadsheet-read-perl (0.29)
Modified:
branches/upstream/libspreadsheet-read-perl/current/Changes
branches/upstream/libspreadsheet-read-perl/current/META.yml
branches/upstream/libspreadsheet-read-perl/current/Makefile.PL
branches/upstream/libspreadsheet-read-perl/current/README
branches/upstream/libspreadsheet-read-perl/current/Read.pm
branches/upstream/libspreadsheet-read-perl/current/examples/xlscat
Modified: branches/upstream/libspreadsheet-read-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libspreadsheet-read-perl/current/Changes?rev=26526&op=diff
==============================================================================
--- branches/upstream/libspreadsheet-read-perl/current/Changes (original)
+++ branches/upstream/libspreadsheet-read-perl/current/Changes Sun Nov 2 08:02:35 2008
@@ -1,4 +1,12 @@
Revision history for Spreadsheet::Read
+
+0.29 Tue 21 Oct 2008
+
+ - Make Read safer for files that do not match extension,
+ like HTML in foo.xls
+ - YAML declared 1.4 (META.yml) instead of 1.1 (YAML)
+ - Bring Makefile.PL in sync with META.yml
+ - Recommend Text-CSV-0.56
0.28 Wed 04 Sep 2008
Modified: branches/upstream/libspreadsheet-read-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libspreadsheet-read-perl/current/META.yml?rev=26526&op=diff
==============================================================================
--- branches/upstream/libspreadsheet-read-perl/current/META.yml (original)
+++ branches/upstream/libspreadsheet-read-perl/current/META.yml Sun Nov 2 08:02:35 2008
@@ -1,6 +1,6 @@
---- #YAML:1.4
+--- #YAML:1.1
name: Read
-version: 0.28
+version: 0.29
abstract: Meta-Wrapper for reading spreadsheet data
license: perl
author:
@@ -10,7 +10,7 @@
provides:
Spreadsheet::Read:
file: Read.pm
- version: 0.28
+ version: 0.29
requires:
perl: 5.006
Exporter: 0
@@ -31,7 +31,7 @@
recommends:
Text::CSV: 1
Text::CSV_PP: 1.05
- Text::CSV_XS: 0.54
+ Text::CSV_XS: 0.56
- opt_excel:
description: Provides parsing of Microsoft Excel files
requires:
Modified: branches/upstream/libspreadsheet-read-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libspreadsheet-read-perl/current/Makefile.PL?rev=26526&op=diff
==============================================================================
--- branches/upstream/libspreadsheet-read-perl/current/Makefile.PL (original)
+++ branches/upstream/libspreadsheet-read-perl/current/Makefile.PL Sun Nov 2 08:02:35 2008
@@ -24,6 +24,7 @@
PREREQ_PM => {
# Core modules
"Exporter" => 0.00,
+ "Carp" => 0.00,
"Data::Dumper" => 0.00,
"File::Temp" => 0.14,
"IO::Scalar" => 0.00, # Optional
@@ -34,6 +35,7 @@
"Text::CSV_PP" => 1.05, # 1.08 or up preferred
"Spreadsheet::ReadSXC" => 0.20,
"Spreadsheet::ParseExcel" => 0.26,
+ "Spreadsheet::ParseExcel::FmtDefault" => 0,
# "Spreadsheet::Perl" => 0.00, # Not yet
# For testing
@@ -87,7 +89,8 @@
'',
'tgzdist: checkmeta fixmeta $(DISTVNAME).tar.gz distcheck',
' - at mv -f $(DISTVNAME).tar.gz $(DISTVNAME).tgz',
- ' - at cpants_lint.pl $(DISTVNAME).tgz';
+ ' - at cpants_lint.pl $(DISTVNAME).tgz',
+ ' - at rm -f Debian_CPANTS.txt';
} # postamble
1;
Modified: branches/upstream/libspreadsheet-read-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libspreadsheet-read-perl/current/README?rev=26526&op=diff
==============================================================================
--- branches/upstream/libspreadsheet-read-perl/current/README (original)
+++ branches/upstream/libspreadsheet-read-perl/current/README Sun Nov 2 08:02:35 2008
@@ -13,11 +13,12 @@
and Spreadheet::ReadSXC to give the end-user a single point of view to
various types of spreadsheets and deal with these in a transparent way.
-See for more thorough documentation the pod in the module, or
+For more thorough documentation please refer to the perl documentation
+in the module in pod format, or
$ man Spreadsheet::Read
-after installation
+after installation.
=head1 INSTALLATION
@@ -52,6 +53,6 @@
Copyright (C) 2005-2008 H.Merijn Brand
This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+it under the same terms as Perl itself.
=cut
Modified: branches/upstream/libspreadsheet-read-perl/current/Read.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libspreadsheet-read-perl/current/Read.pm?rev=26526&op=diff
==============================================================================
--- branches/upstream/libspreadsheet-read-perl/current/Read.pm (original)
+++ branches/upstream/libspreadsheet-read-perl/current/Read.pm Sun Nov 2 08:02:35 2008
@@ -21,7 +21,7 @@
use strict;
use warnings;
-our $VERSION = "0.28";
+our $VERSION = "0.29";
sub Version { $VERSION }
use Carp;
@@ -308,7 +308,7 @@
type => "xls",
parser => "Spreadsheet::ParseExcel",
version => $Spreadsheet::ParseExcel::VERSION,
- sheets => $oBook->{SheetCount},
+ sheets => $oBook->{SheetCount} || 0,
sheet => {},
} );
# Overrule the default date format strings
Modified: branches/upstream/libspreadsheet-read-perl/current/examples/xlscat
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libspreadsheet-read-perl/current/examples/xlscat?rev=26526&op=diff
==============================================================================
--- branches/upstream/libspreadsheet-read-perl/current/examples/xlscat (original)
+++ branches/upstream/libspreadsheet-read-perl/current/examples/xlscat Sun Nov 2 08:02:35 2008
@@ -1,12 +1,12 @@
#!/pro/bin/perl
# xls2cat: show XLS/SXC file as Text
-# (m)'08 [31-08-2008] Copyright H.M.Brand 2005-2008
+# (m)'08 [10-10-2008] Copyright H.M.Brand 2005-2008
use strict;
use warnings;
-our $VERSION = "1.7";
+our $VERSION = "1.8";
sub usage
{
@@ -32,6 +32,7 @@
" Output Text (default):\n",
" -s <sep> Use separator <sep>. Default '|', \\n allowed\n",
" -L Line up the columns\n",
+ " -A Show field attributes in ANSI escapes\n",
" Output Index only:\n",
" -i Show sheet names and size only\n",
" Output CSV:\n",
@@ -60,7 +61,7 @@
my $opt_u = 0; # Show unformatted values
my $opt_v = 0; # Verbosity for xlscat
my $opt_d = 0; # Debug level for Spreadsheet::Read
-my $opt_A = 0; # Show field colors in ansi escapes
+my $opt_A = 0; # Show field colors in ANSI escapes
my $clip = 1;
my $enc_i; # Input encoding
my $enc_o; # Output encoding
More information about the Pkg-perl-cvs-commits
mailing list