public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cpanel-JSON-XS/
Date: Mon, 29 Jun 2020 15:32:26 +0000 (UTC)	[thread overview]
Message-ID: <1593444728.0a85eb8118bde263cadc525af8aa030d6e7abc8f.kentnl@gentoo> (raw)

commit:     0a85eb8118bde263cadc525af8aa030d6e7abc8f
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 29 15:31:20 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Jun 29 15:32:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a85eb81

dev-perl/Cpanel-JSON-XS: Bump to version 4.190.0

- EAPI7
- Pass CFLAGS to make
- Document optional test dependencies via wiki (WIP)
- Document optional features via wiki (ugh)

Upstream:
- Deprecate UTF-{16,18} BOMs
- Add Cpanel::JSON::XS::Type as 2nd optional encode argument
- Don't call get() magic hooks twice in encode
- Avoid setlocale race in threads with non-C locales when threads
  differ in LC_NUMERIC locale
- Fix uselocale()
- Various crash/fixes for Perl <5.22
- Add indent_length() setting to encoder
- Add sereal support to cpanel_json_xs
- Overload "ne" op for JSON::PP::Boolean
- Fix bignum NaN/inf handling
- Set decoded type
- Add ->json_type_weaken
- Add ->unblessed_bool property
- Add seperate allow_dupkeys property in relaxed
- Silence various -Wunused-value warnings
- Fix incr_text refcounts
- Rethrow error from eval_sv and eval_pv
- Fix various memory corruptions (oh hai sam_c)
- Add ->require_types
- Allow encoding numeric values >2^64 w/ JSON_TYPE_INT/JSON_TYPE_FLOAT
- Don't serialize objects when ->convert_blessed is not enabled
- Use Perl_strtod to minimise discrepancy in string-to-float conversions
- Add ->type_all_string for stable deterministic string types in result
  JSON
- Fixed typed decode memory leak (hai again)

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 .../Cpanel-JSON-XS/Cpanel-JSON-XS-4.190.0.ebuild   | 49 ++++++++++++++++++++++
 dev-perl/Cpanel-JSON-XS/Manifest                   |  1 +
 dev-perl/Cpanel-JSON-XS/metadata.xml               |  1 +
 3 files changed, 51 insertions(+)

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
new file mode 100644
index 00000000000..63619498e38
--- /dev/null
+++ b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.190.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.19
+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 2f8a6222e75..fb2be6c27d7 100644
--- a/dev-perl/Cpanel-JSON-XS/Manifest
+++ b/dev-perl/Cpanel-JSON-XS/Manifest
@@ -1 +1,2 @@
 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

diff --git a/dev-perl/Cpanel-JSON-XS/metadata.xml b/dev-perl/Cpanel-JSON-XS/metadata.xml
index 67f963023f8..a3c4623686b 100644
--- a/dev-perl/Cpanel-JSON-XS/metadata.xml
+++ b/dev-perl/Cpanel-JSON-XS/metadata.xml
@@ -8,5 +8,6 @@
   <upstream>
     <remote-id type="cpan">Cpanel-JSON-XS</remote-id>
     <remote-id type="cpan-module">Cpanel::JSON::XS</remote-id>
+    <remote-id type="cpan-module">Cpanel::JSON::XS::Type</remote-id>
   </upstream>
 </pkgmetadata>


             reply	other threads:[~2020-06-29 15:32 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29 15:32 Kent Fredric [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-13 21:22 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cpanel-JSON-XS/ Sam James
2025-02-27 23:12 Andreas K. Hüttel
2025-01-22  4:55 Sam James
2024-11-02  7:10 Sam James
2024-07-27 12:35 Sam James
2024-07-27 12:35 Sam James
2024-07-27 12:35 Sam James
2024-07-27 12:35 Sam James
2024-07-27 12:35 Sam James
2024-06-01  3:31 Sam James
2023-08-19  7:45 Arthur Zamarin
2023-08-19  7:42 Arthur Zamarin
2023-08-19  7:42 Arthur Zamarin
2023-08-19  6:33 Sam James
2023-07-05  0:38 Sam James
2023-06-21  9:12 Arthur Zamarin
2023-06-21  9:12 Arthur Zamarin
2023-06-21  8:24 Arthur Zamarin
2023-06-21  8:24 Arthur Zamarin
2023-06-21  8:19 Arthur Zamarin
2023-06-21  8:18 Sam James
2023-06-03 22:38 Andreas K. Hüttel
2022-06-04  0:06 Sam James
2021-12-12 18:25 Sam James
2021-12-06  6:38 Arthur Zamarin
2021-12-05  3:15 Sam James
2021-12-05  3:15 Sam James
2021-12-05  3:08 Sam James
2021-10-20  0:11 Sam James
2021-10-15  5:59 Agostino Sarubbo
2021-10-14 21:21 Andreas K. Hüttel
2021-10-14 21:21 Andreas K. Hüttel
2021-07-26  6:24 Sam James
2021-07-15 21:42 Sam James
2021-07-15 21:39 Sam James
2021-07-15 21:33 Sam James
2021-05-06  6:57 Agostino Sarubbo
2021-05-05 16:09 Sergei Trofimovich
2021-05-04 21:31 Andreas K. Hüttel
2020-12-27 14:42 Fabian Groffen
2020-12-12  6:46 Kent Fredric
2020-10-19  3:58 Kent Fredric
2020-10-07 23:11 Kent Fredric
2020-09-07  9:26 Kent Fredric
2020-09-06  7:49 Sergei Trofimovich
2020-09-05 12:32 Kent Fredric
2020-08-16 18:08 Kent Fredric
2020-08-16 14:47 Agostino Sarubbo
2020-08-14 23:51 Sam James
2020-08-14 22:48 Sam James
2020-08-12 10:29 Sam James
2019-05-04 21:46 Mikle Kolyada
2019-01-12  1:59 Kent Fredric
2018-10-29  4:06 Matt Turner
2018-06-08 13:26 Mikle Kolyada
2018-06-03  3:31 Kent Fredric
2018-04-18  7:05 Sergei Trofimovich
2018-04-07 21:13 Matt Turner
2018-04-05 21:07 Sergei Trofimovich
2018-04-05 18:29 Thomas Deutschmann
2018-04-05 14:11 Aaron Bauman
2018-01-23 22:21 Patrice Clement
2017-11-05 18:00 Sergei Trofimovich
2017-11-05 18:00 Sergei Trofimovich
2017-11-04 10:48 Sergei Trofimovich
2017-11-04 10:45 Sergei Trofimovich
2017-10-05 12:22 Kent Fredric
2017-08-03  8:24 Sergei Trofimovich
2017-08-03  8:12 Sergei Trofimovich
2017-07-01 11:14 Sergei Trofimovich
2017-07-01 10:23 Sergei Trofimovich
2017-06-30  8:28 Sergei Trofimovich
2017-06-29  8:06 Agostino Sarubbo
2017-05-22  2:20 Kent Fredric
2017-04-05 22:03 Michael Weber
2017-04-02 15:49 Kent Fredric
2017-03-21  1:48 Kent Fredric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1593444728.0a85eb8118bde263cadc525af8aa030d6e7abc8f.kentnl@gentoo \
    --to=kentnl@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox