From owner-svn-ports-all@freebsd.org Sat Mar 2 00:30:46 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F08D81507803; Sat, 2 Mar 2019 00:30:45 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E5E76B291; Sat, 2 Mar 2019 00:30:45 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8093224798; Sat, 2 Mar 2019 00:30:45 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x220Ujt0068297; Sat, 2 Mar 2019 00:30:45 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x220UiTg068294; Sat, 2 Mar 2019 00:30:44 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201903020030.x220UiTg068294@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Sat, 2 Mar 2019 00:30:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494348 - in head/textproc: . gron X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/textproc: . gron X-SVN-Commit-Revision: 494348 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8E5E76B291 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 00:30:46 -0000 Author: zi Date: Sat Mar 2 00:30:44 2019 New Revision: 494348 URL: https://svnweb.freebsd.org/changeset/ports/494348 Log: New port: textproc/gron: Make JSON greppable! gron transforms JSON into discrete assignments to make it easier to grep for what you want and see the absolute 'path' to it. It eases the exploration of APIs that return large blobs of JSON but have terrible documentation. WWW: https://github.com/tomnomnom/gron Added: head/textproc/gron/ head/textproc/gron/Makefile (contents, props changed) head/textproc/gron/distinfo (contents, props changed) head/textproc/gron/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Mar 2 00:20:37 2019 (r494347) +++ head/textproc/Makefile Sat Mar 2 00:30:44 2019 (r494348) @@ -234,6 +234,7 @@ SUBDIR += grc-aspell SUBDIR += greple SUBDIR += groff + SUBDIR += gron SUBDIR += groonga SUBDIR += gsed SUBDIR += gspell Added: head/textproc/gron/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/gron/Makefile Sat Mar 2 00:30:44 2019 (r494348) @@ -0,0 +1,36 @@ +# Created by: Ryan Steinmetz +# $FreeBSD$ + +PORTNAME= gron +PORTVERSION= 0.6.0 +DISTVERSIONPREFIX= v +CATEGORIES= textproc + +MAINTAINER= zi@FreeBSD.org +COMMENT= Transforms JSON into discrete assignments that are easier to grep + +LICENSE= MIT + +USES= go +USE_GITHUB= yes +GH_ACCOUNT= tomnomnom +GH_TUPLE= fatih:color:v1.7.0:color \ + mattn:go-colorable:v0.1.1:colorable \ + mattn:go-isatty:v0.0.6:isatty \ + nwidger:jsoncolor:75a6de4:jsoncolor \ + pkg:errors:v0.8.1:pkg_errors + +PLIST_FILES= bin/${PORTNAME} + +pre-build: + ${MKDIR} ${GO_WRKDIR_SRC}/github.com/fatih \ + ${GO_WRKDIR_SRC}/github.com/mattn \ + ${GO_WRKDIR_SRC}/github.com/pkg \ + ${GO_WRKDIR_SRC}/github.com/nwidger + ${MV} ${WRKSRC_color} ${GO_WRKDIR_SRC}/github.com/fatih/color + ${MV} ${WRKSRC_colorable} ${GO_WRKDIR_SRC}/github.com/mattn/go-colorable + ${MV} ${WRKSRC_isatty} ${GO_WRKDIR_SRC}/github.com/mattn/go-isatty + ${MV} ${WRKSRC_jsoncolor} ${GO_WRKDIR_SRC}/github.com/nwidger/jsoncolor + ${MV} ${WRKSRC_pkg_errors} ${GO_WRKDIR_SRC}/github.com/pkg/errors + +.include Added: head/textproc/gron/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/gron/distinfo Sat Mar 2 00:30:44 2019 (r494348) @@ -0,0 +1,13 @@ +TIMESTAMP = 1551486455 +SHA256 (tomnomnom-gron-v0.6.0_GH0.tar.gz) = fe75b1b4922b591723f48cb9cd2c31cb60bb3ab9f8d0398df75a08b781d8591c +SIZE (tomnomnom-gron-v0.6.0_GH0.tar.gz) = 338182 +SHA256 (fatih-color-v1.7.0_GH0.tar.gz) = 4650d7aa3feed266fc85d91dc34ca9cffdf7ee03ea29bf2cbf84bbecc75fb755 +SIZE (fatih-color-v1.7.0_GH0.tar.gz) = 816449 +SHA256 (mattn-go-colorable-v0.1.1_GH0.tar.gz) = 41773345d2a1037a37942b96e04a8ed5248f19a8f43a7ba26aa16a7b74132647 +SIZE (mattn-go-colorable-v0.1.1_GH0.tar.gz) = 8518 +SHA256 (mattn-go-isatty-v0.0.6_GH0.tar.gz) = 798c24d6e9d74c46565fa5899a514e773d7b254ee7bf45aba700f1e84681e421 +SIZE (mattn-go-isatty-v0.0.6_GH0.tar.gz) = 3566 +SHA256 (nwidger-jsoncolor-75a6de4_GH0.tar.gz) = 53ee90557b48eecdbc4ac1b835f4d761a821b94f5ca9b7e65c3c01fe0eae242c +SIZE (nwidger-jsoncolor-75a6de4_GH0.tar.gz) = 4372 +SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13493ba6294322a933a5a7e356 +SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009 Added: head/textproc/gron/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/gron/pkg-descr Sat Mar 2 00:30:44 2019 (r494348) @@ -0,0 +1,7 @@ +Make JSON greppable! + +gron transforms JSON into discrete assignments to make it easier to grep for +what you want and see the absolute 'path' to it. It eases the exploration of +APIs that return large blobs of JSON but have terrible documentation. + +WWW: https://github.com/tomnomnom/gron