diff options
-rw-r--r-- | dev-perl/XML-RSS/XML-RSS-1.540.0-r1.ebuild | 14 | ||||
-rw-r--r-- | dev-perl/XML-RSS/XML-RSS-1.560.0.ebuild | 15 | ||||
-rw-r--r-- | dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild | 14 | ||||
-rw-r--r-- | dev-perl/XML-RSS/files/nomanifest.patch | 26 |
4 files changed, 53 insertions, 16 deletions
diff --git a/dev-perl/XML-RSS/XML-RSS-1.540.0-r1.ebuild b/dev-perl/XML-RSS/XML-RSS-1.540.0-r1.ebuild index 241bf3af8d9f..4bd6f1ee9a9f 100644 --- a/dev-perl/XML-RSS/XML-RSS-1.540.0-r1.ebuild +++ b/dev-perl/XML-RSS/XML-RSS-1.540.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -23,7 +23,13 @@ RDEPEND="dev-perl/HTML-Parser >=dev-perl/XML-Parser-2.30" DEPEND="${RDEPEND} dev-perl/Module-Build - test? ( dev-perl/Test-Pod - dev-perl/Test-Pod-Coverage - >=dev-perl/Test-Manifest-0.9 )" + test? ( virtual/perl-Test-Simple )" #dev-perl/Test-Differences + +PATCHES=( + "${FILESDIR}/nomanifest.patch" +) +src_test() { + perl_rm_files t/pod{,-coverage}.t t/cpan-changes.t t/style-trailing-space.t + perl-module_src_test +} diff --git a/dev-perl/XML-RSS/XML-RSS-1.560.0.ebuild b/dev-perl/XML-RSS/XML-RSS-1.560.0.ebuild index 68cef289955b..20a82e89e0d0 100644 --- a/dev-perl/XML-RSS/XML-RSS-1.560.0.ebuild +++ b/dev-perl/XML-RSS/XML-RSS-1.560.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -23,7 +23,14 @@ RDEPEND="dev-perl/HTML-Parser >=dev-perl/XML-Parser-2.30" DEPEND="${RDEPEND} dev-perl/Module-Build - test? ( dev-perl/Test-Pod - dev-perl/Test-Pod-Coverage - >=dev-perl/Test-Manifest-0.9 )" + test? ( virtual/perl-Test-Simple )" #dev-perl/Test-Differences + +PATCHES=( + "${FILESDIR}/nomanifest.patch" +) + +src_test() { + perl_rm_files t/pod{,-coverage}.t t/cpan-changes.t t/style-trailing-space.t + perl-module_src_test +} diff --git a/dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild b/dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild index 27a292597433..27a6f75c528c 100644 --- a/dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild +++ b/dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild @@ -24,16 +24,14 @@ RDEPEND=" >=dev-perl/XML-Parser-2.230.0" DEPEND="${RDEPEND} >=dev-perl/Module-Build-0.360.0 - test? ( - >=dev-perl/Test-Manifest-0.900 - virtual/perl-Test-Simple - ) + test? ( virtual/perl-Test-Simple ) " + +PATCHES=( + "${FILESDIR}/nomanifest.patch" +) + src_test() { - # Ugh. Why does this havce to be so difficult. perl_rm_files t/pod{,-coverage}.t t/cpan-changes.t t/style-trailing-space.t - sed -i -e '/^pod.*t/d' "${S}/t/test_manifest" || die - sed -i -e '/^cpan-changes\.t/d' "${S}/t/test_manifest" || die - sed -i -e '/^style-trailing-space\.t/d' "${S}/t/test_manifest" || die perl-module_src_test } diff --git a/dev-perl/XML-RSS/files/nomanifest.patch b/dev-perl/XML-RSS/files/nomanifest.patch new file mode 100644 index 000000000000..fcade6be4cc0 --- /dev/null +++ b/dev-perl/XML-RSS/files/nomanifest.patch @@ -0,0 +1,26 @@ +diff --git a/Build.PL b/Build.PL +index 010efb6..4559535 100644 +--- a/Build.PL ++++ b/Build.PL +@@ -2,11 +2,10 @@ use strict; + use warnings; + + use File::Spec; +-use lib File::Spec->catdir(File::Spec->curdir(), "inc"); + +-use Test::Run::Builder::Manifest; ++use Module::Build; + +-my $build = Test::Run::Builder::Manifest->new( ++my $build = Module::Build->new( + 'module_name' => "XML::RSS", + 'requires' => + { +@@ -19,7 +18,6 @@ my $build = Test::Run::Builder::Manifest->new( + }, + build_requires => + { +- 'Test::Manifest' => '0.9', + 'Test::More' => 0, + }, + configure_requires => |