summaryrefslogtreecommitdiff
blob: 9cdb1ad85f2a5a41d8f243f66f4ff7a67f9f4305 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=JRED
DIST_VERSION=1.08
DIST_EXAMPLES=("examples/*")
inherit perl-module

DESCRIPTION="Event based transparent Client/Server RPC framework"

SLOT="0"
KEYWORDS="amd64 ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="test"

# Note: Storable not listed in final alternation like it is
# upstream as storable alone is inherently insecure, so we force
# availability of at least one secure option
RDEPEND="|| ( dev-perl/Event dev-perl/glib-perl dev-perl/AnyEvent )
	dev-perl/IO-Socket-SSL
	dev-perl/Net-SSLeay
	|| ( >=dev-perl/Sereal-3.0.0 dev-perl/CBOR-XS >=dev-perl/JSON-XS-3.0.0 )
"
DEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? (
		virtual/perl-Test-Simple
		virtual/perl-Storable
		virtual/perl-IO
	)
"
# Before disabling test here again, please file a bug and help kentnl
# track it down, so we can at least run some tests where its sensible.
#SRC_TEST=skip
PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch")