pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/jo Import jo-1.0 as textproc/jo



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48d91b7283c3
branches:  trunk
changeset: 350387:48d91b7283c3
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Tue Jul 26 17:29:22 2016 +0000

description:
Import jo-1.0 as textproc/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.

Originally packaged in pkgsrc-wip by Frederic Cambus.

diffstat:

 textproc/jo/DESCR    |   6 ++++++
 textproc/jo/Makefile |  15 +++++++++++++++
 textproc/jo/PLIST    |   3 +++
 textproc/jo/distinfo |   6 ++++++
 4 files changed, 30 insertions(+), 0 deletions(-)

diffs (46 lines):

diff -r 207ec88b9d28 -r 48d91b7283c3 textproc/jo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jo/DESCR Tue Jul 26 17:29:22 2016 +0000
@@ -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 -r 207ec88b9d28 -r 48d91b7283c3 textproc/jo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jo/Makefile      Tue Jul 26 17:29:22 2016 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2016/07/26 17:29:22 kamil Exp $
+
+DISTNAME=      jo-1.0
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jpmens/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+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 -r 207ec88b9d28 -r 48d91b7283c3 textproc/jo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jo/PLIST Tue Jul 26 17:29:22 2016 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/26 17:29:22 kamil Exp $
+bin/jo
+man/man1/jo.1
diff -r 207ec88b9d28 -r 48d91b7283c3 textproc/jo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jo/distinfo      Tue Jul 26 17:29:22 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/26 17:29:22 kamil Exp $
+
+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