blob: 89f8dd2792be12d0fd9fc28e00f188da427c2df0 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=MBRADSHAW
DIST_VERSION=1.20210927
inherit perl-module
DESCRIPTION="Perl implementation of DMARC"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="minimal"
PERL_RM_FILES=(
'bin/install_deps.pl'
)
RDEPEND="
!minimal? (
dev-perl/Mail-DKIM
dev-perl/Net-IMAP-Simple
dev-perl/Net-SMTPS
)
virtual/perl-Carp
dev-perl/Config-Tiny
>=dev-perl/DBD-SQLite-1.310.0
>=dev-perl/DBIx-Simple-1.350.0
virtual/perl-Data-Dumper
dev-perl/Email-MIME
>=dev-perl/Email-Sender-1.300.32
dev-perl/Email-Simple
virtual/perl-Encode
dev-perl/File-ShareDir
virtual/perl-Getopt-Long
virtual/perl-HTTP-Tiny
virtual/perl-IO
virtual/perl-IO-Compress
dev-perl/IO-Socket-SSL
dev-perl/libwww-perl
dev-perl/Mail-DKIM
dev-perl/Net-DNS
dev-perl/Net-HTTP
dev-perl/Net-IDN-Encode
dev-perl/Net-IP
dev-perl/Net-SMTPS
dev-perl/Net-SSLeay
>=dev-perl/Net-Server-2
virtual/perl-Socket
>=dev-perl/Socket6-0.230.0
virtual/perl-Sys-Syslog
dev-perl/Test-File-ShareDir
dev-perl/URI
dev-perl/XML-LibXML
virtual/perl-parent
>=dev-perl/Regexp-Common-2013031301
"
BDEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.360.100
virtual/perl-ExtUtils-MakeMaker
>=dev-perl/File-ShareDir-Install-0.60.0
test? (
dev-perl/Test-Exception
dev-perl/Test-Output
virtual/perl-Test-Simple
)
"
src_test() {
local my_test_control
local badfiles=( t/author-*.t )
my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
if ! has network ${my_test_control} ; then
einfo "Removing network tests w/o DIST_TEST_OVERRIDE~=network";
badfiles+=( \
"t/04.PurePerl.t" \
"t/06.Result.t" \
"t/09.HTTP.t" \
"t/11.Report.Store.t" \
"t/17.Report.Aggregate.Schema.t" \
"t/22.Report.Send.SMTP.t" \
)
fi
perl_rm_files "${badfiles[@]}"
perl-module_src_test
}
|