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

EAPI=8

DIST_AUTHOR=ETHER
DIST_VERSION=0.27
inherit perl-module

DESCRIPTION="Use Moose or Mouse modules (DEPRECATED)"

SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv x86"

RDEPEND="
	dev-perl/Moose
	virtual/perl-version
"
BDEPEND="${RDEPEND}
	>=virtual/perl-ExtUtils-MakeMaker-6.310.0
	test? (
		dev-perl/Moose
		dev-perl/MooseX-Types
	)
"

PERL_RM_FILES=(
	"t/001-basic-mouse.t"
	"t/002-other-modules-mouse.t"
	"t/003-is_moose_loaded.t"
	"t/004-x-modules-mouse.t"
	"t/005-aliases-mouse.t"
	"t/010-use_mouse_roles.t"
	"t/012-use_mouse_util.t"
)