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

EAPI=8

DIST_AUTHOR=HAARG
DIST_VERSION=0.33
inherit perl-module

DESCRIPTION="Load configuration from different file formats, transparently"

SLOT="0"
KEYWORDS="amd64 arm ~ppc x86"
IUSE="+conf +ini +json +xml +yaml"

RDEPEND="
	>=dev-perl/Module-Pluggable-3.600.0
	conf? (
		>=dev-perl/Config-General-2.480.0
	)
	!conf? (
		!<dev-perl/config-general-2.480.0
		!<dev-perl/Config-General-2.480.0
	)
	ini? (
		dev-perl/Config-Tiny
	)
	json? (
		|| (
			dev-perl/Cpanel-JSON-XS
			dev-perl/JSON-MaybeXS
			dev-perl/JSON-XS
			>=virtual/perl-JSON-PP-2
			dev-perl/JSON
		)
	)
	xml? (
		dev-perl/XML-NamespaceSupport
		dev-perl/XML-Simple
	)
	yaml? (
		|| (
			dev-perl/YAML-LibYAML
			>=dev-perl/YAML-Syck-0.700.0
			dev-perl/YAML
		)
	)
"
BDEPEND="
	${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? (
		virtual/perl-Test-Simple
	)
"