r70071 - in /trunk/libemail-abstract-perl: Changes META.yml Makefile.PL debian/changelog lib/Email/Abstract.pm lib/Email/Abstract/MIMEEntity.pm lib/Email/Abstract/Plugin.pm

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Feb 28 17:02:52 UTC 2011


Author: gregoa
Date: Mon Feb 28 17:02:36 2011
New Revision: 70071

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70071
Log:
New upstream release.

Modified:
    trunk/libemail-abstract-perl/Changes
    trunk/libemail-abstract-perl/META.yml
    trunk/libemail-abstract-perl/Makefile.PL
    trunk/libemail-abstract-perl/debian/changelog
    trunk/libemail-abstract-perl/lib/Email/Abstract.pm
    trunk/libemail-abstract-perl/lib/Email/Abstract/MIMEEntity.pm
    trunk/libemail-abstract-perl/lib/Email/Abstract/Plugin.pm

Modified: trunk/libemail-abstract-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-abstract-perl/Changes?rev=70071&op=diff
==============================================================================
--- trunk/libemail-abstract-perl/Changes (original)
+++ trunk/libemail-abstract-perl/Changes Mon Feb 28 17:02:36 2011
@@ -1,4 +1,12 @@
 Revision history for Email-Abstract.
+
+3.004     2011-02-18
+
+          If present, MIME::Entity must be v5.501; v5.500 had a regression (or
+          a bug fix, depending how you look at it) that broke header-reading.
+          While technically older versions that are not 5.500 would work, it is
+          much simpler to just require the newest version, rather than to
+          support a version range with a hole in it.
 
 3.003     2010-11-08
           replace Class::ISA with mro (MRO::Compat)

Modified: trunk/libemail-abstract-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-abstract-perl/META.yml?rev=70071&op=diff
==============================================================================
--- trunk/libemail-abstract-perl/META.yml (original)
+++ trunk/libemail-abstract-perl/META.yml Mon Feb 28 17:02:36 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Email-Abstract
-version:            3.003
+version:            3.004
 abstract:           ~
 author:  []
 license:            perl

Modified: trunk/libemail-abstract-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-abstract-perl/Makefile.PL?rev=70071&op=diff
==============================================================================
--- trunk/libemail-abstract-perl/Makefile.PL (original)
+++ trunk/libemail-abstract-perl/Makefile.PL Mon Feb 28 17:02:36 2011
@@ -2,6 +2,9 @@
 use strict;
 use warnings;
 use ExtUtils::MakeMaker;
+
+my $have_mime_entity = eval { require MIME::Entity; 1; };
+my $mime_entity_okay = eval { MIME::Entity->VERSION(5.501); 1 };
 
 WriteMakefile(
   NAME              => 'Email::Abstract',
@@ -13,5 +16,8 @@
     'Module::Pluggable' => '1.5',
     'Test::More'        => '0.47',
     'Scalar::Util'      => 0,      # minimum unknown
+    (($have_mime_entity and ! $mime_entity_okay)
+      ? ('MIME::Entity' => '5.501')
+      : ()),
   },
 );

Modified: trunk/libemail-abstract-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-abstract-perl/debian/changelog?rev=70071&op=diff
==============================================================================
--- trunk/libemail-abstract-perl/debian/changelog (original)
+++ trunk/libemail-abstract-perl/debian/changelog Mon Feb 28 17:02:36 2011
@@ -1,3 +1,9 @@
+libemail-abstract-perl (3.004-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org>  Mon, 28 Feb 2011 18:01:30 +0100
+
 libemail-abstract-perl (3.003-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libemail-abstract-perl/lib/Email/Abstract.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-abstract-perl/lib/Email/Abstract.pm?rev=70071&op=diff
==============================================================================
--- trunk/libemail-abstract-perl/lib/Email/Abstract.pm (original)
+++ trunk/libemail-abstract-perl/lib/Email/Abstract.pm Mon Feb 28 17:02:36 2011
@@ -5,7 +5,7 @@
 use Carp;
 use Email::Simple;
 use MRO::Compat;
-$Email::Abstract::VERSION = '3.003';
+$Email::Abstract::VERSION = '3.004';
 use Module::Pluggable
   search_path => [__PACKAGE__],
   except      => 'Email::Abstract::Plugin',

Modified: trunk/libemail-abstract-perl/lib/Email/Abstract/MIMEEntity.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-abstract-perl/lib/Email/Abstract/MIMEEntity.pm?rev=70071&op=diff
==============================================================================
--- trunk/libemail-abstract-perl/lib/Email/Abstract/MIMEEntity.pm (original)
+++ trunk/libemail-abstract-perl/lib/Email/Abstract/MIMEEntity.pm Mon Feb 28 17:02:36 2011
@@ -7,7 +7,7 @@
 my $is_avail;
 sub is_available {
   return $is_avail if defined $is_avail;
-  eval { require MIME::Entity; 1 };
+  eval { require MIME::Entity; MIME::Entity->VERSION(5.501); 1 };
   return $is_avail = $@ ? 0 : 1;
 }
 
@@ -15,7 +15,7 @@
 
 sub construct {
     require MIME::Parser;
-    my $parser = new MIME::Parser;
+    my $parser = MIME::Parser->new;
     $parser->output_to_core(1);
     my ($class, $rfc822) = @_;
     $parser->parse_data($rfc822);

Modified: trunk/libemail-abstract-perl/lib/Email/Abstract/Plugin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-abstract-perl/lib/Email/Abstract/Plugin.pm?rev=70071&op=diff
==============================================================================
--- trunk/libemail-abstract-perl/lib/Email/Abstract/Plugin.pm (original)
+++ trunk/libemail-abstract-perl/lib/Email/Abstract/Plugin.pm Mon Feb 28 17:02:36 2011
@@ -2,7 +2,7 @@
 
 package Email::Abstract::Plugin;
 
-$Email::Abstract::Plugin::VERSION = '3.003';
+$Email::Abstract::Plugin::VERSION = '3.004';
 
 =head1 NAME
 




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