# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=TOBYINK
DIST_VERSION=0.015
DIST_EXAMPLES=( "examples/*" )
inherit perl-module

DESCRIPTION="Easily translate Moose code to Moo"

SLOT="0"
KEYWORDS="amd64 ~hppa ppc x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	>=dev-perl/Moo-1.6.0
	>=dev-perl/Type-Tiny-1.0.1
"
DEPEND="${RDEPEND}
	>=virtual/perl-ExtUtils-MakeMaker-6.170.0
	test? (
		>=dev-perl/Test-Fatal-0.10.0
		>=virtual/perl-Test-Simple-0.960.0
		>=dev-perl/Test-Requires-0.60.0
	)
"