1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

New port: devel/p5-JSON-Path:

search nested hashref/arrayref structures using JSONPath

WWW: http://search.cpan.org/dist/JSON-Path/
This commit is contained in:
Ryan Steinmetz 2013-07-03 18:42:54 +00:00
parent 49af152797
commit 1862e75acd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322244
7 changed files with 60 additions and 0 deletions

View File

@ -2172,6 +2172,7 @@
SUBDIR += p5-Iterator-Util
SUBDIR += p5-JIRA-Client
SUBDIR += p5-JQuery
SUBDIR += p5-JSON-Path
SUBDIR += p5-JSON-RPC
SUBDIR += p5-JSON-RPC-Common
SUBDIR += p5-JSON-RPC-Dispatcher

View File

@ -0,0 +1,25 @@
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= JSON-Path
PORTVERSION= 0.204
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Search nested hashref/arrayref structures using JSONPath
BUILD_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
p5-Lvalue>=0:${PORTSDIR}/devel/p5-Lvalue
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= JSON::Path.3
post-patch::
@${RM} ${WRKSRC}/lib/JSON/Path.pm.orig
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (JSON-Path-0.204.tar.gz) = 0682ffc812e3da608296a9b87fef2da28319a9db324ad172e3994555ca4e5e02
SIZE (JSON-Path-0.204.tar.gz) = 51190

View File

@ -0,0 +1,11 @@
--- ./META.yml.orig 2013-07-03 13:30:22.000000000 -0400
+++ ./META.yml 2013-07-03 13:30:54.000000000 -0400
@@ -26,7 +26,7 @@
requires:
JSON: 2.00
Sub::Exporter: 0
- lvalue: 0
+ Lvalue: 0
perl: 5.8.0
resources:
bugtracker: http://rt.cpan.org/Dist/Display.html?Queue=JSON-Path

View File

@ -0,0 +1,11 @@
--- ./lib/JSON/Path.pm.orig 2013-07-03 13:31:32.000000000 -0400
+++ ./lib/JSON/Path.pm 2013-07-03 13:31:52.000000000 -0400
@@ -12,7 +12,7 @@
use Carp;
use JSON qw[from_json];
use Scalar::Util qw[blessed];
-use lvalue ();
+use Lvalue qw/lvalue/;
use Sub::Exporter -setup => {
exports => [qw/ jpath jpath1 jpath_map /],

View File

@ -0,0 +1,3 @@
search nested hashref/arrayref structures using JSONPath
WWW: http://search.cpan.org/dist/JSON-Path/

View File

@ -0,0 +1,7 @@
@comment $FreeBSD$
%%SITE_PERL%%/JSON/Path.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/Path/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON/Path
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JSON
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/JSON
@dirrmtry %%SITE_PERL%%/JSON