dev-perl/Test-Time: Fix missing test dependency on dev-perl/File-Slurp
authorKent Fredric <kentfredric@gmail.com>
Wed, 4 May 2016 06:08:38 +0000 (18:08 +1200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 6 May 2016 22:30:09 +0000 (00:30 +0200)
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

index a1a15aa2d9891379d305c971170de5718805677d..a3ff9e372e53e8e1ff6d5b5a454db76bed57904e 100644 (file)
@@ -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"