From nobody Wed Dec 1 13:39:57 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C07DC18B3869; Wed, 1 Dec 2021 13:39:57 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J40ZP3lZnz4Wh4; Wed, 1 Dec 2021 13:39:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 52D4528CF; Wed, 1 Dec 2021 13:39:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B1DdvSj032697; Wed, 1 Dec 2021 13:39:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B1Ddvkw032696; Wed, 1 Dec 2021 13:39:57 GMT (envelope-from git) Date: Wed, 1 Dec 2021 13:39:57 GMT Message-Id: <202112011339.1B1Ddvkw032696@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: 8b46ce03f521 - main - textproc/gojq: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8b46ce03f521842fc322d33c09b4c8f5bb90d746 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638365997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lmQXmAKyQ9TyfZhGTsDCbPpI0t38o8UfQ9x1Qw1jKS4=; b=D2LAKhSni0YZeEnUh9ZV1uuQTmqv1rm/2i3DV7+sF5qv4ixcnvC9CQbesvW1dMXh0gItoG HLq89Lp4JefzPoufeuYGVgpaS4U2vf3HPlOKSitv3kZFZzFChb8VuiApRwaSBllsghYOEp AMVcUT0KaMcjeSu7yo7U8DulQ8necOotvCTpKu+IlQLl1eX2WF5aASodgqSHK/zGRm6HrT CXrOMa++UM5gntoI10qu8HWXo6CZqR2JF6MP3r+LMzQHTCb3lV+AeDVJXkpr4DJkLL1hc4 UTOsGjaYfeOHXgdfT/U4P+crUkvAV6LMIQjMv5xLtfn+Rk9na/JV0ZZGUEgfHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638365997; a=rsa-sha256; cv=none; b=lJK3dUixQwEobMYm5GIGwCuEsf+ZMApZunKgJEpmbED6wokz2gxzENCjBZv6jQWZUnQ8gU 9WcDfhxdo6RsPCxDBrpQR5Fadi/OXh7R17pzHU9BQRf9NRlTQh940Xvn4dAPzoo8/NxzqP 1X3OzxDJF517a5en/xRiZV8XHEe3prVZ+6fI8N9D17Gf74kmpBiy+/njo3S0gcd9mbr0sZ lG72qoyJinH3YS/gmtLcBYaHLJMM6mX515IOnzIVnBwU3jO9LetZGHZUEEnE2yPk5QKW2T DLHgscB749ywZbF0rb20gx/3pLIifd2yd+LYjeX/O5QgpQtWCXClN41h/u1/gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=8b46ce03f521842fc322d33c09b4c8f5bb90d746 commit 8b46ce03f521842fc322d33c09b4c8f5bb90d746 Author: Norikatsu Shigemura AuthorDate: 2021-11-30 21:29:47 +0000 Commit: Dries Michiels CommitDate: 2021-12-01 13:36:59 +0000 textproc/gojq: New port Pure Go implementation of jq. PR: 259884 Approved by: philip (mentor) Differential Revision: https://reviews.freebsd.org/D33204 --- textproc/Makefile | 1 + textproc/gojq/Makefile | 21 +++++++++++++++++++++ textproc/gojq/distinfo | 5 +++++ textproc/gojq/pkg-descr | 4 ++++ textproc/gojq/pkg-plist | 2 ++ 5 files changed, 33 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index b956937a92fe..e200f0c7dbc6 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -235,6 +235,7 @@ SUBDIR += gnugrep SUBDIR += go-md2man SUBDIR += go-yq + SUBDIR += gojq SUBDIR += goldendict SUBDIR += google-ctemplate SUBDIR += google-translate-cli diff --git a/textproc/gojq/Makefile b/textproc/gojq/Makefile new file mode 100644 index 000000000000..e1fa9d5967a0 --- /dev/null +++ b/textproc/gojq/Makefile @@ -0,0 +1,21 @@ +PORTNAME= gojq +DISTVERSIONPREFIX= v +DISTVERSION= 0.12.5 +CATEGORIES= textproc + +MAINTAINER= nork@ninth-nine.com +COMMENT= Pure Go implementation of jq + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/itchyny/gojq +GO_TARGET= ./cmd/gojq + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${WRKSRC}/_gojq ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ + +.include diff --git a/textproc/gojq/distinfo b/textproc/gojq/distinfo new file mode 100644 index 000000000000..8fc59b9b3c6e --- /dev/null +++ b/textproc/gojq/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1638309443 +SHA256 (go/textproc_gojq/gojq-v0.12.5/v0.12.5.mod) = a6e12fbe75a18ef3fbbc01fdc7e9e03b74def733c07994fe49d4d36d330b8fad +SIZE (go/textproc_gojq/gojq-v0.12.5/v0.12.5.mod) = 352 +SHA256 (go/textproc_gojq/gojq-v0.12.5/v0.12.5.zip) = 920d40767ef6dd675d0f35cfa882cf8a5ad4dcc8818bee0f1869cab994d3b6d5 +SIZE (go/textproc_gojq/gojq-v0.12.5/v0.12.5.zip) = 145577 diff --git a/textproc/gojq/pkg-descr b/textproc/gojq/pkg-descr new file mode 100644 index 000000000000..2f3329fa4174 --- /dev/null +++ b/textproc/gojq/pkg-descr @@ -0,0 +1,4 @@ +gojq is an implementation of the jq command written in Go. +You can also embed gojq as a library to your Go products. + +WWW: https://github.com/itchyny/gojq diff --git a/textproc/gojq/pkg-plist b/textproc/gojq/pkg-plist new file mode 100644 index 000000000000..d53bd788a457 --- /dev/null +++ b/textproc/gojq/pkg-plist @@ -0,0 +1,2 @@ +bin/gojq +share/zsh/site-functions/_gojq