Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cpanel-JSON-XS/
Date: Sun, 16 Aug 2020 18:08:43
Message-Id: 1597601277.ffd7855b53326d853aa0603204c8541dcc6ed974.kentnl@gentoo
1 commit: ffd7855b53326d853aa0603204c8541dcc6ed974
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 18:07:02 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 18:07:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd7855b
7
8 dev-perl/Cpanel-JSON-XS: Bump to version 4.210.0
9
10 Upstream:
11 - Improve AIX's inf/nan detection
12 - Fix compat with JSON::XS when convert_blessed(1) + allow_blessed(0)
13 - Fix some stringify overloaded cases via convert_blessed
14 - Fix encoding a threads::shared::shared_clone(...) wrapped
15 Cpanel::JSON::XS::{true,false}
16 - option ->canonical(1) now works on Tie'd hashes
17
18 Package-Manager: Portage-2.3.103, Repoman-2.3.22
19 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
20
21 .../Cpanel-JSON-XS/Cpanel-JSON-XS-4.210.0.ebuild | 49 ++++++++++++++++++++++
22 dev-perl/Cpanel-JSON-XS/Manifest | 1 +
23 2 files changed, 50 insertions(+)
24
25 diff --git a/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.210.0.ebuild b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.210.0.ebuild
26 new file mode 100644
27 index 00000000000..a5f85eedc53
28 --- /dev/null
29 +++ b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.210.0.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DIST_AUTHOR=RURBAN
37 +DIST_VERSION=4.21
38 +DIST_EXAMPLES=("eg/*")
39 +inherit perl-module
40 +
41 +DESCRIPTION="cPanel fork of JSON::XS, fast and correct serializing"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
44 +IUSE="test"
45 +RESTRICT="!test? ( test )"
46 +
47 +RDEPEND="
48 + >=virtual/perl-Math-BigInt-1.160.0
49 + virtual/perl-Carp
50 + >=virtual/perl-Encode-1.980.100
51 + virtual/perl-XSLoader
52 + >=virtual/perl-podlators-2.80.0
53 +"
54 +BDEPEND="${RDEPEND}
55 + virtual/perl-ExtUtils-MakeMaker
56 + test? (
57 + virtual/perl-Data-Dumper
58 + virtual/perl-Test
59 + virtual/perl-Test-Simple
60 + virtual/perl-Time-Piece
61 + )
62 +"
63 +src_compile() {
64 + mymake=(
65 + "OPTIMIZE=${CFLAGS}"
66 + )
67 + perl-module_src_compile
68 +}
69 +src_test() {
70 + ewarn "Comprehensive testing may require manual installation of dependencies"
71 + ewarn " See: https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Tests"
72 + perl-module_src_test
73 +}
74 +pkg_postinst() {
75 + ewarn "This package provides 'cpanel_json_xs' in PATH, which includes optional features"
76 + ewarn "otherwise not automatically made available yet. If you desire to use these,"
77 + ewarn "please consult:"
78 + ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Optional_Features"
79 +}
80
81 diff --git a/dev-perl/Cpanel-JSON-XS/Manifest b/dev-perl/Cpanel-JSON-XS/Manifest
82 index fb2be6c27d7..6a46096f93b 100644
83 --- a/dev-perl/Cpanel-JSON-XS/Manifest
84 +++ b/dev-perl/Cpanel-JSON-XS/Manifest
85 @@ -1,2 +1,3 @@
86 DIST Cpanel-JSON-XS-3.0239.tar.gz 219371 BLAKE2B b03ad479cc1171d0aba84f0ba221caca14a0ac560712400632d90505e4fb74c50927cd9ad6453e91687e0b4c4f1fd2b50fa32d6355c7d46518bd63adda82734c SHA512 fee7b52f2bb48a4dc6314da4c274bb3456b6af2a0d891c1125425e5a0898e3115ea486a7dc057c25aaf7fc141bfebb5ea4341b17d00373b68a7388eb75f5bdb0
87 DIST Cpanel-JSON-XS-4.19.tar.gz 251461 BLAKE2B fa22192d017fc41327e71b84f47e3939765b0c48586cc31876f744c2a51a93b36f6d41b8c9f92bba04875123604efe3fed6a486839dbfb39623cb2a4a4064087 SHA512 c67b62e8f95900cb3626357cfa9976f1553f84ffd10a977d47839ca3b317014473c3a6e48f6680478b89bbdc2ac177b22441ad5e49e7e8eb0344ef14a3c52b10
88 +DIST Cpanel-JSON-XS-4.21.tar.gz 253372 BLAKE2B ad090f758d4b7b1f81ee01cb7860a952ca25c028c8043e33898593eb4818e5746d56eed0101656d95b68be54d68589ee7bb174e09e990d4a139448b422e8c542 SHA512 1408fed400e3e792af156695a5437e479a30cafb7d0597afc80c04de9b46882b67f75920f5f32047ed498bf088c9430108cea6863cfd2e6314765688f2c610e0