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

EAPI=7

DIST_AUTHOR=TYPESTER
DIST_VERSION=0.09
inherit perl-module

DESCRIPTION="(de)serializer perl module for Adobe's AMF (Action Message Format)"

SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="dev-perl/DateTime
	dev-perl/Any-Moose
	dev-perl/UNIVERSAL-require
	dev-perl/XML-LibXML"

BDEPEND="${RDEPEND}
	test? (
		dev-perl/YAML
		dev-perl/Spiffy
		dev-perl/Test-Base
		virtual/perl-Test-Simple
	)
"
PERL_RM_FILES=(
	"inc/YAML.pm"
	"inc/Spiffy.pm"
	"inc/Test/More.pm"
	"inc/Test/Base.pm"
	"inc/Test/Builder.pm"
	"inc/Test/Base/Filter.pm"
	"inc/Test/Builder/Module.pm"
)
PATCHES=(
	"${FILESDIR}/${PN}-0.09-no-dot-inc.patch"
)