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

EAPI=6

DIST_AUTHOR=MLEHMANN
DIST_VERSION=4.34
inherit perl-module

DESCRIPTION="Asynchronous Input/Output"

SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
#RESTRICT="test"

RDEPEND="dev-perl/common-sense"
DEPEND="${RDEPEND}
	>=dev-perl/Canary-Stability-2001
	>=virtual/perl-ExtUtils-MakeMaker-6.520.0
"
src_test() {
	if [[ "${IO_AIO_SANDBOX_TESTS:-0}" == 0 ]]; then
		# Tests trigger stack overflow in sandbox code, see bug 553918
		perl_rm_files t/01_stat.t t/02_read.t t/05_readdir.t t/03_errors.t
		ewarn "Some tests cannot be run under a sandbox. For details, see:"
		ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
	fi
	perl-module_src_test
}