diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-10-08 12:07:28 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-10-08 12:10:51 +1300 |
commit | ff8678eb2b3bf6631352b99362c1f5326a4bcaeb (patch) | |
tree | 69669cfad369169a4084c11a322c42fb5acd2492 /dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.240.0.ebuild | |
parent | net-misc/ntpsec: short-circuit broken asciidoctor version parsing (diff) | |
download | gentoo-ff8678eb2b3bf6631352b99362c1f5326a4bcaeb.tar.gz gentoo-ff8678eb2b3bf6631352b99362c1f5326a4bcaeb.tar.bz2 gentoo-ff8678eb2b3bf6631352b99362c1f5326a4bcaeb.zip |
dev-perl/Cpanel-JSON-XS: Bump to version 4.240.0
Upstream:
- Fix decode_json($json, $allow_nonref) failing to reject
$json that decode to non-references when $allow_nonref
is false.
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.240.0.ebuild')
-rw-r--r-- | dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.240.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.240.0.ebuild b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.240.0.ebuild new file mode 100644 index 000000000000..8a5333fa953a --- /dev/null +++ b/dev-perl/Cpanel-JSON-XS/Cpanel-JSON-XS-4.240.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=RURBAN +DIST_VERSION=4.24 +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-Exporter + 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" +} |