# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 MODULE_AUTHOR=RJBS MODULE_VERSION=0.200001 inherit perl-module DESCRIPTION='write-once, read-many attributes for Moose' LICENSE=" || ( Artistic GPL-2 )" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" perl_meta_configure() { # ExtUtils::MakeMaker 6.30 ( 6.300.0 ) echo \>=virtual/perl-ExtUtils-MakeMaker-6.30 } perl_meta_runtime() { # Moose::Role 0.90 ( 0.900.0 ) echo \>=dev-perl/Moose-0.900 # strict echo dev-lang/perl # warnings echo dev-lang/perl } perl_meta_test() { # Moose echo dev-perl/Moose # Test::Fatal echo dev-perl/Test-Fatal # Test::Moose echo dev-perl/Moose # Test::More 0.96 ( 0.960.0 ) echo \>=virtual/perl-Test-Simple-0.96 } DEPEND=" $(perl_meta_configure) $(perl_meta_runtime) test? ( $(perl_meta_test) ) " RDEPEND=" $(perl_meta_runtime) " SRC_TEST="do"