This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libtest-prereq-perl.

commit a2ca1482ebc8cd80e46f717267c9c23fa96b29fe
Author: gregor herrmann <gre...@debian.org>
Date:   Sun Jun 21 23:58:42 2015 +0200

    Add patch to handle Module::Build in tests differently for new perls.
    
    Closes: #789479
---
 debian/patches/module-build.patch | 40 +++++++++++++++++++++++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 41 insertions(+)

diff --git a/debian/patches/module-build.patch 
b/debian/patches/module-build.patch
new file mode 100644
index 0000000..2a9ab38
--- /dev/null
+++ b/debian/patches/module-build.patch
@@ -0,0 +1,40 @@
+Description: special case Module::Build in tests for newer perls
+ Module::Build was removed from core after 5.20.2
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/789479
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2015-06-21
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105398
+Bug: https://rt.cpan.org/Ticket/Display.html?id=105398
+
+--- a/t/get_loaded_modules.t
++++ b/t/get_loaded_modules.t
+@@ -8,7 +8,7 @@
+       my $keys = [ grep ! /^CPANPLUS/, sort keys %$modules ];
+ 
+       my @expected = qw( Module::Info Test::Prereq Test::Prereq::Build );
+-      unshift @expected, qw(Module::Build) if $] =~ m/\A5.008/;
++      unshift @expected, qw(Module::Build) if $] =~ m/\A5.008/ or $] > 
5.020002;
+ 
+       @expected = sort @expected;
+ 
+--- a/t/prereq_ok.t
++++ b/t/prereq_ok.t
+@@ -7,7 +7,7 @@
+       unless exists $Module::CoreList::version{ $] };
+ 
+ my @ignore = qw(CPANPLUS::Internals::System);
+-push @ignore, qw(Module::Build) if $] =~ /\A5\.008/;
++push @ignore, qw(Module::Build) if $] =~ /\A5\.008/ or $] > 5.020002;
+ 
+ my $rc = prereq_ok( undef, undef, \@ignore );
+ 
+--- a/t/prior_plan.t
++++ b/t/prior_plan.t
+@@ -5,5 +5,5 @@
+ use Test::Prereq;
+ 
+ my @ignore = qw(CPANPLUS::Internals::System);
+-push @ignore, qw(Module::Build) if $] =~ /\A5\.008/;
++push @ignore, qw(Module::Build) if $] =~ /\A5\.008/ or $] > 5.020002;
+ prereq_ok( undef, undef, \@ignore );
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1a34dff
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+module-build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-prereq-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to