[libmoox-buildargs-perl] 02/05: Update the Debian packaging for MooX-BuildArgs-0.03.
Peter Pentchev
roam at ringlet.net
Sun Nov 13 02:15:28 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 b54a8a8e345703a604a25ed152d17742c328921e
Author: Peter Pentchev <roam at ringlet.net>
Date: Sun Nov 13 04:00:02 2016 +0200
Update the Debian packaging for MooX-BuildArgs-0.03.
---
debian/changelog | 12 +++++
debian/control | 5 ++-
debian/copyright | 2 +-
debian/patches/series | 3 +-
debian/patches/test-main-package.t | 16 +++++++
debian/patches/test2-suite.patch | 90 --------------------------------------
debian/patches/typos.patch | 47 --------------------
7 files changed, 34 insertions(+), 141 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 19fc8f8..1c128b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+libmoox-buildargs-perl (0.03-1) UNRELEASED; urgency=medium
+
+ WAITS-FOR: libconfig-methodproxy-perl
+
+ * New upstream release:
+ - add a build- and runtime dependency on libconfig-methodproxy-perl
+ - drop the two patches, included upstream
+ - add the test-main-package patch to make a test actually work
+ - update the upstream copyright years
+
+ -- Peter Pentchev <roam at ringlet.net> Sun, 13 Nov 2016 03:56:12 +0200
+
libmoox-buildargs-perl (0.02-1) unstable; urgency=low
* Initial Release. Closes: #843643
diff --git a/debian/control b/debian/control
index f8b8913..5bfb3a6 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,9 @@ Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Peter Pentchev <roam at ringlet.net>
Build-Depends: debhelper (>= 9)
-Build-Depends-Indep: libmoo-perl (>= 2),
+Build-Depends-Indep:
+ libconfig-methodproxy-perl,
+ libmoo-perl (>= 2),
libnamespace-clean-perl (>= 0.24),
libstrictures-perl (>= 2),
libtest2-suite-perl,
@@ -18,6 +20,7 @@ Testsuite: autopkgtest-pkg-perl
Package: libmoox-buildargs-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends},
+ libconfig-methodproxy-perl,
libmoo-perl (>= 2),
libnamespace-clean-perl (>= 0.24),
libstrictures-perl (>= 2)
diff --git a/debian/copyright b/debian/copyright
index bf035b0..a3e1ff7 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Upstream-Contact: Aran Deltac <bluefeet at gmail.com>
Upstream-Name: MooX-BuildArgs
Files: *
-Copyright: 2015, Aran Deltac <bluefeet at gmail.com>
+Copyright: 2016, Aran Deltac <bluefeet at gmail.com>
License: Artistic or GPL-1+
Files: debian/*
diff --git a/debian/patches/series b/debian/patches/series
index b6c68be..122767d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-test2-suite.patch
-typos.patch
+test-main-package.t
diff --git a/debian/patches/test-main-package.t b/debian/patches/test-main-package.t
new file mode 100644
index 0000000..1c87251
--- /dev/null
+++ b/debian/patches/test-main-package.t
@@ -0,0 +1,16 @@
+Description: Fix the test with recent versions of Perl.
+Forwarded: not-yet
+Author: Peter Pentchev <roam at ringlet.net>
+Last-Update: 2016-11-13
+
+--- a/t/method_proxy_args.t
++++ b/t/method_proxy_args.t
+@@ -8,6 +8,8 @@
+ has bar => ( is=>'ro' );
+ }
+
++$INC{'main.pm'} = 1;
++
+ sub divide {
+ my ($class, $number, $divisor) = @_;
+ return $number / $divisor;
diff --git a/debian/patches/test2-suite.patch b/debian/patches/test2-suite.patch
deleted file mode 100644
index f3fb07c..0000000
--- a/debian/patches/test2-suite.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-Description: Switch from Test::Stream to Test2::Suite.
-Forwarded: https://github.com/bluefeet/MooX-BuildArgs/pull/3
-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;
diff --git a/debian/patches/typos.patch b/debian/patches/typos.patch
deleted file mode 100644
index 2665e75..0000000
--- a/debian/patches/typos.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Description: Fix some typographical errors.
-Forwarded: https://github.com/bluefeet/MooX-BuildArgs/pull/4
-Author: Peter Pentchev <roam at ringlet.net>
-Last-Update: 2016-11-08
-
---- a/lib/MooX/BuildArgs.pm
-+++ b/lib/MooX/BuildArgs.pm
-@@ -17,7 +17,7 @@
- =head1 DESCRIPTION
-
- It is often useful to be able to access the arguments that were
--used to create an object in their unadulturated form, before any
-+used to create an object in their unadulterated form, before any
- coercions or init_args have changed them. This L<Moo> role
- provides the arguments via the L</build_args> attribute.
-
---- a/lib/MooX/BuildArgsHooks.pm
-+++ b/lib/MooX/BuildArgsHooks.pm
-@@ -38,7 +38,7 @@
- =head1 DESCRIPTION
-
- This module installs some hooks directly into L<Moo> which allow
--for more fine-grained access to the phases of C<BUILDLARGS>. The
-+for more fine-grained access to the phases of C<BUILDARGS>. The
- reason this is important is because if you have various roles and
- classes modifying BUILDARGS you will often end up with weird
- behaviors depending on what order the various BUILDARGS wrappers
-@@ -145,7 +145,7 @@
- # Must declare a custom no-op BUILDARGS otherwise
- # Method::Generate::Constructor gets in the way.
- # Alternatively we could modify its inlined BUILDARGS
--# to include our logic, but thats making things even
-+# to include our logic, but that's making things even
- # more brittle.
- around BUILDARGS => sub{
- my $orig = shift;
---- a/lib/MooX/MethodProxyArgs.pm
-+++ b/lib/MooX/MethodProxyArgs.pm
-@@ -26,7 +26,7 @@
-
- =head1 DESCRIPTION
-
--This module munges the class's input arugments by replacing any
-+This module munges the class's input arguments by replacing any
- method proxy values found with the result of calling the methods.
-
- A method proxy looks like this:
--
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