dev-perl/File-Next: Remove POD dependency
authorKent Fredric <kentnl@gentoo.org>
Fri, 5 Aug 2016 06:12:44 +0000 (18:12 +1200)
committerKent Fredric <kentnl@gentoo.org>
Fri, 5 Aug 2016 06:13:03 +0000 (18:13 +1200)
Normally the dependent tests could be nuked, but the test
suite is dependent on various files for testing iteration
of files.

So the POD tests are replaced with no-op tests that simply
pass as fast as possible, so that the Pod testing can be nuked
and the dependencies can be reaped

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/File-Next/File-Next-1.120.0-r1.ebuild

index 1e2269bf39217e9bccd7dede880b73f3ab11868e..d3dfe98cb2e0da9a022253cc911416ae68621240 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,9 +17,13 @@ IUSE="test"
 RDEPEND="virtual/perl-File-Spec
        virtual/perl-Test-Simple"
 DEPEND="
-       test? ( ${RDEPEND}
-               dev-perl/Test-Pod
-               dev-perl/Test-Pod-Coverage
-       )"
+       test? ( ${RDEPEND} )"
 
 SRC_TEST=do
+
+src_test() {
+       # Ugh, Upstream has tests that depend on tests ...
+       echo 'print qq[1..1\nok 1];' > "${S}/t/pod.t"
+       echo 'print qq[1..1\nok 1];' > "${S}/t/pod-coverage.t"
+       perl-module_src_test
+}