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
This commit is contained in:
Kent Fredric
2017-03-21 13:39:44 +13:00
parent 2fe27cc36e
commit 94b83d13d9
3 changed files with 44 additions and 0 deletions

View File

@@ -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
)
"

View File

@@ -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

View File

@@ -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>