diff options
Diffstat (limited to 'dev-perl/Carp-Assert-More/Carp-Assert-More-1.200.0.ebuild')
-rw-r--r-- | dev-perl/Carp-Assert-More/Carp-Assert-More-1.200.0.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-perl/Carp-Assert-More/Carp-Assert-More-1.200.0.ebuild b/dev-perl/Carp-Assert-More/Carp-Assert-More-1.200.0.ebuild new file mode 100644 index 000000000000..05c42930da19 --- /dev/null +++ b/dev-perl/Carp-Assert-More/Carp-Assert-More-1.200.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=PETDANCE +DIST_VERSION=1.20 +inherit perl-module + +DESCRIPTION="convenience wrappers around Carp::Assert" + +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + virtual/perl-Carp + dev-perl/Carp-Assert + virtual/perl-Scalar-List-Utils +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + dev-perl/Test-Exception + ) +" +PERL_RM_FILES=( + "t/pod-coverage.t" + "t/pod.t" +) +src_test() { + perl-module_src_test + local MODULES=( + "Carp::Assert::More ${DIST_VERSION}" + ) + for dep in "${MODULES[@]}"; do + perl -Mblib="${S}" -M"${dep} ()" -e1 || + die "Could not load ${dep}" + done +} |