pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import jo-1.0 as wip/jo



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Thu Jul 21 22:10:00 2016 +0200
Changeset:	b1473895a74ef538a1b6a9d74f17e80b1e82facb

Modified Files:
	Makefile
Added Files:
	jo/DESCR
	jo/Makefile
	jo/PLIST
	jo/distinfo

Log Message:
Import jo-1.0 as wip/jo

jo creates a JSON string on stdout from words given it as arguments or
read from stdin.  Without option -a it generates an object whereby each
word is a key=value (or key@value) pair with key being the JSON object
element and value its value.  jo attempts to guess the type of value in
order to create number (using strtod(3)), string, or null values in
JSON.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b1473895a74ef538a1b6a9d74f17e80b1e82facb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile    |  1 +
 jo/DESCR    |  6 ++++++
 jo/Makefile | 15 +++++++++++++++
 jo/PLIST    |  3 +++
 jo/distinfo |  6 ++++++
 5 files changed, 31 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1f79c65..7da9b8e 100644
--- a/Makefile
+++ b/Makefile
@@ -1424,6 +1424,7 @@ SUBDIR+=	jitsi
 SUBDIR+=	jlibtool
 SUBDIR+=	jmol
 SUBDIR+=	jmtpfs
+SUBDIR+=	jo
 SUBDIR+=	joomla
 SUBDIR+=	jp2a
 SUBDIR+=	jpgtn
diff --git a/jo/DESCR b/jo/DESCR
new file mode 100644
index 0000000..45923a3
--- /dev/null
+++ b/jo/DESCR
@@ -0,0 +1,6 @@
+jo creates a JSON string on stdout from words given it as arguments or
+read from stdin.  Without option -a it generates an object whereby each
+word is a key=value (or key@value) pair with key being the JSON object
+element and value its value.  jo attempts to guess the type of value in
+order to create number (using strtod(3)), string, or null values in
+JSON.
diff --git a/jo/Makefile b/jo/Makefile
new file mode 100644
index 0000000..ba79204
--- /dev/null
+++ b/jo/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME=	jo-1.0
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jpmens/}
+GITHUB_RELEASE=	v1.0
+
+MAINTAINER=	fred%statdns.com@localhost
+HOMEPAGE=	https://github.com/jpmens/jo
+COMMENT=	JSON output from a shell
+LICENSE=	gnu-gpl-v2
+
+GNU_CONFIGURE=	yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/jo/PLIST b/jo/PLIST
new file mode 100644
index 0000000..5dff65f
--- /dev/null
+++ b/jo/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/jo
+man/man1/jo.1
diff --git a/jo/distinfo b/jo/distinfo
new file mode 100644
index 0000000..9d96c7c
--- /dev/null
+++ b/jo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (jo-1.0.tar.gz) = 2d06cf35b1dc71e5fdbe420ac4057cf508313e08
+RMD160 (jo-1.0.tar.gz) = bff13c4e4689eb85a581e7383dc38d5cbd0052b5
+SHA512 (jo-1.0.tar.gz) = bab15de7a01e9a70f43b50d0bb5eff4724bf9d38b0b56a6fff5768756073a5956e3a5a08c7a4e4a2c88107950a4c1721a09b60868b10a441c1a4c6fec7748036
+Size (jo-1.0.tar.gz) = 112488 bytes


Home | Main Index | Thread Index | Old Index