[libdist-zilla-plugins-cjm-perl] 03/10: Drop meta-spec.patch, not needed anymore.

gregor herrmann gregoa at debian.org
Sat Jan 13 17:40:07 UTC 2018


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

gregoa pushed a commit to branch master
in repository libdist-zilla-plugins-cjm-perl.

commit b216ed30a8def00d666b14b9121a0449a8805f60
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 13 18:20:57 2018 +0100

    Drop meta-spec.patch, not needed anymore.
---
 debian/patches/meta-spec.patch | 74 ------------------------------------------
 debian/patches/series          |  1 -
 2 files changed, 75 deletions(-)

diff --git a/debian/patches/meta-spec.patch b/debian/patches/meta-spec.patch
deleted file mode 100644
index 692eb1a..0000000
--- a/debian/patches/meta-spec.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Description: adjust test to various versions of Meta::Spec
-Origin: https://github.com/mla/dist-zilla-plugins-cjm/commits/master
- f177df1 and 5db270d
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=116902
-Bug-Debian: https://bugs.debian.org/834730
-Author: Maurice Aubrey <maurice.aubrey at gmail.com>
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2016-11-12
-
---- a/t/recommendedprereqs.t
-+++ b/t/recommendedprereqs.t
-@@ -3,7 +3,8 @@
- 
- use strict;
- use warnings;
--use Test::More 0.88 tests => 4; # done_testing
-+use version;
-+use Test::More 0.88;
- 
- use Test::DZil qw(Builder simple_ini);
- use Parse::CPAN::Meta;
-@@ -22,21 +23,37 @@
- 
- my $meta = Parse::CPAN::Meta->load_file($tzil->tempdir->file('build/META.yml'));
- 
--is_deeply(
--  $meta->{prereqs}{runtime}{recommends},
--  { 'Foo::Bar' => '1.00',
--    'Foo::Baz' => 0 },
--  'runtime recommends'
--);
--
--is($meta->{prereqs}{runtime}{suggests}, undef, 'runtime suggests');
--
--is($meta->{prereqs}{test}{recommends}, undef, 'test recommends');
-+my $ver = version->new($meta->{'meta-spec'}{version});
-+diag "CPAN::Meta::Spec = $ver";
- 
--is_deeply(
--  $meta->{prereqs}{test}{suggests},
--  { 'Test::Other' => 0 },
--  'test suggests'
--);
-+if ($ver >= version->new('2')) { # See CPAN::Meta::Spec
-+  is_deeply(
-+    $meta->{prereqs}{runtime}{recommends},
-+    { 'Foo::Bar' => '1.00',
-+      'Foo::Baz' => 0 },
-+    'runtime recommends'
-+  );
-+
-+  is($meta->{prereqs}{runtime}{suggests}, undef, 'runtime suggests');
-+
-+  is($meta->{prereqs}{test}{recommends}, undef, 'test recommends');
-+
-+  is_deeply(
-+    $meta->{prereqs}{test}{suggests},
-+    { 'Test::Other' => 0 },
-+    'test suggests'
-+  );
-+} elsif ($ver >= version->new('1.4')) {
-+  is_deeply(
-+    $meta->{recommends},
-+    {
-+      'Foo::Bar' => '1.00',
-+      'Foo::Baz' => 0,
-+    },
-+    'runtime recommends'
-+  );
-+} else {
-+  plan skip_all => "Unexpected CPAN::Meta::Spec version '$ver'";
-+}
- 
- done_testing;
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index ababb50..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-meta-spec.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugins-cjm-perl.git



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