public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/yamlfmt/
@ 2024-05-27  2:11 Zac Medico
  0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2024-05-27  2:11 UTC (permalink / raw
  To: gentoo-commits

commit:     b2e0a4f533f0a860d9c0db7be6b44cc29f3dc2c8
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon May 27 01:55:34 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon May 27 02:06:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e0a4f5

app-text/yamlfmt: new package, add 0.12.1

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-text/yamlfmt/Manifest              |  2 ++
 app-text/yamlfmt/metadata.xml          | 11 +++++++++++
 app-text/yamlfmt/yamlfmt-0.12.1.ebuild | 29 +++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/app-text/yamlfmt/Manifest b/app-text/yamlfmt/Manifest
new file mode 100644
index 000000000000..da258b9b1422
--- /dev/null
+++ b/app-text/yamlfmt/Manifest
@@ -0,0 +1,2 @@
+DIST yamlfmt-0.12.1-deps.tar.xz 128404 BLAKE2B aa976bf73fb0a8094afc0ae480881aaff58c6263a57587ea6ceb22ce67776c424a7ed5d5fae6c38293f1ec5f3821de99e4bfd74f7951b826b2bb211914944c94 SHA512 11c9c45535ace449c3784a55707699923dcc2809db4f86a8fdb72b8b99443a92498b1c329cca40771d63414a6571bd4c590df4a304d798bb4c3709fd0edf0ef4
+DIST yamlfmt-0.12.1.tar.gz 40958 BLAKE2B 3a1187c2a21716a16e6c86ab145eed424bb3eb65ab8b0525c1ad221c27d8be3221f668f0393dcdc117bd4d34c9283bcc30e72ccddf99f61e44050c61e88b3026 SHA512 ac39234977d11751802a3a8c2e2140c16e408f987d29aa4ac8e7dd329067c1cef686b0950fa4e4478aeeb214506e7d3fe498734e584abcbc4f3aa48f9f1c7504

diff --git a/app-text/yamlfmt/metadata.xml b/app-text/yamlfmt/metadata.xml
new file mode 100644
index 000000000000..d69deed03841
--- /dev/null
+++ b/app-text/yamlfmt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zmedico@gentoo.org</email>
+		<name>Zac Medico</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">google/yamlfmt</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/app-text/yamlfmt/yamlfmt-0.12.1.ebuild b/app-text/yamlfmt/yamlfmt-0.12.1.ebuild
new file mode 100644
index 000000000000..5f85ed96ccb4
--- /dev/null
+++ b/app-text/yamlfmt/yamlfmt-0.12.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="An extensible command line tool or library to format yaml files"
+HOMEPAGE="https://github.com/google/yamlfmt"
+SRC_URI="https://github.com/google/yamlfmt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+LICENSE+=" BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+	CGO_ENABLED=0 ego build -ldflags "-X main.version=${PV} -s -w" \
+		-o yamlfmt ./cmd/yamlfmt
+}
+
+src_install() {
+	dodoc -r README.md docs
+	dobin yamlfmt
+}
+
+src_test() {
+	emake test
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/yamlfmt/
@ 2024-08-11 21:05 Zac Medico
  0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2024-08-11 21:05 UTC (permalink / raw
  To: gentoo-commits

commit:     5fc4d5785ddacffa4f419131ac446533d95b5e0c
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 21:02:26 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 21:05:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc4d578

app-text/yamlfmt: add 0.13.0

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-text/yamlfmt/Manifest              |  2 ++
 app-text/yamlfmt/yamlfmt-0.13.0.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/app-text/yamlfmt/Manifest b/app-text/yamlfmt/Manifest
index da258b9b1422..6d078924a540 100644
--- a/app-text/yamlfmt/Manifest
+++ b/app-text/yamlfmt/Manifest
@@ -1,2 +1,4 @@
 DIST yamlfmt-0.12.1-deps.tar.xz 128404 BLAKE2B aa976bf73fb0a8094afc0ae480881aaff58c6263a57587ea6ceb22ce67776c424a7ed5d5fae6c38293f1ec5f3821de99e4bfd74f7951b826b2bb211914944c94 SHA512 11c9c45535ace449c3784a55707699923dcc2809db4f86a8fdb72b8b99443a92498b1c329cca40771d63414a6571bd4c590df4a304d798bb4c3709fd0edf0ef4
 DIST yamlfmt-0.12.1.tar.gz 40958 BLAKE2B 3a1187c2a21716a16e6c86ab145eed424bb3eb65ab8b0525c1ad221c27d8be3221f668f0393dcdc117bd4d34c9283bcc30e72ccddf99f61e44050c61e88b3026 SHA512 ac39234977d11751802a3a8c2e2140c16e408f987d29aa4ac8e7dd329067c1cef686b0950fa4e4478aeeb214506e7d3fe498734e584abcbc4f3aa48f9f1c7504
+DIST yamlfmt-0.13.0-deps.tar.xz 128464 BLAKE2B c51a77b6fa84e88239fe5185761bac4ab74b48f3200a822ef98884bc34670ec07c6b87bc999de77da5da0ea33b501ef911854910f74798a7532575f7c6a36881 SHA512 2187441405e028dd0dfb1d302f2a047b47af175d965c7605e5464b6403b4379425f13c5a506cad5bdce6dd424247ced12126722817c02e2afeb23d33be644a1b
+DIST yamlfmt-0.13.0.tar.gz 43334 BLAKE2B da1828f6f8ab24236173fd5621781468e123ed4c9521ab2233b6185ab61a2e6744593f280dd786bbe3e0f38fd692b307dcde0cdce4944c9b6468425b9f7898d3 SHA512 28cf1d04690ce72a1330c0d93b148516e80b33306067f4dbe1b5056e243202d93ed09293b6fe5c958a341dd590edd61e6c1fdb278b28c88b421fb7364cff10b8

diff --git a/app-text/yamlfmt/yamlfmt-0.13.0.ebuild b/app-text/yamlfmt/yamlfmt-0.13.0.ebuild
new file mode 100644
index 000000000000..2072a436f857
--- /dev/null
+++ b/app-text/yamlfmt/yamlfmt-0.13.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+EGIT_COMMIT=dd8547d
+DESCRIPTION="An extensible command line tool or library to format yaml files"
+HOMEPAGE="https://github.com/google/yamlfmt"
+SRC_URI="https://github.com/google/yamlfmt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+LICENSE+=" BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+	CGO_ENABLED=0 ego build -ldflags "-X main.version=${PV} -X main.commit=${EGIT_COMMIT} -s -w" \
+		-o yamlfmt ./cmd/yamlfmt
+}
+
+src_install() {
+	dodoc -r README.md docs
+	dobin yamlfmt
+}
+
+src_test() {
+	emake test
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/yamlfmt/
@ 2024-12-01 17:51 Zac Medico
  0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2024-12-01 17:51 UTC (permalink / raw
  To: gentoo-commits

commit:     c7d798e586551eb4c2fad60749c4da5893eb9dc6
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  1 17:48:39 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 17:51:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7d798e5

app-text/yamlfmt: add 0.14.0

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-text/yamlfmt/Manifest              |  2 ++
 app-text/yamlfmt/yamlfmt-0.14.0.ebuild | 39 ++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-text/yamlfmt/Manifest b/app-text/yamlfmt/Manifest
index 6d078924a540..29d9f3aca799 100644
--- a/app-text/yamlfmt/Manifest
+++ b/app-text/yamlfmt/Manifest
@@ -2,3 +2,5 @@ DIST yamlfmt-0.12.1-deps.tar.xz 128404 BLAKE2B aa976bf73fb0a8094afc0ae480881aaff
 DIST yamlfmt-0.12.1.tar.gz 40958 BLAKE2B 3a1187c2a21716a16e6c86ab145eed424bb3eb65ab8b0525c1ad221c27d8be3221f668f0393dcdc117bd4d34c9283bcc30e72ccddf99f61e44050c61e88b3026 SHA512 ac39234977d11751802a3a8c2e2140c16e408f987d29aa4ac8e7dd329067c1cef686b0950fa4e4478aeeb214506e7d3fe498734e584abcbc4f3aa48f9f1c7504
 DIST yamlfmt-0.13.0-deps.tar.xz 128464 BLAKE2B c51a77b6fa84e88239fe5185761bac4ab74b48f3200a822ef98884bc34670ec07c6b87bc999de77da5da0ea33b501ef911854910f74798a7532575f7c6a36881 SHA512 2187441405e028dd0dfb1d302f2a047b47af175d965c7605e5464b6403b4379425f13c5a506cad5bdce6dd424247ced12126722817c02e2afeb23d33be644a1b
 DIST yamlfmt-0.13.0.tar.gz 43334 BLAKE2B da1828f6f8ab24236173fd5621781468e123ed4c9521ab2233b6185ab61a2e6744593f280dd786bbe3e0f38fd692b307dcde0cdce4944c9b6468425b9f7898d3 SHA512 28cf1d04690ce72a1330c0d93b148516e80b33306067f4dbe1b5056e243202d93ed09293b6fe5c958a341dd590edd61e6c1fdb278b28c88b421fb7364cff10b8
+DIST yamlfmt-0.14.0-deps.tar.xz 145900 BLAKE2B a58b00c7efc0a0d3c72a3482576f88458f46a984c7f7b11dbaa235c65d18982bb6aba95169e379b809dfc3349eeac4155493a6085dfe6a326a92d0d4beed848b SHA512 42d3ef9a91571eb9712cbd6bf7e7ffeb657a9ae424991b8837897a01eeed5c40ac926e399d8b0644553f878b7024ab3d8ad2aa90c8019153e9c5b7092b56b771
+DIST yamlfmt-0.14.0.tar.gz 47247 BLAKE2B 05583fbaeeb70cabaff6a8f602d455c743300d08e5a422d531ca277d6b1b8c49ce7a8c44c9cde16ac56d2623af90becf4cdb1d213b3c26e6838c7839f02463c6 SHA512 81afcd2e5d454a8069d7cedbdc56c0f25c5cb71a217206d0fb3d5aa1f9714794f4749582c231b99fd34dcb975be73d518b204346994dae27d4a75fba81303cf8

diff --git a/app-text/yamlfmt/yamlfmt-0.14.0.ebuild b/app-text/yamlfmt/yamlfmt-0.14.0.ebuild
new file mode 100644
index 000000000000..a84da569a0b2
--- /dev/null
+++ b/app-text/yamlfmt/yamlfmt-0.14.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+EGIT_COMMIT=dd8547d
+DESCRIPTION="An extensible command line tool or library to format yaml files"
+HOMEPAGE="https://github.com/google/yamlfmt"
+SRC_URI="https://github.com/google/yamlfmt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+LICENSE+=" BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	ln -sv ../vendor ./ || die
+	default
+}
+
+src_compile() {
+	CGO_ENABLED=0 ego build -ldflags "-X main.version=${PV} -X main.commit=${EGIT_COMMIT} -s -w" \
+		-o yamlfmt ./cmd/yamlfmt
+}
+
+src_install() {
+	dodoc -r README.md docs
+	dobin yamlfmt
+}
+
+src_test() {
+	emake test
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/yamlfmt/
@ 2024-12-01 17:51 Zac Medico
  0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2024-12-01 17:51 UTC (permalink / raw
  To: gentoo-commits

commit:     848a71e3ee304682348b997365a72ff524969345
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  1 17:49:54 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 17:51:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=848a71e3

app-text/yamlfmt: drop 0.12.1

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-text/yamlfmt/Manifest              |  2 --
 app-text/yamlfmt/yamlfmt-0.12.1.ebuild | 29 -----------------------------
 2 files changed, 31 deletions(-)

diff --git a/app-text/yamlfmt/Manifest b/app-text/yamlfmt/Manifest
index 29d9f3aca799..f9567531c7d7 100644
--- a/app-text/yamlfmt/Manifest
+++ b/app-text/yamlfmt/Manifest
@@ -1,5 +1,3 @@
-DIST yamlfmt-0.12.1-deps.tar.xz 128404 BLAKE2B aa976bf73fb0a8094afc0ae480881aaff58c6263a57587ea6ceb22ce67776c424a7ed5d5fae6c38293f1ec5f3821de99e4bfd74f7951b826b2bb211914944c94 SHA512 11c9c45535ace449c3784a55707699923dcc2809db4f86a8fdb72b8b99443a92498b1c329cca40771d63414a6571bd4c590df4a304d798bb4c3709fd0edf0ef4
-DIST yamlfmt-0.12.1.tar.gz 40958 BLAKE2B 3a1187c2a21716a16e6c86ab145eed424bb3eb65ab8b0525c1ad221c27d8be3221f668f0393dcdc117bd4d34c9283bcc30e72ccddf99f61e44050c61e88b3026 SHA512 ac39234977d11751802a3a8c2e2140c16e408f987d29aa4ac8e7dd329067c1cef686b0950fa4e4478aeeb214506e7d3fe498734e584abcbc4f3aa48f9f1c7504
 DIST yamlfmt-0.13.0-deps.tar.xz 128464 BLAKE2B c51a77b6fa84e88239fe5185761bac4ab74b48f3200a822ef98884bc34670ec07c6b87bc999de77da5da0ea33b501ef911854910f74798a7532575f7c6a36881 SHA512 2187441405e028dd0dfb1d302f2a047b47af175d965c7605e5464b6403b4379425f13c5a506cad5bdce6dd424247ced12126722817c02e2afeb23d33be644a1b
 DIST yamlfmt-0.13.0.tar.gz 43334 BLAKE2B da1828f6f8ab24236173fd5621781468e123ed4c9521ab2233b6185ab61a2e6744593f280dd786bbe3e0f38fd692b307dcde0cdce4944c9b6468425b9f7898d3 SHA512 28cf1d04690ce72a1330c0d93b148516e80b33306067f4dbe1b5056e243202d93ed09293b6fe5c958a341dd590edd61e6c1fdb278b28c88b421fb7364cff10b8
 DIST yamlfmt-0.14.0-deps.tar.xz 145900 BLAKE2B a58b00c7efc0a0d3c72a3482576f88458f46a984c7f7b11dbaa235c65d18982bb6aba95169e379b809dfc3349eeac4155493a6085dfe6a326a92d0d4beed848b SHA512 42d3ef9a91571eb9712cbd6bf7e7ffeb657a9ae424991b8837897a01eeed5c40ac926e399d8b0644553f878b7024ab3d8ad2aa90c8019153e9c5b7092b56b771

diff --git a/app-text/yamlfmt/yamlfmt-0.12.1.ebuild b/app-text/yamlfmt/yamlfmt-0.12.1.ebuild
deleted file mode 100644
index 5f85ed96ccb4..000000000000
--- a/app-text/yamlfmt/yamlfmt-0.12.1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module
-
-DESCRIPTION="An extensible command line tool or library to format yaml files"
-HOMEPAGE="https://github.com/google/yamlfmt"
-SRC_URI="https://github.com/google/yamlfmt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
-	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
-
-LICENSE="Apache-2.0"
-LICENSE+=" BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-src_compile() {
-	CGO_ENABLED=0 ego build -ldflags "-X main.version=${PV} -s -w" \
-		-o yamlfmt ./cmd/yamlfmt
-}
-
-src_install() {
-	dodoc -r README.md docs
-	dobin yamlfmt
-}
-
-src_test() {
-	emake test
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/yamlfmt/
@ 2025-01-13  2:50 Zac Medico
  0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2025-01-13  2:50 UTC (permalink / raw
  To: gentoo-commits

commit:     c86fde85ea4f1781a0e0f88a36817a600cd6ff2b
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 02:49:27 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 02:49:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c86fde85

app-text/yamlfmt: add 0.15.0

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-text/yamlfmt/Manifest              |  2 ++
 app-text/yamlfmt/yamlfmt-0.15.0.ebuild | 39 ++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-text/yamlfmt/Manifest b/app-text/yamlfmt/Manifest
index f9567531c7d7..bdb87d6aa912 100644
--- a/app-text/yamlfmt/Manifest
+++ b/app-text/yamlfmt/Manifest
@@ -2,3 +2,5 @@ DIST yamlfmt-0.13.0-deps.tar.xz 128464 BLAKE2B c51a77b6fa84e88239fe5185761bac4ab
 DIST yamlfmt-0.13.0.tar.gz 43334 BLAKE2B da1828f6f8ab24236173fd5621781468e123ed4c9521ab2233b6185ab61a2e6744593f280dd786bbe3e0f38fd692b307dcde0cdce4944c9b6468425b9f7898d3 SHA512 28cf1d04690ce72a1330c0d93b148516e80b33306067f4dbe1b5056e243202d93ed09293b6fe5c958a341dd590edd61e6c1fdb278b28c88b421fb7364cff10b8
 DIST yamlfmt-0.14.0-deps.tar.xz 145900 BLAKE2B a58b00c7efc0a0d3c72a3482576f88458f46a984c7f7b11dbaa235c65d18982bb6aba95169e379b809dfc3349eeac4155493a6085dfe6a326a92d0d4beed848b SHA512 42d3ef9a91571eb9712cbd6bf7e7ffeb657a9ae424991b8837897a01eeed5c40ac926e399d8b0644553f878b7024ab3d8ad2aa90c8019153e9c5b7092b56b771
 DIST yamlfmt-0.14.0.tar.gz 47247 BLAKE2B 05583fbaeeb70cabaff6a8f602d455c743300d08e5a422d531ca277d6b1b8c49ce7a8c44c9cde16ac56d2623af90becf4cdb1d213b3c26e6838c7839f02463c6 SHA512 81afcd2e5d454a8069d7cedbdc56c0f25c5cb71a217206d0fb3d5aa1f9714794f4749582c231b99fd34dcb975be73d518b204346994dae27d4a75fba81303cf8
+DIST yamlfmt-0.15.0-deps.tar.xz 266288 BLAKE2B ded6aed21162b7974884440542fb16cb8480000027b3221e38d314bff62a6c22e271444a0b9c2000c221587bd36ae620492477436a9371868457fb2586cd177b SHA512 902b3180d03f6f71859140fd3ebd9810dbe85094d042786a45206d658dfa2a972b6350a92ab6bc66a2953e8dad0d4351401e926b0b4249eb52c2baf69cb07f45
+DIST yamlfmt-0.15.0.tar.gz 55482 BLAKE2B 5a6cc56c070d174eac9bc5e29467b72c8d33abf5ad0f764bf5fbc3e37013aa0243643052c07cec1b4219e142b25ea439a48e0d1e40f32793233010d821a5a774 SHA512 6ca1f766eeac10a9d322a6bf15474ed0f6441a9ab04462183ddd4696448fcb888c7cad2c6fe8af890095960dd7e4b59dbacc7778935d57c43e0c8930835cfb4a

diff --git a/app-text/yamlfmt/yamlfmt-0.15.0.ebuild b/app-text/yamlfmt/yamlfmt-0.15.0.ebuild
new file mode 100644
index 000000000000..5dab64b5cf67
--- /dev/null
+++ b/app-text/yamlfmt/yamlfmt-0.15.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+EGIT_COMMIT=81ffee4
+DESCRIPTION="An extensible command line tool or library to format yaml files"
+HOMEPAGE="https://github.com/google/yamlfmt"
+SRC_URI="https://github.com/google/yamlfmt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+LICENSE+=" BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	ln -sv ../vendor ./ || die
+	default
+}
+
+src_compile() {
+	CGO_ENABLED=0 ego build -ldflags "-X main.version=${PV} -X main.commit=${EGIT_COMMIT} -s -w" \
+		-o yamlfmt ./cmd/yamlfmt
+}
+
+src_install() {
+	dodoc -r README.md docs
+	dobin yamlfmt
+}
+
+src_test() {
+	emake test
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-13  2:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27  2:11 [gentoo-commits] repo/gentoo:master commit in: app-text/yamlfmt/ Zac Medico
  -- strict thread matches above, loose matches on Subject: below --
2024-08-11 21:05 Zac Medico
2024-12-01 17:51 Zac Medico
2024-12-01 17:51 Zac Medico
2025-01-13  2:50 Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox