You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/OOTools/OOTools-2.300.0-r1.ebuild

36 lines
776 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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=""
DEPEND="
dev-perl/Module-Build
"
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"
}