diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-03-21 13:39:44 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-03-21 14:48:07 +1300 |
commit | 94b83d13d90c7f1efca73bd8734a8e37b6d1fdd1 (patch) | |
tree | 0b4cbdf51b9ad8890879f10415644b86c6e4b25d /dev-perl/JSON-MaybeXS | |
parent | dev-perl/Cpanel-JSON-XS: Add w/ version 3.23.0 (diff) | |
download | gentoo-94b83d13d90c7f1efca73bd8734a8e37b6d1fdd1.tar.gz gentoo-94b83d13d90c7f1efca73bd8734a8e37b6d1fdd1.tar.bz2 gentoo-94b83d13d90c7f1efca73bd8734a8e37b6d1fdd1.zip |
dev-perl/JSON-MaybeXS: Bump to version 1.3.9
- EAPI6
- Actually make depending on XS bits happen ( this is the intended
purpose of this module, to make XS stuff happen if at all
possible )
Upstream:
- Remove Test::Without::Module dep
- Fix tests to not rely on '.' in @INC
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-perl/JSON-MaybeXS')
-rw-r--r-- | dev-perl/JSON-MaybeXS/JSON-MaybeXS-1.3.9.ebuild | 36 | ||||
-rw-r--r-- | dev-perl/JSON-MaybeXS/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/JSON-MaybeXS/metadata.xml | 7 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-perl/JSON-MaybeXS/JSON-MaybeXS-1.3.9.ebuild b/dev-perl/JSON-MaybeXS/JSON-MaybeXS-1.3.9.ebuild new file mode 100644 index 000000000000..fdb97af5ac57 --- /dev/null +++ b/dev-perl/JSON-MaybeXS/JSON-MaybeXS-1.3.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=ETHER +DIST_VERSION=1.003009 +inherit perl-module + +DESCRIPTION="Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="test +xs" + +# needs Scalar-Util +RDEPEND=" + virtual/perl-Carp + >=virtual/perl-JSON-PP-2.273.0 + virtual/perl-Scalar-List-Utils + xs? ( + || ( + >=dev-perl/Cpanel-JSON-XS-2.331.0 + >=dev-perl/JSON-XS-3.0.0 + ) + ) +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-CBuilder-0.270.0 + virtual/perl-ExtUtils-MakeMaker + virtual/perl-File-Spec + virtual/perl-File-Temp + test? ( + >=virtual/perl-Test-Simple-0.880.0 + ) +" diff --git a/dev-perl/JSON-MaybeXS/Manifest b/dev-perl/JSON-MaybeXS/Manifest index 1df7de6bb5aa..5d1f0c4c61b3 100644 --- a/dev-perl/JSON-MaybeXS/Manifest +++ b/dev-perl/JSON-MaybeXS/Manifest @@ -1 +1,2 @@ DIST JSON-MaybeXS-1.003005.tar.gz 10373 SHA256 bdb4694b564f10459d49b9658693ceb8b91b66db0fc5e9f19cf15f3ce46cc80a SHA512 101b5b693eabeaf4e8417d021b3d311b9c8669a0121b97af7781cfbdb3ba24b8aef80d15a3cf4d78b40e47230e9f1c4450c73741675ec6d5ea018c6b06ea49d7 WHIRLPOOL 1f3bfff633a34aac006141b88b64f5cd26582cf65d50e6672ce8413c80468ea1f7abf5ba04cdbfb8982e04bd4b038662caa37428f1a1e8df602e601061916989 +DIST JSON-MaybeXS-1.003009.tar.gz 11699 SHA256 f7800ee97baae6e987ceba0c05fde838116d5f4ec3dff55ff79eb36654d22486 SHA512 a8606ccaac749650004d70bd5d6219fb18f66c4c86f720bbec3daf21a15bacd17d308c2a394fb1c9f6584be4d7c519cbc8653bdf5c7c7fa4129b75261645d8e3 WHIRLPOOL 4451ae164ee080cdb7a38e0995e59f55b6f3a0c8501fd22a3d0952b96e10972c034454b1eb3e68ac04645bf439ddfbf6942cf45a99d3a667eb791de7d1308288 diff --git a/dev-perl/JSON-MaybeXS/metadata.xml b/dev-perl/JSON-MaybeXS/metadata.xml index 2b9a936fc0a1..d4230d150028 100644 --- a/dev-perl/JSON-MaybeXS/metadata.xml +++ b/dev-perl/JSON-MaybeXS/metadata.xml @@ -5,4 +5,11 @@ <email>perl@gentoo.org</email> <name>Gentoo Perl Project</name> </maintainer> + <use> + <flag name="xs">Install a C-Based backend to make JSON encode/decode fast</flag> + </use> + <upstream> + <remote-id type="cpan">JSON-MaybeXS</remote-id> + <remote-id type="cpan-module">JSON::MaybeXS</remote-id> + </upstream> </pkgmetadata> |