--- libtest-apocalypse-perl-0.05.orig/debian/README.source +++ libtest-apocalypse-perl-0.05/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libtest-apocalypse-perl-0.05.orig/debian/changelog +++ libtest-apocalypse-perl-0.05/debian/changelog @@ -0,0 +1,5 @@ +libtest-apocalypse-perl (0.05-1) unstable; urgency=low + + * Initial Release (Closes: #514390) + + -- Ryan Niebur Fri, 08 Jan 2010 18:18:04 -0800 --- libtest-apocalypse-perl-0.05.orig/debian/watch +++ libtest-apocalypse-perl-0.05/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Test-Apocalypse/ .*/Test-Apocalypse-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libtest-apocalypse-perl-0.05.orig/debian/rules +++ libtest-apocalypse-perl-0.05/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ --- libtest-apocalypse-perl-0.05.orig/debian/libtest-apocalypse-perl.examples +++ libtest-apocalypse-perl-0.05/debian/libtest-apocalypse-perl.examples @@ -0,0 +1 @@ +examples/* --- libtest-apocalypse-perl-0.05.orig/debian/copyright +++ libtest-apocalypse-perl-0.05/debian/copyright @@ -0,0 +1,30 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Apocalypse +Upstream-Source: http://search.cpan.org/dist/Test-Apocalypse/ +Upstream-Name: Test-Apocalypse + +Files: * +Copyright: © 2009 Apocalypse +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: 2009, Rene Mayorga + 2009, 2010, Ryan Niebur + 2009, 2010, Jonathan Yu +License: Artistic | GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in `/usr/share/common-licenses/Artistic' + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libtest-apocalypse-perl-0.05.orig/debian/compat +++ libtest-apocalypse-perl-0.05/debian/compat @@ -0,0 +1 @@ +7 --- libtest-apocalypse-perl-0.05.orig/debian/control +++ libtest-apocalypse-perl-0.05/debian/control @@ -0,0 +1,78 @@ +Source: libtest-apocalypse-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7) +Build-Depends-Indep: perl, + libfile-find-rule-perl (>= 0.32), + libmodule-corelist-perl (>= 2.24), + libmodule-cpants-analyse-perl (>= 0.85), + libperl-metrics-simple-perl (>= 0.13), + libtest-checkchanges-perl (>= 0.08), + libtest-compile-perl (>= 0.11), + libtest-cpan-meta-perl (>= 0.13), + libtest-dependencies-perl (>= 0.12), + libtest-dir-perl (>= 1.006), + libtest-distmanifest-perl (>= 1.005), + libtest-distribution-perl (>= 2.00), + libtest-file-perl (>= 1.29), + libtest-fixme-perl (>= 0.04), + libtest-hasversion-perl (>= 0.012), + libtest-minimumversion-perl (>= 0.011), + libtest-perl-critic-perl (>= 1.02), + libtest-pod-coverage-perl (>= 1.08), + libtest-pod-perl (>= 1.40), + libtest-portability-files-perl (>= 0.05), + libtest-prereq-perl (>= 1.037), + libtest-signature-perl (>= 1.10), + libtest-spelling-perl (>= 0.11), + libtest-strict-perl (>= 0.13), + libtest-useallmodules-perl (>= 0.12), + libtest-yaml-meta-perl (>= 0.14), + libyaml-perl (>= 0.70), + libtest-block-perl, + libtest-nowarnings-perl, + spell, +Maintainer: Debian Perl Group +Uploaders: Rene Mayorga , Ryan Niebur , + Jonathan Yu +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/Test-Apocalypse/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-apocalypse-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtest-apocalypse-perl/ + +Package: libtest-apocalypse-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, + libfile-find-rule-perl (>= 0.32), + libmodule-corelist-perl (>= 2.24), + libmodule-cpants-analyse-perl (>= 0.85), + libperl-metrics-simple-perl (>= 0.13), + libtest-checkchanges-perl (>= 0.08), + libtest-compile-perl (>= 0.11), + libtest-cpan-meta-perl (>= 0.13), + libtest-dependencies-perl (>= 0.12), + libtest-dir-perl (>= 1.006), + libtest-distmanifest-perl (>= 1.005), + libtest-distribution-perl (>= 2.00), + libtest-file-perl (>= 1.29), + libtest-fixme-perl (>= 0.04), + libtest-hasversion-perl (>= 0.012), + libtest-minimumversion-perl (>= 0.011), + libtest-perl-critic-perl (>= 1.02), + libtest-pod-coverage-perl (>= 1.08), + libtest-pod-perl (>= 1.40), + libtest-portability-files-perl (>= 0.05), + libtest-prereq-perl (>= 1.037), + libtest-signature-perl (>= 1.10), + libtest-spelling-perl (>= 0.11), + libtest-strict-perl (>= 0.13), + libtest-useallmodules-perl (>= 0.12), + libtest-yaml-meta-perl (>= 0.14), + libyaml-perl (>= 0.70), + libtest-block-perl, + libtest-nowarnings-perl, + spell, +Description: bundle of tests with a common interface + Test::Apocalypse is a Perl test module that greatly simplifies common author + tests for CPAN modules. This module respects the TEST_AUTHOR environment + variable; if it is not set, it will skip the entire testsuite. --- libtest-apocalypse-perl-0.05.orig/debian/patches/whee +++ libtest-apocalypse-perl-0.05/debian/patches/whee @@ -0,0 +1,23 @@ +commit 1adbd0e7ca60151b7341108f2e57496a5da8ee0a +Author: Ryan Niebur +Date: Wed Jan 6 22:44:16 2010 -0800 + + don't blow up if there are no prereqs + +diff --git a/lib/Test/Apocalypse/OutdatedPrereqs.pm b/lib/Test/Apocalypse/OutdatedPrereqs.pm +index cc74952..4c9526a 100644 +--- a/lib/Test/Apocalypse/OutdatedPrereqs.pm ++++ b/lib/Test/Apocalypse/OutdatedPrereqs.pm +@@ -80,7 +80,11 @@ sub load_yml { + } + + # Okay, how many prereqs do we have? +- plan tests => scalar keys %$data; ++ if(scalar keys %$data > 0) { ++ plan tests => scalar keys %$data; ++ } else { ++ plan skip_all => "No prereqs"; ++ } + + # analyze every one of them! + foreach my $prereq ( keys %$data ) { --- libtest-apocalypse-perl-0.05.orig/debian/patches/series +++ libtest-apocalypse-perl-0.05/debian/patches/series @@ -0,0 +1,2 @@ +whee +patch --- libtest-apocalypse-perl-0.05.orig/debian/patches/patch +++ libtest-apocalypse-perl-0.05/debian/patches/patch @@ -0,0 +1,45 @@ +commit 7ad58396a636b92c5194adbfbe6c6eabbd8721a8 +Author: Ryan Niebur +Date: Wed Jan 6 21:31:32 2010 -0800 + + only require version 0.77 + +diff --git a/lib/Test/Apocalypse/Kwalitee.pm b/lib/Test/Apocalypse/Kwalitee.pm +index 907458f..8c2d63b 100644 +--- a/lib/Test/Apocalypse/Kwalitee.pm ++++ b/lib/Test/Apocalypse/Kwalitee.pm +@@ -11,7 +11,7 @@ use Test::More; + sub do_test { + my %MODULES = ( + 'Module::CPANTS::Analyse' => '0.85', +- 'version' => '0.78', ++ 'version' => '0.77', + ); + + while (my ($module, $version) = each %MODULES) { +diff --git a/lib/Test/Apocalypse/OutdatedPrereqs.pm b/lib/Test/Apocalypse/OutdatedPrereqs.pm +index 672f449..cc74952 100644 +--- a/lib/Test/Apocalypse/OutdatedPrereqs.pm ++++ b/lib/Test/Apocalypse/OutdatedPrereqs.pm +@@ -13,7 +13,7 @@ sub do_test { + 'YAML' => '0.70', + 'CPANPLUS::Configure' => '0.88', + 'CPANPLUS::Backend' => '0.88', +- 'version' => '0.78', ++ 'version' => '0.77', + 'Module::CoreList' => '2.23', + ); + +diff --git a/lib/Test/Apocalypse/PPPort.pm b/lib/Test/Apocalypse/PPPort.pm +index 79ee9c9..0d77ff4 100644 +--- a/lib/Test/Apocalypse/PPPort.pm ++++ b/lib/Test/Apocalypse/PPPort.pm +@@ -10,7 +10,7 @@ use Test::More; + + sub do_test { + my %MODULES = ( +- 'version' => '0.78', ++ 'version' => '0.77', + 'Devel::PPPort' => '3.19', + ); +