summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-03-21 12:19:33 +1300
committerKent Fredric <kentnl@gentoo.org>2017-03-21 12:19:57 +1300
commita724651a4d6b384fe4cd1846f55d110ced2b9f34 (patch)
tree11bd7c23b3da00afa2acfbf741b8f45403ff500b /dev-perl/Config-Any
parentprofiles: ppc64le: disable symlink lib usage (diff)
downloadgentoo-a724651a4d6b384fe4cd1846f55d110ced2b9f34.tar.gz
gentoo-a724651a4d6b384fe4cd1846f55d110ced2b9f34.tar.bz2
gentoo-a724651a4d6b384fe4cd1846f55d110ced2b9f34.zip
dev-perl/Config-Any: Bump to version 0.290.0
Upstream: - Load files directly instead of searching @INC ( 5.26 compat ) - decode UTF8-encoded config files properly - Support for Cpanel-JSON-XS and JSON-MaybeXS - Throw errors when loading non-existent config files - Allow relative loading even under taint. Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Config-Any')
-rw-r--r--dev-perl/Config-Any/Config-Any-0.290.0.ebuild45
-rw-r--r--dev-perl/Config-Any/Manifest1
-rw-r--r--dev-perl/Config-Any/metadata.xml3
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-perl/Config-Any/Config-Any-0.290.0.ebuild b/dev-perl/Config-Any/Config-Any-0.290.0.ebuild
new file mode 100644
index 000000000000..5f8f56b923f2
--- /dev/null
+++ b/dev-perl/Config-Any/Config-Any-0.290.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=HAARG
+DIST_VERSION=0.29
+inherit perl-module
+
+DESCRIPTION="Load configuration from different file formats, transparently"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~ppc-aix"
+IUSE="test minimal +json"
+
+# json should pull Cpanel-JSON-XS
+RDEPEND="
+ >=dev-perl/Module-Pluggable-3.600.0
+ !minimal? (
+ >=dev-perl/Config-General-2.470.0
+ )
+ minimal? (
+ !<dev-perl/config-general-2.470.0
+ !<dev-perl/Config-General-2.470.0
+ )
+ json? (
+ || (
+ dev-perl/JSON-MaybeXS
+ dev-perl/JSON-XS
+ >=virtual/perl-JSON-PP-2
+ dev-perl/JSON
+ )
+ )
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.590.0
+ test? (
+ virtual/perl-Test-Simple
+ )
+"
+
+src_test() {
+ perl_rm_files t/pod.t t/pod-coverage.t
+ perl-module_src_test
+}
diff --git a/dev-perl/Config-Any/Manifest b/dev-perl/Config-Any/Manifest
index b1b410f5b740..f29f09387740 100644
--- a/dev-perl/Config-Any/Manifest
+++ b/dev-perl/Config-Any/Manifest
@@ -1,2 +1,3 @@
DIST Config-Any-0.26.tar.gz 35193 SHA256 f9ae12d5c1f084385dd9d55dd25c09a6f69f1a76c938d4d06ea3c6d85710a594 SHA512 15bac8e71340b181dd195ae211add730d8be01fcd7bbf4a7d3ed10b7fd2d7f207501a88a6ed03999d7207672249c4045defc931b7e9eb56e00166fdf7daccfda WHIRLPOOL 1534dfea6d6774be38d61ef683482081cac84c94c51bf8c31a0260d12d2829bc8194fa5edd2ced61c6665e1661ef77e4aa9700c8d980128992722060ba538e53
DIST Config-Any-0.27.tar.gz 34862 SHA256 836f6dfff4a7ca2b05cf72e81848f9904ef2b61690f382a76819dc4853289cde SHA512 3987ab9521e5dc00f12b20f2cf3fb3ddb2fe1275903009064c6d5a29b1e5acfedde1238b9a60f0266a38c70a010fe26b4d29e4e8bccd11a01a19f28fa63625d2 WHIRLPOOL b7e9cbfe24eee5e921cfeb51114fb747b3c869fb19f955861a62338908839c05a2ef9cdd6aa961628790bd9799772331c288ad38dfb1984f960f631f709a5092
+DIST Config-Any-0.29.tar.gz 22124 SHA256 5793cba5b2c3620d4f466fd1fcb81dbbd43c5aa23116fe0f10b93ce2f95381a9 SHA512 4c9e9aeca0e21ab50a26ed319298430f95783e5f93577cac59da1d791334c9bcc8d4c19194080697fad2be99b0b426a538196a8a9de2f6eec5a5a015d00f9cbb WHIRLPOOL 5a60fdfc6d4caa41f0eeb431d51eccd51ebd6e9afcf10c4194d9e99a5d23a7cd36a6aecd81acc280647c69d9c33c0e3f5c92b47d6d3d2e0d0e94668c2c87e5c1
diff --git a/dev-perl/Config-Any/metadata.xml b/dev-perl/Config-Any/metadata.xml
index 85791c326d0d..d7d84c3b221e 100644
--- a/dev-perl/Config-Any/metadata.xml
+++ b/dev-perl/Config-Any/metadata.xml
@@ -5,6 +5,9 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
+ <use>
+ <flag name="json">Install support libraries to support decoding JSON config files</flag>
+ </use>
<upstream>
<remote-id type="cpan">Config-Any</remote-id>
<remote-id type="cpan-module">Config::Any</remote-id>