Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Cpanel-JSON-XS/
Date: Tue, 04 May 2021 21:31:58
Message-Id: 1620163885.93212058ac93c0718f17cd0df06a8a9a1b4ec722.dilfridge@gentoo
1 commit: 93212058ac93c0718f17cd0df06a8a9a1b4ec722
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 4 21:20:42 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 21:31:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93212058
7
8 dev-perl/Cpanel-JSON-XS: Version bump 4.26
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 .../Cpanel-JSON-XS/Cpanel-JSON-XS-4.260.0.ebuild | 50 ++++++++++++++++++++++
14 dev-perl/Cpanel-JSON-XS/Manifest | 1 +
15 2 files changed, 51 insertions(+)
16
17 diff --git a/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.260.0.ebuild b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.260.0.ebuild
18 new file mode 100644
19 index 00000000000..69bda65b2f6
20 --- /dev/null
21 +++ b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.260.0.ebuild
22 @@ -0,0 +1,50 @@
23 +# Copyright 1999-2021 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +DIST_AUTHOR=RURBAN
29 +DIST_VERSION=4.26
30 +DIST_EXAMPLES=("eg/*")
31 +inherit perl-module
32 +
33 +DESCRIPTION="cPanel fork of JSON::XS, fast and correct serializing"
34 +SLOT="0"
35 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
36 +IUSE="test"
37 +RESTRICT="!test? ( test )"
38 +
39 +RDEPEND="
40 + >=virtual/perl-Math-BigInt-1.160.0
41 + virtual/perl-Carp
42 + >=virtual/perl-Encode-1.980.100
43 + virtual/perl-Exporter
44 + virtual/perl-XSLoader
45 + >=virtual/perl-podlators-2.80.0
46 +"
47 +BDEPEND="${RDEPEND}
48 + virtual/perl-ExtUtils-MakeMaker
49 + test? (
50 + virtual/perl-Data-Dumper
51 + virtual/perl-Test
52 + virtual/perl-Test-Simple
53 + virtual/perl-Time-Piece
54 + )
55 +"
56 +src_compile() {
57 + mymake=(
58 + "OPTIMIZE=${CFLAGS}"
59 + )
60 + perl-module_src_compile
61 +}
62 +src_test() {
63 + ewarn "Comprehensive testing may require manual installation of dependencies"
64 + ewarn " See: https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Tests"
65 + perl-module_src_test
66 +}
67 +pkg_postinst() {
68 + ewarn "This package provides 'cpanel_json_xs' in PATH, which includes optional features"
69 + ewarn "otherwise not automatically made available yet. If you desire to use these,"
70 + ewarn "please consult:"
71 + ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Optional_Features"
72 +}
73
74 diff --git a/dev-perl/Cpanel-JSON-XS/Manifest b/dev-perl/Cpanel-JSON-XS/Manifest
75 index 6a84a41bf90..bd36d58e85b 100644
76 --- a/dev-perl/Cpanel-JSON-XS/Manifest
77 +++ b/dev-perl/Cpanel-JSON-XS/Manifest
78 @@ -1,2 +1,3 @@
79 DIST Cpanel-JSON-XS-4.19.tar.gz 251461 BLAKE2B fa22192d017fc41327e71b84f47e3939765b0c48586cc31876f744c2a51a93b36f6d41b8c9f92bba04875123604efe3fed6a486839dbfb39623cb2a4a4064087 SHA512 c67b62e8f95900cb3626357cfa9976f1553f84ffd10a977d47839ca3b317014473c3a6e48f6680478b89bbdc2ac177b22441ad5e49e7e8eb0344ef14a3c52b10
80 DIST Cpanel-JSON-XS-4.24.tar.gz 254008 BLAKE2B 4449d0d562388c547ab26e87048b49d2e77e7508c8bc2c4db4af562ecfed768452cea1daca60e8ce59ed464b9d4ceca17d73326a16bec3e3a6d42bd6e13df7fe SHA512 311746bd6d686f758db4507c1219675b262205a8d798662b8f5521d3f9c7d76678580a30e26281b461647763d552cb76fdbbcf4aa1737dc7c7416364179741bb
81 +DIST Cpanel-JSON-XS-4.26.tar.gz 254123 BLAKE2B 52a42c48b920a536a9c203964a4a379555f2032e75d5e32d5a9865f62a05e4377ce80ff1a2f882c9d5932f4b602de1f562b9e1e4fb3001813b6fffe2702be2bc SHA512 3193988a09670a5de6b6292e9f35e8c374518120648a206b769802fb4a66e6487a4ba05b3e89e214b9e3f5985452be74c17aa67e4bf96e88097812be75b2ed9e