summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-08-17 06:07:02 +1200
committerKent Fredric <kentnl@gentoo.org>2020-08-17 06:07:57 +1200
commitffd7855b53326d853aa0603204c8541dcc6ed974 (patch)
tree239bbdb84467735c9fa7b387e0c0cb5233d75a85 /dev-perl/Cpanel-JSON-XS
parentmedia-gfx/imv: Add USE=heif, use meson.eclass (diff)
downloadgentoo-ffd7855b53326d853aa0603204c8541dcc6ed974.tar.gz
gentoo-ffd7855b53326d853aa0603204c8541dcc6ed974.tar.bz2
gentoo-ffd7855b53326d853aa0603204c8541dcc6ed974.zip
dev-perl/Cpanel-JSON-XS: Bump to version 4.210.0
Upstream: - Improve AIX's inf/nan detection - Fix compat with JSON::XS when convert_blessed(1) + allow_blessed(0) - Fix some stringify overloaded cases via convert_blessed - Fix encoding a threads::shared::shared_clone(...) wrapped Cpanel::JSON::XS::{true,false} - option ->canonical(1) now works on Tie'd hashes Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Cpanel-JSON-XS')
-rw-r--r--dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.210.0.ebuild49
-rw-r--r--dev-perl/Cpanel-JSON-XS/Manifest1
2 files changed, 50 insertions, 0 deletions
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
new file mode 100644
index 000000000000..a5f85eedc53b
--- /dev/null
+++ b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.210.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=RURBAN
+DIST_VERSION=4.21
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="cPanel fork of JSON::XS, fast and correct serializing"
+SLOT="0"
+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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=virtual/perl-Math-BigInt-1.160.0
+ virtual/perl-Carp
+ >=virtual/perl-Encode-1.980.100
+ virtual/perl-XSLoader
+ >=virtual/perl-podlators-2.80.0
+"
+BDEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-Test
+ virtual/perl-Test-Simple
+ virtual/perl-Time-Piece
+ )
+"
+src_compile() {
+ mymake=(
+ "OPTIMIZE=${CFLAGS}"
+ )
+ perl-module_src_compile
+}
+src_test() {
+ ewarn "Comprehensive testing may require manual installation of dependencies"
+ ewarn " See: https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Tests"
+ perl-module_src_test
+}
+pkg_postinst() {
+ ewarn "This package provides 'cpanel_json_xs' in PATH, which includes optional features"
+ ewarn "otherwise not automatically made available yet. If you desire to use these,"
+ ewarn "please consult:"
+ ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Optional_Features"
+}
diff --git a/dev-perl/Cpanel-JSON-XS/Manifest b/dev-perl/Cpanel-JSON-XS/Manifest
index fb2be6c27d73..6a46096f93b3 100644
--- a/dev-perl/Cpanel-JSON-XS/Manifest
+++ b/dev-perl/Cpanel-JSON-XS/Manifest
@@ -1,2 +1,3 @@
DIST Cpanel-JSON-XS-3.0239.tar.gz 219371 BLAKE2B b03ad479cc1171d0aba84f0ba221caca14a0ac560712400632d90505e4fb74c50927cd9ad6453e91687e0b4c4f1fd2b50fa32d6355c7d46518bd63adda82734c SHA512 fee7b52f2bb48a4dc6314da4c274bb3456b6af2a0d891c1125425e5a0898e3115ea486a7dc057c25aaf7fc141bfebb5ea4341b17d00373b68a7388eb75f5bdb0
DIST Cpanel-JSON-XS-4.19.tar.gz 251461 BLAKE2B fa22192d017fc41327e71b84f47e3939765b0c48586cc31876f744c2a51a93b36f6d41b8c9f92bba04875123604efe3fed6a486839dbfb39623cb2a4a4064087 SHA512 c67b62e8f95900cb3626357cfa9976f1553f84ffd10a977d47839ca3b317014473c3a6e48f6680478b89bbdc2ac177b22441ad5e49e7e8eb0344ef14a3c52b10
+DIST Cpanel-JSON-XS-4.21.tar.gz 253372 BLAKE2B ad090f758d4b7b1f81ee01cb7860a952ca25c028c8043e33898593eb4818e5746d56eed0101656d95b68be54d68589ee7bb174e09e990d4a139448b422e8c542 SHA512 1408fed400e3e792af156695a5437e479a30cafb7d0597afc80c04de9b46882b67f75920f5f32047ed498bf088c9430108cea6863cfd2e6314765688f2c610e0