From f9f381d1d28ea5ba9d3017b26e4dd51bbf9b872c Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Thu, 4 Aug 2016 18:02:58 +1200 Subject: [PATCH] dev-perl/Time-Duration: Remove POD Author tests. 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" --- .../Time-Duration/Time-Duration-1.60.0-r1.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/dev-perl/Time-Duration/Time-Duration-1.60.0-r1.ebuild b/dev-perl/Time-Duration/Time-Duration-1.60.0-r1.ebuild index 3b7319d23976..36b23d157780 100644 --- a/dev-perl/Time-Duration/Time-Duration-1.60.0-r1.ebuild +++ b/dev-perl/Time-Duration/Time-Duration-1.60.0-r1.ebuild @@ -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 -- 2.26.2