r65408 - in /branches/upstream/libemail-abstract-perl/current: Changes META.yml Makefile.PL lib/Email/Abstract.pm lib/Email/Abstract/Plugin.pm

ansgar at users.alioth.debian.org ansgar at users.alioth.debian.org
Tue Nov 30 09:41:30 UTC 2010


Author: ansgar
Date: Tue Nov 30 09:40:53 2010
New Revision: 65408

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65408
Log:
[svn-upgrade] new version libemail-abstract-perl (3.003)

Modified:
    branches/upstream/libemail-abstract-perl/current/Changes
    branches/upstream/libemail-abstract-perl/current/META.yml
    branches/upstream/libemail-abstract-perl/current/Makefile.PL
    branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract.pm
    branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract/Plugin.pm

Modified: branches/upstream/libemail-abstract-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libemail-abstract-perl/current/Changes?rev=65408&op=diff
==============================================================================
--- branches/upstream/libemail-abstract-perl/current/Changes (original)
+++ branches/upstream/libemail-abstract-perl/current/Changes Tue Nov 30 09:40:53 2010
@@ -1,4 +1,7 @@
 Revision history for Email-Abstract.
+
+3.003     2010-11-08
+          replace Class::ISA with mro (MRO::Compat)
 
 3.002     2010-06-11
           avoid a warning in MailInternet with zero headers found

Modified: branches/upstream/libemail-abstract-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libemail-abstract-perl/current/META.yml?rev=65408&op=diff
==============================================================================
--- branches/upstream/libemail-abstract-perl/current/META.yml (original)
+++ branches/upstream/libemail-abstract-perl/current/META.yml Tue Nov 30 09:40:53 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Email-Abstract
-version:            3.002
+version:            3.003
 abstract:           ~
 author:  []
 license:            perl
@@ -10,9 +10,9 @@
 build_requires:
     ExtUtils::MakeMaker:  0
 requires:
-    Class::ISA:         0.20
     Email::Simple:      1.91
     Module::Pluggable:  1.5
+    MRO::Compat:        0
     Scalar::Util:       0
     Test::More:         0.47
 no_index:

Modified: branches/upstream/libemail-abstract-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libemail-abstract-perl/current/Makefile.PL?rev=65408&op=diff
==============================================================================
--- branches/upstream/libemail-abstract-perl/current/Makefile.PL (original)
+++ branches/upstream/libemail-abstract-perl/current/Makefile.PL Tue Nov 30 09:40:53 2010
@@ -8,7 +8,7 @@
   VERSION_FROM      => 'lib/Email/Abstract.pm', # finds $VERSION
   (eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()),
   PREREQ_PM     => {
-    'Class::ISA'        => '0.20', # first release
+    'MRO::Compat',      => 0,      # minimum unknown
     'Email::Simple'     => '1.91', # avoid undef body
     'Module::Pluggable' => '1.5',
     'Test::More'        => '0.47',

Modified: branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract.pm?rev=65408&op=diff
==============================================================================
--- branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract.pm (original)
+++ branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract.pm Tue Nov 30 09:40:53 2010
@@ -4,7 +4,8 @@
 package Email::Abstract;
 use Carp;
 use Email::Simple;
-$Email::Abstract::VERSION = '3.002';
+use MRO::Compat;
+$Email::Abstract::VERSION = '3.003';
 use Module::Pluggable
   search_path => [__PACKAGE__],
   except      => 'Email::Abstract::Plugin',
@@ -51,8 +52,9 @@
   return $adapter_for{$f_class} if $adapter_for{$f_class};
 
   if (not $skip_super) {
-    require Class::ISA;
-    for my $base (Class::ISA::super_path($f_class)) {
+    my @bases = @{ mro::get_linear_isa($f_class) };
+    shift @bases;
+    for my $base (@bases) {
       return $adapter_for{$base} if $adapter_for{$base};
     }
   }

Modified: branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract/Plugin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract/Plugin.pm?rev=65408&op=diff
==============================================================================
--- branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract/Plugin.pm (original)
+++ branches/upstream/libemail-abstract-perl/current/lib/Email/Abstract/Plugin.pm Tue Nov 30 09:40:53 2010
@@ -2,7 +2,7 @@
 
 package Email::Abstract::Plugin;
 
-$Email::Abstract::Plugin::VERSION = '3.002';
+$Email::Abstract::Plugin::VERSION = '3.003';
 
 =head1 NAME
 




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