public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-RSS/files/, dev-perl/XML-RSS/
@ 2016-08-05  9:25 Kent Fredric
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Fredric @ 2016-08-05  9:25 UTC (permalink / raw
  To: gentoo-commits

commit:     132450d0e56aba7fe7690aefffa766a01438c7bf
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 09:25:25 2016 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 09:25:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132450d0

dev-perl/XML-RSS: Remove POD/Author tests.

This is a little unusual because they've subclassed Module::Build
to so some horrible things that mean there are *2* manifests, one for tests
which it also pointlessly tests.

So stock deleting the bad tests results in test failures.

The only way to subjugate this bad behaviour is patch out the use of the
test-specific sub-class to avoid those pointless testing shenanigans.

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"

 dev-perl/XML-RSS/XML-RSS-1.540.0-r1.ebuild | 14 ++++++++++----
 dev-perl/XML-RSS/XML-RSS-1.560.0.ebuild    | 15 +++++++++++----
 dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild    | 14 ++++++--------
 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 241bf3a..4bd6f1e 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 68cef28..20a82e8 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 27a2925..27a6f75 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 0000000..fcade6b
--- /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 =>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-RSS/files/, dev-perl/XML-RSS/
@ 2020-04-15 17:05 Kent Fredric
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Fredric @ 2020-04-15 17:05 UTC (permalink / raw
  To: gentoo-commits

commit:     0a924ef595f7c0d93d53fd2d4ee499048af9be6a
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 15 16:53:22 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Apr 15 17:04:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a924ef5

dev-perl/XML-RSS: Remove old 1.590.0

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/XML-RSS/Manifest               |  1 -
 dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild | 37 ---------------------------------
 dev-perl/XML-RSS/files/nomanifest.patch | 26 -----------------------
 3 files changed, 64 deletions(-)

diff --git a/dev-perl/XML-RSS/Manifest b/dev-perl/XML-RSS/Manifest
index 053a7404d17..c9f9a23b478 100644
--- a/dev-perl/XML-RSS/Manifest
+++ b/dev-perl/XML-RSS/Manifest
@@ -1,2 +1 @@
-DIST XML-RSS-1.59.tar.gz 129141 BLAKE2B a7d1afdb9d57de52300cf2e1f9fc6e6b7132570ea367459425b9809453fd69c84194e42a127c35fe1f6a3391967db8c1c08698f27d1b64ddb20f7b3cce218ca9 SHA512 ab35d7897b286a154158696084749593e4b4cde280ea91d38d10222bc4c41838bae4e6063dde763ca58b1098c41db66680763135622deb4d2747ee10155a0e70
 DIST XML-RSS-1.60.tar.gz 130871 BLAKE2B 253e65d6b0a9c4c2775022b8fc26779b9ff924309fcb89a66de6effdf4d39dcb0f91736bb80bc32c5690c7fcb5396611e63670c821e7b7a43cc8b5251cfa8f34 SHA512 93301cef8aa1ba553b624c3db558b33c356fbaecd0049b6960225d3eb4e3c9992bb8896608eb5e8405adcce644b7b19d971525d799adc781a1a7e6a20cd12b75

diff --git a/dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild b/dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild
deleted file mode 100644
index 5714aaab1a4..00000000000
--- a/dev-perl/XML-RSS/XML-RSS-1.590.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=SHLOMIF
-DIST_VERSION=1.59
-DIST_EXAMPLES=("examples/*")
-inherit perl-module
-
-DESCRIPTION="a basic framework for creating and maintaining RSS files"
-HOMEPAGE="http://perl-rss.sourceforge.net/"
-
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	dev-perl/DateTime
-	dev-perl/HTML-Parser
-	dev-perl/DateTime-Format-Mail
-	dev-perl/DateTime-Format-W3CDTF
-	>=dev-perl/XML-Parser-2.230.0"
-DEPEND="${RDEPEND}
-	>=dev-perl/Module-Build-0.360.0
-	test? ( virtual/perl-Test-Simple )
-"
-
-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/files/nomanifest.patch b/dev-perl/XML-RSS/files/nomanifest.patch
deleted file mode 100644
index fcade6be4cc..00000000000
--- a/dev-perl/XML-RSS/files/nomanifest.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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 =>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-15 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05  9:25 [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-RSS/files/, dev-perl/XML-RSS/ Kent Fredric
  -- strict thread matches above, loose matches on Subject: below --
2020-04-15 17:05 Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox