pkgsrc-WIP-changes archive

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

json2tsv: Import json2tsv-0.1 as wip/json2tsv



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Oct 13 21:57:36 2019 +0200
Changeset:	8b6a9d9b24e1479f4594d43115bc12a3a889e0d5

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

Log Message:
json2tsv: Import json2tsv-0.1 as wip/json2tsv

json2tsv reads JSON data from stdin.  It outputs each JSON type to a
TAB-Separated Value format per line.  The -n flag can be used to show
the indices for array types (by default off).

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

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

diffstat:
 Makefile          |  1 +
 json2tsv/DESCR    |  3 +++
 json2tsv/Makefile | 20 ++++++++++++++++++++
 json2tsv/PLIST    |  4 ++++
 json2tsv/distinfo |  6 ++++++
 5 files changed, 34 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4a8f05e4eb..997af82d05 100644
--- a/Makefile
+++ b/Makefile
@@ -1718,6 +1718,7 @@ SUBDIR+=	jpicedt
 SUBDIR+=	jruby
 SUBDIR+=	js-Gallery
 SUBDIR+=	jsl
+SUBDIR+=	json2tsv
 SUBDIR+=	jsoncpp-git
 SUBDIR+=	judy
 SUBDIR+=	juk
diff --git a/json2tsv/DESCR b/json2tsv/DESCR
new file mode 100644
index 0000000000..06bca7421f
--- /dev/null
+++ b/json2tsv/DESCR
@@ -0,0 +1,3 @@
+json2tsv reads JSON data from stdin.  It outputs each JSON type to a
+TAB-Separated Value format per line.  The -n flag can be used to show
+the indices for array types (by default off).
diff --git a/json2tsv/Makefile b/json2tsv/Makefile
new file mode 100644
index 0000000000..468d3a989c
--- /dev/null
+++ b/json2tsv/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.9 2019/08/01 18:55:29 leot Exp $
+
+DISTNAME=	json2tsv-0.1
+CATEGORIES=	textproc
+MASTER_SITES=	http://codemadness.org/releases/json2tsv/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://codemadness.org/git/json2tsv/file/README.html
+COMMENT=	Convert JSON to TSV
+LICENSE=	isc
+
+USE_LANGUAGES=	c99
+
+MAKE_FLAGS+=		PREFIX=${PREFIX:Q}
+MAKE_FLAGS+=		MANPREFIX=${PREFIX:Q}/${PKGMANDIR:Q}
+MAKE_FLAGS+=		CC=${CC:Q}
+
+#REPLACE_SH+=		sfeed_opml_export sfeed_update
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/json2tsv/PLIST b/json2tsv/PLIST
new file mode 100644
index 0000000000..d06bdf99b0
--- /dev/null
+++ b/json2tsv/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/json2tsv
+man/man1/json2tsv.1
+share/doc/json2tsv/README
diff --git a/json2tsv/distinfo b/json2tsv/distinfo
new file mode 100644
index 0000000000..e0d2e40ee2
--- /dev/null
+++ b/json2tsv/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.7 2019/08/01 18:55:29 leot Exp $
+
+SHA1 (json2tsv-0.1.tar.gz) = d1bbe51e66b7a9d470c79543b5f580c48fb60c25
+RMD160 (json2tsv-0.1.tar.gz) = bc8bc2b42b35c61bd70fac579528cc801c9231ec
+SHA512 (json2tsv-0.1.tar.gz) = bb43847d95b25fcf8ec56268e22f7889b113717589779f68f43cbab65ab4099c65bd9a86c0b8adeb2d101a8f384fe4a315f271ee8ddacfc6fd220a1424e1b0df
+Size (json2tsv-0.1.tar.gz) = 4752 bytes


Home | Main Index | Thread Index | Old Index