1 |
commit: 0a85eb8118bde263cadc525af8aa030d6e7abc8f |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 29 15:31:20 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 29 15:32:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a85eb81 |
7 |
|
8 |
dev-perl/Cpanel-JSON-XS: Bump to version 4.190.0 |
9 |
|
10 |
- EAPI7 |
11 |
- Pass CFLAGS to make |
12 |
- Document optional test dependencies via wiki (WIP) |
13 |
- Document optional features via wiki (ugh) |
14 |
|
15 |
Upstream: |
16 |
- Deprecate UTF-{16,18} BOMs |
17 |
- Add Cpanel::JSON::XS::Type as 2nd optional encode argument |
18 |
- Don't call get() magic hooks twice in encode |
19 |
- Avoid setlocale race in threads with non-C locales when threads |
20 |
differ in LC_NUMERIC locale |
21 |
- Fix uselocale() |
22 |
- Various crash/fixes for Perl <5.22 |
23 |
- Add indent_length() setting to encoder |
24 |
- Add sereal support to cpanel_json_xs |
25 |
- Overload "ne" op for JSON::PP::Boolean |
26 |
- Fix bignum NaN/inf handling |
27 |
- Set decoded type |
28 |
- Add ->json_type_weaken |
29 |
- Add ->unblessed_bool property |
30 |
- Add seperate allow_dupkeys property in relaxed |
31 |
- Silence various -Wunused-value warnings |
32 |
- Fix incr_text refcounts |
33 |
- Rethrow error from eval_sv and eval_pv |
34 |
- Fix various memory corruptions (oh hai sam_c) |
35 |
- Add ->require_types |
36 |
- Allow encoding numeric values >2^64 w/ JSON_TYPE_INT/JSON_TYPE_FLOAT |
37 |
- Don't serialize objects when ->convert_blessed is not enabled |
38 |
- Use Perl_strtod to minimise discrepancy in string-to-float conversions |
39 |
- Add ->type_all_string for stable deterministic string types in result |
40 |
JSON |
41 |
- Fixed typed decode memory leak (hai again) |
42 |
|
43 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
44 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
45 |
|
46 |
.../Cpanel-JSON-XS/Cpanel-JSON-XS-4.190.0.ebuild | 49 ++++++++++++++++++++++ |
47 |
dev-perl/Cpanel-JSON-XS/Manifest | 1 + |
48 |
dev-perl/Cpanel-JSON-XS/metadata.xml | 1 + |
49 |
3 files changed, 51 insertions(+) |
50 |
|
51 |
diff --git a/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.190.0.ebuild b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.190.0.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000000..63619498e38 |
54 |
--- /dev/null |
55 |
+++ b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.190.0.ebuild |
56 |
@@ -0,0 +1,49 @@ |
57 |
+# Copyright 1999-2020 Gentoo Authors |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=7 |
61 |
+ |
62 |
+DIST_AUTHOR=RURBAN |
63 |
+DIST_VERSION=4.19 |
64 |
+DIST_EXAMPLES=("eg/*") |
65 |
+inherit perl-module |
66 |
+ |
67 |
+DESCRIPTION="cPanel fork of JSON::XS, fast and correct serializing" |
68 |
+SLOT="0" |
69 |
+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" |
70 |
+IUSE="test" |
71 |
+RESTRICT="!test? ( test )" |
72 |
+ |
73 |
+RDEPEND=" |
74 |
+ >=virtual/perl-Math-BigInt-1.160.0 |
75 |
+ virtual/perl-Carp |
76 |
+ >=virtual/perl-Encode-1.980.100 |
77 |
+ virtual/perl-XSLoader |
78 |
+ >=virtual/perl-podlators-2.80.0 |
79 |
+" |
80 |
+BDEPEND="${RDEPEND} |
81 |
+ virtual/perl-ExtUtils-MakeMaker |
82 |
+ test? ( |
83 |
+ virtual/perl-Data-Dumper |
84 |
+ virtual/perl-Test |
85 |
+ virtual/perl-Test-Simple |
86 |
+ virtual/perl-Time-Piece |
87 |
+ ) |
88 |
+" |
89 |
+src_compile() { |
90 |
+ mymake=( |
91 |
+ "OPTIMIZE=${CFLAGS}" |
92 |
+ ) |
93 |
+ perl-module_src_compile |
94 |
+} |
95 |
+src_test() { |
96 |
+ ewarn "Comprehensive testing may require manual installation of dependencies" |
97 |
+ ewarn " See: https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Tests" |
98 |
+ perl-module_src_test |
99 |
+} |
100 |
+pkg_postinst() { |
101 |
+ ewarn "This package provides 'cpanel_json_xs' in PATH, which includes optional features" |
102 |
+ ewarn "otherwise not automatically made available yet. If you desire to use these," |
103 |
+ ewarn "please consult:" |
104 |
+ ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Optional_Features" |
105 |
+} |
106 |
|
107 |
diff --git a/dev-perl/Cpanel-JSON-XS/Manifest b/dev-perl/Cpanel-JSON-XS/Manifest |
108 |
index 2f8a6222e75..fb2be6c27d7 100644 |
109 |
--- a/dev-perl/Cpanel-JSON-XS/Manifest |
110 |
+++ b/dev-perl/Cpanel-JSON-XS/Manifest |
111 |
@@ -1 +1,2 @@ |
112 |
DIST Cpanel-JSON-XS-3.0239.tar.gz 219371 BLAKE2B b03ad479cc1171d0aba84f0ba221caca14a0ac560712400632d90505e4fb74c50927cd9ad6453e91687e0b4c4f1fd2b50fa32d6355c7d46518bd63adda82734c SHA512 fee7b52f2bb48a4dc6314da4c274bb3456b6af2a0d891c1125425e5a0898e3115ea486a7dc057c25aaf7fc141bfebb5ea4341b17d00373b68a7388eb75f5bdb0 |
113 |
+DIST Cpanel-JSON-XS-4.19.tar.gz 251461 BLAKE2B fa22192d017fc41327e71b84f47e3939765b0c48586cc31876f744c2a51a93b36f6d41b8c9f92bba04875123604efe3fed6a486839dbfb39623cb2a4a4064087 SHA512 c67b62e8f95900cb3626357cfa9976f1553f84ffd10a977d47839ca3b317014473c3a6e48f6680478b89bbdc2ac177b22441ad5e49e7e8eb0344ef14a3c52b10 |
114 |
|
115 |
diff --git a/dev-perl/Cpanel-JSON-XS/metadata.xml b/dev-perl/Cpanel-JSON-XS/metadata.xml |
116 |
index 67f963023f8..a3c4623686b 100644 |
117 |
--- a/dev-perl/Cpanel-JSON-XS/metadata.xml |
118 |
+++ b/dev-perl/Cpanel-JSON-XS/metadata.xml |
119 |
@@ -8,5 +8,6 @@ |
120 |
<upstream> |
121 |
<remote-id type="cpan">Cpanel-JSON-XS</remote-id> |
122 |
<remote-id type="cpan-module">Cpanel::JSON::XS</remote-id> |
123 |
+ <remote-id type="cpan-module">Cpanel::JSON::XS::Type</remote-id> |
124 |
</upstream> |
125 |
</pkgmetadata> |