summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-05-29 23:34:25 +1200
committerKent Fredric <kentnl@gentoo.org>2017-05-29 23:34:49 +1200
commit812f6bbdc8f6fde6ed6810abf9ff0a34f1df9757 (patch)
tree3f00f96e9891f5984bf2250c6d595aeeafc638b9 /dev-perl/JSON
parentapp-text/editorconfig-core-c: amd64 stable wrt bug #620026 (diff)
downloadgentoo-812f6bbdc8f6fde6ed6810abf9ff0a34f1df9757.tar.gz
gentoo-812f6bbdc8f6fde6ed6810abf9ff0a34f1df9757.tar.bz2
gentoo-812f6bbdc8f6fde6ed6810abf9ff0a34f1df9757.zip
dev-perl/JSON: Bump to version 2.940.0
- EAPI6 - Add USE="examples" - Add USE="xs" Upstream: - Add support for explicit backend of Cpanel::JSON::XS - convert_blessed_universally and support_by_pp now safer - Documentation and test fixes - Remove base.pm dependency - Add VERSION methods Keywords: - new dep JSON-XS - Drop keywords: amd64-fbsd arm64 hppa x86-fbsd Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-perl/JSON')
-rw-r--r--dev-perl/JSON/JSON-2.940.0.ebuild25
-rw-r--r--dev-perl/JSON/Manifest1
-rw-r--r--dev-perl/JSON/metadata.xml10
3 files changed, 30 insertions, 6 deletions
diff --git a/dev-perl/JSON/JSON-2.940.0.ebuild b/dev-perl/JSON/JSON-2.940.0.ebuild
new file mode 100644
index 000000000000..92ebaa7d0752
--- /dev/null
+++ b/dev-perl/JSON/JSON-2.940.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=ISHIGAKI
+DIST_VERSION=2.94
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="JSON (JavaScript Object Notation) encoder/decoder"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
+IUSE="test +xs"
+
+RDEPEND="xs? ( >=dev-perl/JSON-XS-2.340.0 )"
+DEPEND="
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( virtual/perl-Test-Simple )
+"
+src_test() {
+ perl_rm_files t/00_pod.t
+ perl-module_src_test
+}
diff --git a/dev-perl/JSON/Manifest b/dev-perl/JSON/Manifest
index 0bd76126f731..b4a8545a89a1 100644
--- a/dev-perl/JSON/Manifest
+++ b/dev-perl/JSON/Manifest
@@ -1 +1,2 @@
DIST JSON-2.90.tar.gz 85333 SHA256 4ddbb3cb985a79f69a34e7c26cde1c81120d03487e87366f9a119f90f7bdfe88 SHA512 72462a468aa37da73d164c91b5123c237c268f87215019fae49b7f212b0a25e0b48cd57b3cf0bd93c9fff6afc553b2417faafc0c319e62cb0cf4b1cf432698e7 WHIRLPOOL b737d158dbbeb516c6208b91f9aeea33f557d4f6ee17beb92d148c47c5ee23e7bf6fc6132db557c39eb95c13b209e7b0d73cbefdefb1578de7572e5bf1b0f02c
+DIST JSON-2.94.tar.gz 82629 SHA256 12271b5cee49943bbdde430eef58f1fe64ba6561980b22c69585e08fc977dc6d SHA512 0a20562441d525ee37fff467111f7d65124525e06b4f825079948752da2a983757e719025dd2ab896115b34ba146b4c495f738e4f005542dce0b058440c73a46 WHIRLPOOL 79cefc0c573f31312402fa40de7aaefb907af0b0b8a98a5cb66e5ee9bc57144bb046427732949297d16f93c62470fe7c5ce869b860ae7905e4aee74e30e811fa
diff --git a/dev-perl/JSON/metadata.xml b/dev-perl/JSON/metadata.xml
index 922b96cbe05e..2470ffa70296 100644
--- a/dev-perl/JSON/metadata.xml
+++ b/dev-perl/JSON/metadata.xml
@@ -9,15 +9,13 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
+ <use>
+ <flag name="xs">Install C-based <pkg>dev-perl/JSON-XS</pkg> for faster performance</flag>
+ </use>
<upstream>
<remote-id type="cpan">JSON</remote-id>
<remote-id type="cpan-module">JSON</remote-id>
- <remote-id type="cpan-module">JSON::Backend::PP</remote-id>
- <remote-id type="cpan-module">JSON::Boolean</remote-id>
- <remote-id type="cpan-module">JSON::PP</remote-id>
- <remote-id type="cpan-module">JSON::PP5005</remote-id>
- <remote-id type="cpan-module">JSON::PP56</remote-id>
<remote-id type="cpan-module">JSON::PP::IncrParser</remote-id>
- <remote-id type="cpan-module">JSON::backportPP::Boolean</remote-id>
+ <remote-id type="cpan-module">JSON::Backend::PP</remote-id>
</upstream>
</pkgmetadata>