summaryrefslogtreecommitdiff
blob: ca84007fc428bb45543cf0b30b507e0721c47362 (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
45
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=MAXMIND
DIST_VERSION=1.000008
inherit perl-module

DESCRIPTION="Fast XS implementation of MaxMind DB reader"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
	dev-libs/libmaxminddb:=
	dev-perl/Math-Int128
	dev-perl/Math-Int64
	dev-perl/MaxMind-DB-Reader
	>=dev-perl/MaxMind-DB-Common-0.40.1
	dev-perl/Moo
	virtual/perl-XSLoader
	dev-perl/namespace-autoclean
"
DEPEND="
	>=dev-perl/Module-Build-0.280.0
	dev-libs/libmaxminddb:=
"
BDEPEND="${RDEPEND}
	>=dev-perl/Module-Build-0.280.0
	test? (
		virtual/perl-ExtUtils-MakeMaker
		virtual/perl-File-Spec
		dev-perl/Module-Implementation
		>=dev-perl/Net-Works-0.210.0
		>=dev-perl/Path-Class-0.270.0
		dev-perl/Test-Fatal
		dev-perl/Test-Number-Delta
		dev-perl/Test-Requires
		>=virtual/perl-Test-Simple-0.960.0
		virtual/perl-autodie
		virtual/perl-version
	)
"