[libmoox-buildargs-perl] 02/07: Add the test2-suite patch to use Test2::Suite.

Peter Pentchev roam at ringlet.net
Tue Nov 8 14:07:35 UTC 2016


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

roam-guest pushed a commit to branch master
in repository libmoox-buildargs-perl.

commit ff6bf2f9603253775252102e1167661b585dacda
Author: Peter Pentchev <roam at ringlet.net>
Date:   Tue Nov 8 15:07:39 2016 +0200

    Add the test2-suite patch to use Test2::Suite.
    
    Test::Stream has long been obsolete and is not in Debian.
---
 debian/control                   |  2 +-
 debian/patches/series            |  1 +
 debian/patches/test2-suite.patch | 90 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 92 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 40e16fb..f36be7c 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: libmoo-perl (>= 2),
  libnamespace-clean-perl (>= 0.24),
  libstrictures-perl (>= 2),
- libtest-stream-perl (>= 1.302026),
+ libtest2-suite-perl,
  perl
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmoox-buildargs-perl.git
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..21ca124
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test2-suite.patch
diff --git a/debian/patches/test2-suite.patch b/debian/patches/test2-suite.patch
new file mode 100644
index 0000000..2ef3cc1
--- /dev/null
+++ b/debian/patches/test2-suite.patch
@@ -0,0 +1,90 @@
+Description: Switch from Test::Stream to Test2::Suite.
+Forwarded: not-yet
+Author: Peter Pentchev <roam at ringlet.net>
+Last-Update: 2016-09-12
+
+--- a/META.yml
++++ b/META.yml
+@@ -3,7 +3,7 @@
+ author:
+   - 'Aran Deltac <bluefeet at gmail.com>'
+ build_requires:
+-  Test::Stream: '1.302026'
++  Test2::Suite: '0'
+ configure_requires:
+   ExtUtils::MakeMaker: '0'
+ dynamic_config: 0
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -23,7 +23,7 @@
+     "strictures" => 2
+   },
+   "TEST_REQUIRES" => {
+-    "Test::Stream" => "1.302026"
++    "Test2::Suite" => "0"
+   },
+   "VERSION" => "0.02",
+   "test" => {
+@@ -36,7 +36,7 @@
+   "Carp" => 0,
+   "Moo" => 2,
+   "Scalar::Util" => 0,
+-  "Test::Stream" => "1.302026",
++  "Test2::Suite" => "0",
+   "namespace::clean" => "0.24",
+   "strictures" => 2
+ );
+--- a/cpanfile
++++ b/cpanfile
+@@ -5,5 +5,5 @@
+ requires 'Carp'             => 0;
+ 
+ on test => sub {
+-    requires 'Test::Stream' => 1.302026;
++    requires 'Test2::Suite' => 0;
+ };
+--- a/t/build_args.t
++++ b/t/build_args.t
+@@ -1,5 +1,5 @@
+ #!/usr/bin/env perl
+-use Test::Stream '-V1';
++use Test2::Bundle::Extended;
+ 
+ {
+     package Foo;
+--- a/t/build_args_hooks.t
++++ b/t/build_args_hooks.t
+@@ -1,5 +1,5 @@
+ #!/usr/bin/env perl
+-use Test::Stream '-V1';
++use Test2::Bundle::Extended;
+ 
+ {
+     package Foo;
+--- a/t/method_proxy_args.t
++++ b/t/method_proxy_args.t
+@@ -1,5 +1,5 @@
+ #!/usr/bin/env perl
+-use Test::Stream '-V1';
++use Test2::Bundle::Extended;
+ 
+ {
+     package Foo;
+--- a/t/rebuild.t
++++ b/t/rebuild.t
+@@ -1,5 +1,5 @@
+ #!/usr/bin/env perl
+-use Test::Stream '-V1';
++use Test2::Bundle::Extended;
+ 
+ {
+     package Foo;
+--- a/t/single_arg.t
++++ b/t/single_arg.t
+@@ -1,5 +1,5 @@
+ #!/usr/bin/env perl
+-use Test::Stream '-V1';
++use Test2::Bundle::Extended;
+ 
+ {
+     package Foo;

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



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