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

EAPI=8

DIST_AUTHOR=MIROD
DIST_VERSION=3.52
inherit perl-module

DESCRIPTION="Process huge XML documents in tree mode"

SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="nls"

RDEPEND="
	>=dev-perl/XML-Parser-2.310.0
	>=virtual/perl-Scalar-List-Utils-1.230.0
	>=virtual/perl-Encode-2.240.100_rc
	>=dev-libs/expat-1.95.5
	dev-perl/Tie-IxHash
	dev-perl/XML-XPath
	>=dev-perl/libwww-perl-6.40.0
	>=dev-perl/HTML-Parser-3.690.0
	nls? (
		>=dev-perl/Text-Iconv-1.200.0-r1
	)
"
BDEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? (
		>=dev-perl/XML-Handler-YAWriter-0.230.0
		>=dev-perl/XML-SAX-Writer-0.530.0
	)
"

DIST_TEST=do

src_test() {
	perl_rm_files "t/pod.t" "t/pod_coverage.t" "t/test_changes.t" \
		"t/test_kwalitee.t" "t/test_meta_json.t"
	perl-module_src_test
}