1 |
commit: 812f6bbdc8f6fde6ed6810abf9ff0a34f1df9757 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 29 11:34:25 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 29 11:34:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812f6bbd |
7 |
|
8 |
dev-perl/JSON: Bump to version 2.940.0 |
9 |
|
10 |
- EAPI6 |
11 |
- Add USE="examples" |
12 |
- Add USE="xs" |
13 |
|
14 |
Upstream: |
15 |
- Add support for explicit backend of Cpanel::JSON::XS |
16 |
- convert_blessed_universally and support_by_pp now safer |
17 |
- Documentation and test fixes |
18 |
- Remove base.pm dependency |
19 |
- Add VERSION methods |
20 |
|
21 |
Keywords: |
22 |
- new dep JSON-XS |
23 |
- Drop keywords: amd64-fbsd arm64 hppa x86-fbsd |
24 |
|
25 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
26 |
|
27 |
dev-perl/JSON/JSON-2.940.0.ebuild | 25 +++++++++++++++++++++++++ |
28 |
dev-perl/JSON/Manifest | 1 + |
29 |
dev-perl/JSON/metadata.xml | 10 ++++------ |
30 |
3 files changed, 30 insertions(+), 6 deletions(-) |
31 |
|
32 |
diff --git a/dev-perl/JSON/JSON-2.940.0.ebuild b/dev-perl/JSON/JSON-2.940.0.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..92ebaa7d075 |
35 |
--- /dev/null |
36 |
+++ b/dev-perl/JSON/JSON-2.940.0.ebuild |
37 |
@@ -0,0 +1,25 @@ |
38 |
+# Copyright 1999-2017 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=6 |
42 |
+ |
43 |
+DIST_AUTHOR=ISHIGAKI |
44 |
+DIST_VERSION=2.94 |
45 |
+DIST_EXAMPLES=("eg/*") |
46 |
+inherit perl-module |
47 |
+ |
48 |
+DESCRIPTION="JSON (JavaScript Object Notation) encoder/decoder" |
49 |
+ |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
52 |
+IUSE="test +xs" |
53 |
+ |
54 |
+RDEPEND="xs? ( >=dev-perl/JSON-XS-2.340.0 )" |
55 |
+DEPEND=" |
56 |
+ virtual/perl-ExtUtils-MakeMaker |
57 |
+ test? ( virtual/perl-Test-Simple ) |
58 |
+" |
59 |
+src_test() { |
60 |
+ perl_rm_files t/00_pod.t |
61 |
+ perl-module_src_test |
62 |
+} |
63 |
|
64 |
diff --git a/dev-perl/JSON/Manifest b/dev-perl/JSON/Manifest |
65 |
index 0bd76126f73..b4a8545a89a 100644 |
66 |
--- a/dev-perl/JSON/Manifest |
67 |
+++ b/dev-perl/JSON/Manifest |
68 |
@@ -1 +1,2 @@ |
69 |
DIST JSON-2.90.tar.gz 85333 SHA256 4ddbb3cb985a79f69a34e7c26cde1c81120d03487e87366f9a119f90f7bdfe88 SHA512 72462a468aa37da73d164c91b5123c237c268f87215019fae49b7f212b0a25e0b48cd57b3cf0bd93c9fff6afc553b2417faafc0c319e62cb0cf4b1cf432698e7 WHIRLPOOL b737d158dbbeb516c6208b91f9aeea33f557d4f6ee17beb92d148c47c5ee23e7bf6fc6132db557c39eb95c13b209e7b0d73cbefdefb1578de7572e5bf1b0f02c |
70 |
+DIST JSON-2.94.tar.gz 82629 SHA256 12271b5cee49943bbdde430eef58f1fe64ba6561980b22c69585e08fc977dc6d SHA512 0a20562441d525ee37fff467111f7d65124525e06b4f825079948752da2a983757e719025dd2ab896115b34ba146b4c495f738e4f005542dce0b058440c73a46 WHIRLPOOL 79cefc0c573f31312402fa40de7aaefb907af0b0b8a98a5cb66e5ee9bc57144bb046427732949297d16f93c62470fe7c5ce869b860ae7905e4aee74e30e811fa |
71 |
|
72 |
diff --git a/dev-perl/JSON/metadata.xml b/dev-perl/JSON/metadata.xml |
73 |
index 922b96cbe05..2470ffa7029 100644 |
74 |
--- a/dev-perl/JSON/metadata.xml |
75 |
+++ b/dev-perl/JSON/metadata.xml |
76 |
@@ -9,15 +9,13 @@ |
77 |
<email>perl@g.o</email> |
78 |
<name>Gentoo Perl Project</name> |
79 |
</maintainer> |
80 |
+ <use> |
81 |
+ <flag name="xs">Install C-based <pkg>dev-perl/JSON-XS</pkg> for faster performance</flag> |
82 |
+ </use> |
83 |
<upstream> |
84 |
<remote-id type="cpan">JSON</remote-id> |
85 |
<remote-id type="cpan-module">JSON</remote-id> |
86 |
- <remote-id type="cpan-module">JSON::Backend::PP</remote-id> |
87 |
- <remote-id type="cpan-module">JSON::Boolean</remote-id> |
88 |
- <remote-id type="cpan-module">JSON::PP</remote-id> |
89 |
- <remote-id type="cpan-module">JSON::PP5005</remote-id> |
90 |
- <remote-id type="cpan-module">JSON::PP56</remote-id> |
91 |
<remote-id type="cpan-module">JSON::PP::IncrParser</remote-id> |
92 |
- <remote-id type="cpan-module">JSON::backportPP::Boolean</remote-id> |
93 |
+ <remote-id type="cpan-module">JSON::Backend::PP</remote-id> |
94 |
</upstream> |
95 |
</pkgmetadata> |