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/XML-RSS/XML-RSS-1.590.0.ebuild

40 lines
1.0 KiB

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=SHLOMIF
DIST_VERSION=1.59
DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="a basic framework for creating and maintaining RSS files"
HOMEPAGE="http://perl-rss.sourceforge.net/"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-solaris"
IUSE="test"
RDEPEND="
dev-perl/DateTime
dev-perl/HTML-Parser
dev-perl/DateTime-Format-Mail
dev-perl/DateTime-Format-W3CDTF
>=dev-perl/XML-Parser-2.230.0"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.360.0
test? (
>=dev-perl/Test-Manifest-0.900
virtual/perl-Test-Simple
)
"
src_test() {
# Ugh. Why does this havce to be so difficult.
perl_rm_files t/pod{,-coverage}.t t/cpan-changes.t t/style-trailing-space.t
sed -i -e '/^pod.*t/d' "${S}/t/test_manifest" || die
sed -i -e '/^cpan-changes\.t/d' "${S}/t/test_manifest" || die
sed -i -e '/^style-trailing-space\.t/d' "${S}/t/test_manifest" || die
perl-module_src_test
}