[libwebservice-cia-perl] 04/06: add patch removing Module::Build usage in tests

Damyan Ivanov dmn at moszumanska.debian.org
Sun Jun 7 20:21:05 UTC 2015


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

dmn pushed a commit to branch master
in repository libwebservice-cia-perl.

commit 5cef1834ee148dcdaf1bb5b67a3419c74cae32de
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sun Jun 7 20:16:32 2015 +0000

    add patch removing Module::Build usage in tests
    
    was not really used for anything and only breaks autopkgtests
---
 debian/patches/drop-Module::Build-from-test.patch | 28 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/drop-Module::Build-from-test.patch b/debian/patches/drop-Module::Build-from-test.patch
new file mode 100644
index 0000000..56b396b
--- /dev/null
+++ b/debian/patches/drop-Module::Build-from-test.patch
@@ -0,0 +1,28 @@
+Description: drop usage of Module::Build from two tests
+ The module is not really needed and only complicates the continuous
+ integration tests in Debian.
+Author: Damyan Ivanov <dmn at debian.org>
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105054
+Bug: https://rt.cpan.org/Ticket/Display.html?id=105054
+
+--- a/t/webservice-cia-parser.t
++++ b/t/webservice-cia-parser.t
+@@ -1,6 +1,5 @@
+ use strict;
+ use Test::More tests => 9;
+-use Module::Build;
+ 
+ #1
+ BEGIN {	use_ok('WebService::CIA::Parser'); }
+--- a/t/webservice-cia-source-web.t
++++ b/t/webservice-cia-source-web.t
+@@ -2,9 +2,6 @@ use strict;
+ use Test::More tests => 30;
+ use lib  qw( t/lib );
+ use WCUA;
+-use Module::Build;
+-
+-my $build = Module::Build->current();
+ 
+ 
+ BEGIN { use_ok('WebService::CIA::Source::Web'); }
diff --git a/debian/patches/series b/debian/patches/series
index 7a3633b..24dd40d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+drop-Module::Build-from-test.patch
 fix-urls-and-html-parser.patch

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



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