# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 MODULE_AUTHOR=DRTECH MODULE_VERSION=0.18 inherit perl-module DESCRIPTION='A Perlish compact query language for ElasticSearch' 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_build() { # Test::More 0.96 ( 0.960.0 ) echo \>=virtual/perl-Test-Simple-0.96 } perl_meta_runtime() { # Carp echo dev-lang/perl # Scalar::Util echo virtual/perl-Scalar-List-Utils # strict echo dev-lang/perl # warnings echo dev-lang/perl } perl_meta_test() { # Data::Dump echo dev-perl/Data-Dump # Test::Deep echo dev-perl/Test-Deep # Test::Exception echo dev-perl/Test-Exception # 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) " SRC_TEST="do"