Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2017 13:42:26 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436962 - in head/www: . p5-JSON-API
Message-ID:  <201703261342.v2QDgQ1m097200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Mar 26 13:42:26 2017
New Revision: 436962
URL: https://svnweb.freebsd.org/changeset/ports/436962

Log:
  Add p5-JSON-API 1.1.0, module to interact with a JSON API.

Added:
  head/www/p5-JSON-API/
  head/www/p5-JSON-API/Makefile   (contents, props changed)
  head/www/p5-JSON-API/distinfo   (contents, props changed)
  head/www/p5-JSON-API/pkg-descr   (contents, props changed)
  head/www/p5-JSON-API/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Mar 26 12:12:53 2017	(r436961)
+++ head/www/Makefile	Sun Mar 26 13:42:26 2017	(r436962)
@@ -1055,6 +1055,7 @@
     SUBDIR += p5-Image-Delivery
     SUBDIR += p5-Interchange6
     SUBDIR += p5-JE
+    SUBDIR += p5-JSON-API
     SUBDIR += p5-Jemplate
     SUBDIR += p5-Jifty
     SUBDIR += p5-Kwiki

Added: head/www/p5-JSON-API/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-JSON-API/Makefile	Sun Mar 26 13:42:26 2017	(r436962)
@@ -0,0 +1,29 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	JSON-API
+PORTVERSION=	1.1.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Module to interact with a JSON API
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-JSON>=2:converters/p5-JSON \
+		p5-libwww>=0:www/p5-libwww \
+		p5-URI-Encode>0:www/p5-URI-Encode
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-IO-Capture>=0:devel/p5-IO-Capture \
+		p5-Test-Fake-HTTPD>=0:devel/p5-Test-Fake-HTTPD \
+		p5-Test-Pod-Coverage>=0:devel/p5-Test-Pod-Coverage
+
+USES=		perl5
+USE_PERL5=	modbuild
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/www/p5-JSON-API/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-JSON-API/distinfo	Sun Mar 26 13:42:26 2017	(r436962)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1490534196
+SHA256 (JSON-API-v1.1.0.tar.gz) = 29724b5db667c51ba5a31c259389c6f70faa9081a43a74699dea3a30365d6ce9
+SIZE (JSON-API-v1.1.0.tar.gz) = 19841

Added: head/www/p5-JSON-API/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-JSON-API/pkg-descr	Sun Mar 26 13:42:26 2017	(r436962)
@@ -0,0 +1,6 @@
+This module wraps JSON and LWP::UserAgent to create a flexible utility for
+accessing APIs that accept/provide JSON data.
+
+It supports all the options LWP supports, including authentication.
+
+WWW: http://search.cpan.org/dist/JSON-API/

Added: head/www/p5-JSON-API/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-JSON-API/pkg-plist	Sun Mar 26 13:42:26 2017	(r436962)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/JSON/API.pm
+%%PERL5_MAN3%%/JSON::API.3.gz



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