summaryrefslogtreecommitdiff
blob: 223bad3eab96b425881ed6ee86dc195b425b2ecf (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
46
47
48
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DIST_AUTHOR=MAXMIND
DIST_VERSION=0.22
inherit perl-module

DESCRIPTION="Sane APIs for IP addresses and networks"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	virtual/perl-Carp
	virtual/perl-Exporter
	dev-perl/List-AllUtils
	>=dev-perl/Math-Int128-0.60.0
	dev-perl/Moo
	virtual/perl-Scalar-List-Utils
	>=virtual/perl-Socket-1.990.0
	dev-perl/Sub-Quote
	>=dev-perl/namespace-autoclean-0.160.0
"
BDEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? (
		virtual/perl-File-Spec
		virtual/perl-Math-BigInt
		dev-perl/Test-Fatal
		>=virtual/perl-Test-Simple-0.960.0
	)
"
PERL_RM_FILES=(
	"t/author-00-compile.t"
	"t/author-eol.t"
	"t/author-no-tabs.t"
	"t/author-pod-coverage.t"
	"t/author-pod-spell.t"
	"t/author-pod-syntax.t"
	"t/author-portability.t"
	"t/author-synopsis.t"
	"t/author-test-version.t"
	"t/release-cpan-changes.t"
	"t/release-tidyall.t"
)