dev-perl/Time-Duration: Remove POD Author tests.
authorKent Fredric <kentnl@gentoo.org>
Thu, 4 Aug 2016 06:02:58 +0000 (18:02 +1200)
committerKent Fredric <kentnl@gentoo.org>
Thu, 4 Aug 2016 07:30:26 +0000 (19:30 +1200)
Useless for end users, only complicates install.

Unbreaks dependency graph for s390 and sh

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 sparc sparc-fbsd x86 x86-fbsd"

dev-perl/Time-Duration/Time-Duration-1.60.0-r1.ebuild

index 3b7319d239760bf83453ee6612a18c90df3c470b..36b23d1577809692b6a2b6ce559b2fecb9f6dff8 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$
 
@@ -14,10 +14,12 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-linux"
 IUSE="test"
 
-DEPEND="
-       test? (
-               dev-perl/Test-Pod
-               dev-perl/Test-Pod-Coverage
-       )"
+DEPEND=""
+
+src_prepare() {
+       # Has to happen before configure time
+       use test && perl_rm_files "t/02_pod.t" "t/03_pod_cover.t"
+       perl-module_src_prepare
+}
 
 SRC_TEST=do