r8351 - in /branches/upstream/libfile-read-perl/current: Build.PL Changes META.yml Makefile.PL README lib/File/Read.pm t/file-read.t

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Fri Oct 19 20:28:14 UTC 2007


Author: hanska-guest
Date: Fri Oct 19 20:28:13 2007
New Revision: 8351

URL: http://svn.debian.org/wsvn/?sc=1&rev=8351
Log:
[svn-upgrade] Integrating new upstream version, libfile-read-perl (0.0801)

Modified:
    branches/upstream/libfile-read-perl/current/Build.PL
    branches/upstream/libfile-read-perl/current/Changes
    branches/upstream/libfile-read-perl/current/META.yml
    branches/upstream/libfile-read-perl/current/Makefile.PL
    branches/upstream/libfile-read-perl/current/README
    branches/upstream/libfile-read-perl/current/lib/File/Read.pm
    branches/upstream/libfile-read-perl/current/t/file-read.t

Modified: branches/upstream/libfile-read-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libfile-read-perl/current/Build.PL?rev=8351&op=diff
==============================================================================
--- branches/upstream/libfile-read-perl/current/Build.PL (original)
+++ branches/upstream/libfile-read-perl/current/Build.PL Fri Oct 19 20:28:13 2007
@@ -4,7 +4,7 @@
 my $builder = Module::Build->new(
     module_name         => 'File::Read',
     license             => 'perl',
-    dist_author         => 'Sébastien Aperghis-Tramoni <sebastien at aperghis.net>',
+    dist_author         => 'Sébastien Aperghis-Tramoni <sebastien at aperghis.net>',
     dist_version_from   => 'lib/File/Read.pm',
     build_requires => {
         'File::Slurp'   => 0,

Modified: branches/upstream/libfile-read-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libfile-read-perl/current/Changes?rev=8351&op=diff
==============================================================================
--- branches/upstream/libfile-read-perl/current/Changes (original)
+++ branches/upstream/libfile-read-perl/current/Changes Fri Oct 19 20:28:13 2007
@@ -1,4 +1,15 @@
 Revision history for File-Read
+
+0.0801  2007.10.19  (SAPER)
+        [DIST] CPAN-RT#30104: Converted the few accented characters to UTF-8 
+        (Damyan Ivanov).
+
+0.0800  2007.10.18  (SAPER)
+        [BUGFIX] Don't use Text::Unidecode on 5.6 because it doesn't really
+        work. Thanks to Andreas Koenig for finding this bug.
+        [TESTS] Fixed for passing again under Perl 5.5 and 5.4
+        [DIST] Have to change the version to 4 digits because packaging tools
+        are plain stupid.
 
 0.07    2007.10.17  (SAPER)
         [FEATURE] Option "cmd" to set the command used to read files as root.

Modified: branches/upstream/libfile-read-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libfile-read-perl/current/META.yml?rev=8351&op=diff
==============================================================================
--- branches/upstream/libfile-read-perl/current/META.yml (original)
+++ branches/upstream/libfile-read-perl/current/META.yml Fri Oct 19 20:28:13 2007
@@ -1,8 +1,8 @@
 ---
 name: File-Read
-version: 0.07
+version: 0.0801
 author:
-  - 'Sébastien Aperghis-Tramoni <sebastien at aperghis.net>'
+  - 'Sébastien Aperghis-Tramoni <sebastien at aperghis.net>'
 abstract: Unique interface for reading one or more files
 license: perl
 resources:
@@ -13,7 +13,7 @@
 provides:
   File::Read:
     file: lib/File/Read.pm
-    version: 0.07
+    version: 0.0801
 generated_by: Module::Build version 0.2808
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.2.html

Modified: branches/upstream/libfile-read-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libfile-read-perl/current/Makefile.PL?rev=8351&op=diff
==============================================================================
--- branches/upstream/libfile-read-perl/current/Makefile.PL (original)
+++ branches/upstream/libfile-read-perl/current/Makefile.PL Fri Oct 19 20:28:13 2007
@@ -5,7 +5,7 @@
 WriteMakefile(
     NAME                => 'File::Read',
     LICENSE             => 'perl',
-    AUTHOR              => 'Sébastien Aperghis-Tramoni <sebastien at aperghis.net>',
+    AUTHOR              => 'Sébastien Aperghis-Tramoni <sebastien at aperghis.net>',
     VERSION_FROM        => 'lib/File/Read.pm',
     ABSTRACT_FROM       => 'lib/File/Read.pm',
     PL_FILES            => {},

Modified: branches/upstream/libfile-read-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libfile-read-perl/current/README?rev=8351&op=diff
==============================================================================
--- branches/upstream/libfile-read-perl/current/README (original)
+++ branches/upstream/libfile-read-perl/current/README Fri Oct 19 20:28:13 2007
@@ -68,7 +68,7 @@
 
 COPYRIGHT AND LICENCE
 
-    Copyright (C) 2006 Sébastien Aperghis-Tramoni
+    Copyright (C) 2006-2007 Sébastien Aperghis-Tramoni
 
     This program is free software; you can redistribute it and/or modify it
     under the same terms as Perl itself.

Modified: branches/upstream/libfile-read-perl/current/lib/File/Read.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libfile-read-perl/current/lib/File/Read.pm?rev=8351&op=diff
==============================================================================
--- branches/upstream/libfile-read-perl/current/lib/File/Read.pm (original)
+++ branches/upstream/libfile-read-perl/current/lib/File/Read.pm Fri Oct 19 20:28:13 2007
@@ -5,7 +5,7 @@
 require Exporter;
 
 {   no strict;
-    $VERSION = '0.07';
+    $VERSION = '0.0801';
     @ISA = qw(Exporter);
     @EXPORT = qw(read_file read_files);
 }
@@ -18,7 +18,7 @@
 
 =head1 VERSION
 
-Version 0.07
+Version 0.0801
 
 =head1 SYNOPSIS
 
@@ -239,7 +239,8 @@
 }
 
 
-my $has_unidecode = eval 'require Text::Unidecode; 1';
+# Text::Unidecode doesn't work on Perl 5.6
+my $has_unidecode = eval "require 5.008; require Text::Unidecode; 1"; $@ = "";
 
 sub _to_ascii {
     # use Text::Unidecode if available
@@ -278,7 +279,7 @@
 
 =head1 AUTHOR
 
-Sébastien Aperghis-Tramoni, C<< <sebastien at aperghis.net> >>
+SE<eacute>bastien Aperghis-Tramoni, C<< <sebastien at aperghis.net> >>
 
 =head1 BUGS
 
@@ -322,7 +323,7 @@
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2006 Sébastien Aperghis-Tramoni, all rights reserved.
+Copyright (C) 2006, 2007 SE<eacute>bastien Aperghis-Tramoni, all rights reserved.
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.

Modified: branches/upstream/libfile-read-perl/current/t/file-read.t
URL: http://svn.debian.org/wsvn/branches/upstream/libfile-read-perl/current/t/file-read.t?rev=8351&op=diff
==============================================================================
--- branches/upstream/libfile-read-perl/current/t/file-read.t (original)
+++ branches/upstream/libfile-read-perl/current/t/file-read.t Fri Oct 19 20:28:13 2007
@@ -4,7 +4,7 @@
 use File::Spec;
 use Test::More;
 
-my $has_unidecode = eval "use Text::Unidecode; 1";
+my $has_unidecode = eval "require 5.008; require Text::Unidecode; 1";
 
 # describe the tests
 my @one_result_tests = (
@@ -112,7 +112,7 @@
 
 
 # determine the path of the current perl(1)
-my $perl = abs_path($^X);
+my $perl = abs_path($^X) || $^X;
 $perl = qq{"$perl"} if $perl =~ m/\s/;
 
 # "I love it when a plan comes together"




More information about the Pkg-perl-cvs-commits mailing list