Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2013 18:42:54 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322244 - in head/devel: . p5-JSON-Path p5-JSON-Path/files
Message-ID:  <201307031842.r63IgsK5072767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Wed Jul  3 18:42:54 2013
New Revision: 322244
URL: http://svnweb.freebsd.org/changeset/ports/322244

Log:
  New port: devel/p5-JSON-Path:
  
  search nested hashref/arrayref structures using JSONPath
  
  WWW: http://search.cpan.org/dist/JSON-Path/

Added:
  head/devel/p5-JSON-Path/
  head/devel/p5-JSON-Path/Makefile   (contents, props changed)
  head/devel/p5-JSON-Path/distinfo   (contents, props changed)
  head/devel/p5-JSON-Path/files/
  head/devel/p5-JSON-Path/files/patch-META.yml   (contents, props changed)
  head/devel/p5-JSON-Path/files/patch-lib__JSON__Path.pm   (contents, props changed)
  head/devel/p5-JSON-Path/pkg-descr   (contents, props changed)
  head/devel/p5-JSON-Path/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Jul  3 18:39:06 2013	(r322243)
+++ head/devel/Makefile	Wed Jul  3 18:42:54 2013	(r322244)
@@ -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

Added: head/devel/p5-JSON-Path/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-JSON-Path/Makefile	Wed Jul  3 18:42:54 2013	(r322244)
@@ -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>

Added: head/devel/p5-JSON-Path/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-JSON-Path/distinfo	Wed Jul  3 18:42:54 2013	(r322244)
@@ -0,0 +1,2 @@
+SHA256 (JSON-Path-0.204.tar.gz) = 0682ffc812e3da608296a9b87fef2da28319a9db324ad172e3994555ca4e5e02
+SIZE (JSON-Path-0.204.tar.gz) = 51190

Added: head/devel/p5-JSON-Path/files/patch-META.yml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-JSON-Path/files/patch-META.yml	Wed Jul  3 18:42:54 2013	(r322244)
@@ -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

Added: head/devel/p5-JSON-Path/files/patch-lib__JSON__Path.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-JSON-Path/files/patch-lib__JSON__Path.pm	Wed Jul  3 18:42:54 2013	(r322244)
@@ -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 /],

Added: head/devel/p5-JSON-Path/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-JSON-Path/pkg-descr	Wed Jul  3 18:42:54 2013	(r322244)
@@ -0,0 +1,3 @@
+search nested hashref/arrayref structures using JSONPath
+
+WWW: http://search.cpan.org/dist/JSON-Path/

Added: head/devel/p5-JSON-Path/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-JSON-Path/pkg-plist	Wed Jul  3 18:42:54 2013	(r322244)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307031842.r63IgsK5072767>