summaryrefslogtreecommitdiff
blob: 23e50adbb0d4f03f8064f9ed1b6f6d97e70e3a9f (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DIST_AUTHOR=BRADFITZ
DIST_VERSION=0.94
inherit perl-module

DESCRIPTION="Asynchronous client module for Gearman for Danga::Socket applications"

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

RDEPEND=">=dev-perl/Gearman-1.07
	>=dev-perl/Danga-Socket-1.57"
DEPEND="${RDEPEND}
	test? ( dev-perl/Gearman-Server )
"

DIST_TEST="do"
src_test() {
	local BADTESTS=(
		# blocks forever
		t/err1.t
		# https://rt.cpan.org/Public/Bug/Display.html?id=87063
		t/err3.t
	)
	perl_rm_files "${BADTESTS[@]}"
	perl-module_src_test
}