# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 MODULE_AUTHOR=DOHERTY MODULE_VERSION=1.101001 inherit perl-module DESCRIPTION='Code coverage metrics for your distribution' SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" perl_meta_configure() { # ExtUtils::MakeMaker 6.30 ( 6.300.0 ) echo \>=virtual/perl-ExtUtils-MakeMaker-6.30 # Module::Build 0.3601 ( 0.360.100 ) echo \>=dev-perl/Module-Build-0.36.01 } perl_meta_build() { # Module::Build 0.3601 ( 0.360.100 ) echo \>=dev-perl/Module-Build-0.36.01 } perl_meta_runtime() { # Devel::Cover echo dev-perl/Devel-Cover # Dist::Zilla::App echo dev-perl/Dist-Zilla # File::Temp echo virtual/perl-File-Temp # File::chdir echo dev-perl/File-chdir # Path::Class echo dev-perl/Path-Class # perl 5.008 ( 5.8.0 ) echo \>=dev-lang/perl-5.8.0 # strict echo dev-lang/perl # warnings echo dev-lang/perl } perl_meta_test() { # File::Find echo dev-lang/perl # Test::More echo virtual/perl-Test-Simple } DEPEND=" $(perl_meta_configure) $(perl_meta_build) $(perl_meta_runtime) test? ( $(perl_meta_test) ) " RDEPEND=" $(perl_meta_runtime) "