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

EAPI=7

DIST_AUTHOR=NEELY
DIST_VERSION=0.65
inherit perl-module

DESCRIPTION="Modules that serialize data structures"
# License note: "perl 5.8.2 or later"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	virtual/perl-AutoLoader
	>=virtual/perl-Data-Dumper-2.80.0
	virtual/perl-Digest-SHA
	virtual/perl-Exporter
"
DEPEND="
	dev-perl/Module-Build
"
BDEPEND="${RDEPEND}
	virtual/perl-File-Spec
	>=dev-perl/Module-Build-0.350.0
	test? (
		virtual/perl-Test-Simple
	)
"
PERL_RM_FILES=(
	"t/00-01-Signature.t"
	"t/00-02-Kwalitee.t"
	"t/10-01-Pod.t"
	"t/10-02-Pod-Coverage.t"
)
# Parallelism broken: https://rt.cpan.org/Ticket/Display.html?id=123331
DIST_TEST="do"

src_test() {
	ewarn "Additional dependencies may need installation for comprehensive tests."
	ewarn "For details, see:"
	ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
	perl-module_src_test
}