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

EAPI=6

DIST_AUTHOR=TINITA
DIST_VERSION=0.78
DIST_EXAMPLES=("example/modules/*")
inherit perl-module

DESCRIPTION="C Language Support for Inline"

SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"

DIST_TEST="do" # parallelism thwarted by race conditions

RDEPEND="
	>=virtual/perl-ExtUtils-MakeMaker-7
	>=virtual/perl-File-Spec-0.800.0
	>=dev-perl/Inline-0.790.0
	>=dev-perl/Parse-RecDescent-1.967.9
	>=dev-perl/Pegex-0.580.0
	!<dev-perl/Inline-0.510.0
"
DEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	>=dev-perl/File-ShareDir-Install-0.60.0
	test? (
		dev-perl/File-Copy-Recursive
		virtual/perl-File-Path
		>=virtual/perl-Test-Simple-0.880.0
		>=dev-perl/Test-Warn-0.230.0
		dev-perl/YAML-LibYAML
		virtual/perl-autodie
		>=virtual/perl-version-0.770.0
	)
"
src_test() {
	perl_rm_files t/author-*.t
	perl-module_src_test
}