[libtask-kensho-perl] 06/17: Add 0003-disable-tests-in-makefile.patch

Nick Morrott nickm-guest at moszumanska.debian.org
Fri May 27 12:06:38 UTC 2016


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

nickm-guest pushed a commit to branch master
in repository libtask-kensho-perl.

commit 804283a7823b27d17e2ce07ec7f9f835ffb08b29
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date:   Fri May 27 08:53:40 2016 +0100

    Add 0003-disable-tests-in-makefile.patch
---
 .../patches/0003-disable-tests-in-makefile.patch   | 37 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 38 insertions(+)

diff --git a/debian/patches/0003-disable-tests-in-makefile.patch b/debian/patches/0003-disable-tests-in-makefile.patch
new file mode 100644
index 0000000..083df1a
--- /dev/null
+++ b/debian/patches/0003-disable-tests-in-makefile.patch
@@ -0,0 +1,37 @@
+Description: Disable tests in Makefile.PL
+ The Task::Kensho module is not installed as a typical Perl module but rather
+ as a series of metapackages depending on other packaged Perl modules
+Author: Nick Morrott <knowledgejunkie at gmail.com>
+Forwarded: not-needed
+Last-Update: 2016-05-27
+---
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -25,27 +25,16 @@
+     "strict" => 0,
+     "warnings" => 0
+   },
+-  "TEST_REQUIRES" => {
+-    "ExtUtils::MakeMaker" => 0,
+-    "File::Spec" => 0,
+-    "Test::More" => 0
+-  },
+   "VERSION" => "0.38",
+-  "test" => {
+-    "TESTS" => "t/*.t"
+-  }
+ );
+ 
+ my %FallbackPrereqs = (
+   "ExtUtils::MakeMaker" => 0,
+-  "File::Spec" => 0,
+-  "Test::More" => 0,
+   "strict" => 0,
+   "warnings" => 0
+ );
+ 
+ unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+-  delete $WriteMakefileArgs{TEST_REQUIRES};
+   delete $WriteMakefileArgs{BUILD_REQUIRES};
+   $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index f0b34a4..462b5a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-disable-makefile-subtask-installation.patch
 0002-remove-manual-installation-details-from-pod.patch
+0003-disable-tests-in-makefile.patch

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



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