From nobody Sat Jun 10 17:58:45 2023 X-Original-To: dev-commits-ports-main@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 4Qdm0Q1MfGz4cCDg; Sat, 10 Jun 2023 17:58:46 +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 4Qdm0Q0qjTz43jn; Sat, 10 Jun 2023 17:58:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686419926; 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=AdVs3C/HiGuSTLCSOdIAxF/Qfi40SVI7mI1YuHF5r7g=; b=CRBlbbFVVHRjK3q9F4uDAN+09CllyLJ23sImoS9kAZv2Ypwe0LNr88F05PSpiCjWJs7aG3 gAzVnTaYusl3p/Qhg8Kz9QDHs2b5/ma4RmE8/p+LbOj8N3mvwFn+nQmK9v/dFy4wxoapLA REAitAem5Ba6CsLS8dJQz0weGECIKeBIJfpTRT1ziJwryjQ1DAzjMUiNA7sGyojzyHvCPO TlS8MoBgpc2aFzLiqIc2ZqOz45aSmlpYep1c34gm6u3NlybqJ6ELOPGAA5OQLIxmGfnheC jKm7Rucy68Ih1owuKZu1Zeb7kGYslZqMRS4IrM7FLGre6Acqj4ttuSzd4y3/Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686419926; 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=AdVs3C/HiGuSTLCSOdIAxF/Qfi40SVI7mI1YuHF5r7g=; b=K2UOzz/98geuDN92X+H0TodRF3gQHrYRpuNhMmBeiRSj2AtVxugPGwHOQE8Poa3T+udlwK QkP/Sc6nPh0t5eb6WH/dwidtBvjsewmvW0Han/p1ks2x0T33XvGLG6T2ltp9Rpxn+YFCWh aBfrz214sGYXwLIGK17SxCkwpOOlePUxV5LGoySZ+pwfQYNARgaBsL9asZb6G2hqiK3t0p Ci2Wd1+LiiNng/VdWQxnerInTNtaO9c6FRlhUE9Adqu6vrHE0V3M55OOsfoQAj/Yejn/ZT 7XhpvC/A/MPcMUsHM2l2mDP+5ciNzGBEBZi206aQA/rSuFULYHY1luvGEt8Rfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686419926; a=rsa-sha256; cv=none; b=rORIEQyi3KTw1rWG8Ql4CthXBD1EN6ZZ9yjq4AKAY2o3yN26pMIm/2KUBF37FjGbk+iQ4V 5rxYbyIOtdahQHSH7/M3pMHrErwclFNJAPRrq0kiydbs13T8hqgteqliuLU4Qd8KNZgE5x iNlOLvw3FfmjSsTWKk1RPO4X8KSpdWlqHfkiXpjjZdzmLQTGmZ+m5pQmoAk+uqZcJygcJJ WNK0kVVUZP1d9wN7CpwthlgbmdFqI6ovkbCWqaJ7dye1l2NqVQ/7o5vaac+MtOptYxOzr/ +mj/9mabibfWACjdyo2d7KfFaM4yb2Tcv6YJLEC5X+EJE+AtigfQFFeuyPr4LQ== 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 4Qdm0P716NzQcC; Sat, 10 Jun 2023 17:58:45 +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 35AHwjpj049053; Sat, 10 Jun 2023 17:58:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35AHwjMY049052; Sat, 10 Jun 2023 17:58:45 GMT (envelope-from git) Date: Sat, 10 Jun 2023 17:58:45 GMT Message-Id: <202306101758.35AHwjMY049052@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Koichiro Iwao Subject: git: fef75bfaa986 - main - textproc/yamlfmt: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fef75bfaa986a5554b4d65ff325d6fff0c9e2b50 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=fef75bfaa986a5554b4d65ff325d6fff0c9e2b50 commit fef75bfaa986a5554b4d65ff325d6fff0c9e2b50 Author: Koichiro Iwao AuthorDate: 2023-06-10 17:56:50 +0000 Commit: Koichiro Iwao CommitDate: 2023-06-10 17:58:20 +0000 textproc/yamlfmt: add new port Simple command line tool for formatting yaml files. WWW: https://github.com/google/yamlfmt --- textproc/Makefile | 1 + textproc/yamlfmt/Makefile | 19 +++++++++++++++++++ textproc/yamlfmt/distinfo | 5 +++++ textproc/yamlfmt/pkg-descr | 2 ++ 4 files changed, 27 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 8b2d52e90501..3abe9a238d4c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -2096,6 +2096,7 @@ SUBDIR += yamcha SUBDIR += yaml-mode.el SUBDIR += yaml.el + SUBDIR += yamlfmt SUBDIR += ydiff SUBDIR += yelp-tools SUBDIR += yelp-xsl diff --git a/textproc/yamlfmt/Makefile b/textproc/yamlfmt/Makefile new file mode 100644 index 000000000000..c2d20b492491 --- /dev/null +++ b/textproc/yamlfmt/Makefile @@ -0,0 +1,19 @@ +PORTNAME= yamlfmt +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.0 +CATEGORIES= textproc + +MAINTAINER= meta@FreeBSD.org +COMMENT= Simple command line tool for formatting yaml files +WWW= https://github.com/google/yamlfmt + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +GO_MODULE= github.com/google/yamlfmt +GO_TARGET= ./cmd/yamlfmt + +PLIST_FILES= ${GO_TARGET:T:S,^,bin/,} + +.include diff --git a/textproc/yamlfmt/distinfo b/textproc/yamlfmt/distinfo new file mode 100644 index 000000000000..81fda4def65f --- /dev/null +++ b/textproc/yamlfmt/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1686315209 +SHA256 (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.mod) = a091e8def09a41ca26a568f45f4448d1bff43d52c7ebdfd869c4bd48b35430e0 +SIZE (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.mod) = 268 +SHA256 (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.zip) = 8567c41ff71bbf7d2a8238e46bb3df87f87790803d72065c0b962b78187b15d4 +SIZE (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.zip) = 49994 diff --git a/textproc/yamlfmt/pkg-descr b/textproc/yamlfmt/pkg-descr new file mode 100644 index 000000000000..bb4605ebb902 --- /dev/null +++ b/textproc/yamlfmt/pkg-descr @@ -0,0 +1,2 @@ +Simple and easy-to-use command line tool for formatting yaml files written in +G o language.