diff options
Diffstat (limited to 'dev-perl/OOTools/OOTools-2.300.0-r1.ebuild')
-rw-r--r-- | dev-perl/OOTools/OOTools-2.300.0-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-perl/OOTools/OOTools-2.300.0-r1.ebuild b/dev-perl/OOTools/OOTools-2.300.0-r1.ebuild new file mode 100644 index 000000000000..41ec4f283fb0 --- /dev/null +++ b/dev-perl/OOTools/OOTools-2.300.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=SKNPP +MODULE_VERSION=2.3 +inherit perl-module + +DESCRIPTION="Pragma to implement lvalue accessors with options" +SRC_URI+=" https://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${P}-patch.tar.bz2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + dev-perl/Module-Build + test? ( + dev-perl/CGI + ) +" + +SRC_TEST=do + +EPATCH_SUFFIX=patch +PATCHES=( + "${WORKDIR}"/${MY_PN:-${PN}}-patch +) +src_prepare() { + einfo "Removing unwanted author tests" + rm -f "${S}/t/test_pod.t" + rm -f "${S}/t/test_pod_coverage.t" + # This silences warnings by EUMM about missing files. + grep -v '^t/test_pod' "${S}/MANIFEST" > "${S}/MANIFEST.tmp" + mv -f -- "${S}/MANIFEST.tmp" "${S}/MANIFEST" +} |