commit:     5112d4d29b72c9b332f0835666b8ed85b7d2242f
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Wed May  4 06:08:38 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri May  6 22:30:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5112d4d2

dev-perl/Test-Time: Fix missing test dependency on dev-perl/File-Slurp

Really, the right thing here to do would be install dev-perl/Test-Name-FromLine
as per stated dependencies in Makefile.PL, which then in turn will pull 
File-Slurp.

However, this module ships Test::Name::FromLine in inc/ and consumes it from 
there anyway,
  degrading this actual usage to only File::Slurp.

Package-Manager: portage-2.2.28
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/Test-Time/Test-Time-0.40.0.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-perl/Test-Time/Test-Time-0.40.0.ebuild 
b/dev-perl/Test-Time/Test-Time-0.40.0.ebuild
index a1a15aa..a3ff9e3 100644
--- a/dev-perl/Test-Time/Test-Time-0.40.0.ebuild
+++ b/dev-perl/Test-Time/Test-Time-0.40.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$
 
@@ -12,11 +12,14 @@ DESCRIPTION="Overrides the time() and sleep() core 
functions for testing"
 
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
        >=virtual/perl-ExtUtils-MakeMaker-6.360.0
+       test? (
+               dev-perl/File-Slurp
+       )
 "
 
 SRC_TEST="do parallel"

Reply via email to