diff options
Diffstat (limited to 'dev-perl/Test-Dependencies/files/Test-Dependencies-0.230.0-backcompat-test-more.patch')
-rw-r--r-- | dev-perl/Test-Dependencies/files/Test-Dependencies-0.230.0-backcompat-test-more.patch | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/dev-perl/Test-Dependencies/files/Test-Dependencies-0.230.0-backcompat-test-more.patch b/dev-perl/Test-Dependencies/files/Test-Dependencies-0.230.0-backcompat-test-more.patch new file mode 100644 index 000000000000..af1bc2e506dc --- /dev/null +++ b/dev-perl/Test-Dependencies/files/Test-Dependencies-0.230.0-backcompat-test-more.patch @@ -0,0 +1,78 @@ +From 459bee47f8fccac28f13f60e9c20c65c7125ae00 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentfredric@gmail.com> +Date: Tue, 12 Sep 2017 08:22:02 +1200 +Subject: Weaken Test::More requirements + +--- + META.json | 2 +- + META.yml | 2 +- + Makefile.PL | 4 ++-- + t/00-load-basic.t | 4 ++-- + 4 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/META.json b/META.json +index cd9ff8d..7bd675d 100644 +--- a/META.json ++++ b/META.json +@@ -53,7 +53,7 @@ + }, + "test" : { + "requires" : { +- "Test::More" : "1.30" ++ "Test::More" : "0.98" + } + } + }, +diff --git a/META.yml b/META.yml +index 01e1e21..da65985 100644 +--- a/META.yml ++++ b/META.yml +@@ -3,7 +3,7 @@ abstract: 'Verify dependencies in META.yml or cpanfile' + author: + - 'Erik Huelsmann <ehuels@gmail.com>' + build_requires: +- Test::More: '1.30' ++ Test::More: '0.98' + configure_requires: + CPAN::Meta::Requirements: '2.120620' + ExtUtils::MakeMaker: '0' +diff --git a/Makefile.PL b/Makefile.PL +index c3b1e51..0357e7e 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -22,7 +22,7 @@ my %WriteMakefileArgs = ( + "Pod::Strip" => 0 + }, + "TEST_REQUIRES" => { +- "Test::More" => "1.30", ++ "Test::More" => "0.98", + }, + "VERSION" => "0.23", + "test" => { +@@ -33,7 +33,7 @@ my %WriteMakefileArgs = ( + + my %FallbackPrereqs = ( + "Pod::Strip" => 0, +- "Test::More" => "1.30", ++ "Test::More" => "0.98", + ); + + # inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.029 +diff --git a/t/00-load-basic.t b/t/00-load-basic.t +index 80fdebd..69ddd5f 100644 +--- a/t/00-load-basic.t ++++ b/t/00-load-basic.t +@@ -2,8 +2,8 @@ + + use Test::More 0.98; + +-plan skip_all => 'Tests incompatible with Test::More 1.001014' +- if $Test::More::VERSION == 1.001014; ++plan skip_all => 'Tests incompatible with Test::More <=1.300000' ++ unless eval {Test::More->VERSION(1.300000)}; + + use_ok('Test::Dependencies'); + use_ok('Test::Dependencies::Light'); +-- +2.14.1 + |