summaryrefslogtreecommitdiff
blob: a486a834f466b6f634f8b2a67da4a1f405f5e9ff (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=OALDERS
DIST_VERSION=1.79
inherit perl-module

DESCRIPTION="Handy web browsing in a Perl object"

SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"

RDEPEND="
	virtual/perl-Carp
	virtual/perl-Getopt-Long
	dev-perl/HTML-Form
	>=dev-perl/HTML-Parser-3.340.0
	dev-perl/HTML-Tree
	dev-perl/HTTP-Cookies
	dev-perl/HTTP-Message
	dev-perl/libwww-perl
	>=dev-perl/URI-1.360.0
"
DEPEND="${RDEPEND}
	test? (
		>=dev-perl/CGI-4.320.0
		virtual/perl-Encode
		virtual/perl-Exporter
		virtual/perl-File-Spec
		virtual/perl-File-Temp
		dev-perl/HTTP-Daemon
		dev-perl/HTTP-Server-Simple
		virtual/perl-Test-Simple
		dev-perl/Test-Output
		dev-perl/Test-RequiresInternet
	)
"

# MI makes these configure problems
src_prepare() {
	use test && perl_rm_files t/pod.t t/pod-coverage.t
	perl-module_src_prepare
}