summaryrefslogtreecommitdiff
blob: f2ed7283a57d8d8d99b0ff1f89fd5859657fd281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=MATTIASH
DIST_VERSION=1.4
DIST_EXAMPLES=("examples/*")
inherit perl-module

DESCRIPTION="Cache the result of http get-requests persistently"

SLOT="0"
KEYWORDS="amd64 ~arm ia64 ppc sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="dev-perl/libwww-perl
	virtual/perl-Digest-MD5
	virtual/perl-Storable"
DEPEND="${RDEPEND}
	test? (
		dev-perl/Test-RequiresInternet
		virtual/perl-Test-Simple
	)"

src_test() {
	perl_rm_files t/pod.t t/pod-coverage.t
	perl-module_src_test
}