summaryrefslogtreecommitdiff
blob: 6dccc8a8e4f36e710deb15000d46ec06a4a1873f (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
MODULE_AUTHOR=TMUELLER
MODULE_VERSION=0.03001
inherit perl-module

DESCRIPTION="throw HTTP-Errors as (Exception::Class-) Exceptions"
LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
comment() { echo ''; }
COMMON_DEPEND="
	>=dev-perl/Exception-Class-1.29
	|| ( >=dev-perl/HTTP-Message-5.817.0 >=dev-perl/libwww-perl-5.817.0 )
	$(comment ^^ HTTP::Status)
	>=virtual/perl-Scalar-List-Utils-1.220.0 $(comment scalar::util)
	$(comment virtual/perl-base)
	$(comment virtual/perl-strict)
	$(comment virtual/perl-warnings)
"
DEPEND="
	${COMMON_DEPEND}
	virtual/perl-Module-Build
	test? (
		>=virtual/perl-Test-Simple-0.88 $(comment Test::More 0.880.0)
		>=dev-perl/Test-Exception-0.29 $(comment 0.290.0)
	)
"
RDEPEND="
	${COMMON_DEPEND}
"
SRC_TEST="do"