[libcatalyst-view-email-perl] 01/02: add a patch for using Class::Load::load_class() instead of the deprecated Class::MOP::load_claass()
Damyan Ivanov
dmn at moszumanska.debian.org
Tue May 20 06:29:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository libcatalyst-view-email-perl.
commit a1e99671cf373a9bc64544ef47f221868a2ef5f7
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue May 20 06:27:33 2014 +0000
add a patch for using Class::Load::load_class() instead of the deprecated Class::MOP::load_claass()
---
debian/patches/series | 1 +
debian/patches/use-Class::Load.patch | 44 ++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d170d75
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-Class::Load.patch
diff --git a/debian/patches/use-Class::Load.patch b/debian/patches/use-Class::Load.patch
new file mode 100644
index 0000000..c12739b
--- /dev/null
+++ b/debian/patches/use-Class::Load.patch
@@ -0,0 +1,44 @@
+Description: use Class::Load instead of Class::MOP for load_class()
+ The later is deprecated and gives warnings
+Author: Damyan Ivanov <dmn at debian.org>
+Forwarded: https://rt.cpan.org/Ticket/Display?id=91013
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -13,6 +13,7 @@ requires 'Authen::SASL' => '2.1
+ requires 'Catalyst' => '5.7';
+ requires 'Moose' => '0.93';
+ requires 'parent' => '0.223';
++requires 'Class::Load';
+ requires 'Email::Sender::Simple' => '0.100110';
+ requires 'Email::MIME' => '1.859';
+ requires 'Email::MIME::Creator' => '1.455';
+--- a/lib/Catalyst/View/Email.pm
++++ b/lib/Catalyst/View/Email.pm
+@@ -3,6 +3,7 @@ package Catalyst::View::Email;
+ use Moose;
+ use Carp;
+
++use Class::Load ();
+ use Encode qw(encode decode);
+ use Email::Sender::Simple qw/ sendmail /;
+ use Email::MIME::Creator;
+@@ -223,7 +224,7 @@ sub _build_mailer_obj {
+ $transport_class = "Email::Sender::Transport::$transport_class";
+ }
+
+- Class::MOP::load_class($transport_class);
++ Class::Load::load_class($transport_class);
+
+ return $transport_class->new( $self->sender->{mailer_args} || {} );
+ }
+--- a/META.yml
++++ b/META.yml
+@@ -24,6 +24,7 @@ no_index:
+ requires:
+ Authen::SASL: 2.13
+ Catalyst: 5.7
++ Class::Load: 0
+ Email::MIME: 1.859
+ Email::MIME::Creator: 1.455
+ Email::Sender::Simple: 0.100110
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatalyst-view-email-perl.git
More information about the Pkg-perl-cvs-commits
mailing list