summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild')
-rw-r--r--dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild b/dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild
new file mode 100644
index 000000000000..1d5cb1bcaab3
--- /dev/null
+++ b/dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=ILMARI
+DIST_VERSION=0.11
+inherit perl-module
+
+DESCRIPTION="Unload a class"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-perl/Class-Inspector"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ >=virtual/perl-Test-Simple-0.880
+ dev-perl/Test-Requires
+ )
+"
+src_test() {
+ local i;
+ elog "Install the following optional dependencies for comprehensive tests:"
+ i="$(if has_version 'dev-perl/Moose'; then echo '[I]'; else echo '[ ]'; fi)"
+ elog " $i dev-perl/Moose"
+ elog " - Test unloadability of Moose Classes and Meta-Classes";
+ elog
+ perl_rm_files t/author-{eol,no-tabs}.t t/author-pod-{coverage,syntax}.t
+ perl-module_src_test
+}