diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/Manifest.gz | bin | 50444 -> 50447 bytes | |||
-rw-r--r-- | app-text/yamlfmt/Manifest | 3 | ||||
-rw-r--r-- | app-text/yamlfmt/yamlfmt-0.13.0.ebuild | 30 |
3 files changed, 33 insertions, 0 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz Binary files differindex b68848bc78d6..94de849e73b0 100644 --- a/app-text/Manifest.gz +++ b/app-text/Manifest.gz diff --git a/app-text/yamlfmt/Manifest b/app-text/yamlfmt/Manifest index 445fad4a778a..9777d7f66bef 100644 --- a/app-text/yamlfmt/Manifest +++ b/app-text/yamlfmt/Manifest @@ -1,4 +1,7 @@ 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 EBUILD yamlfmt-0.12.1.ebuild 663 BLAKE2B 981735baeef8058e26ae928d73720bea700e577f144a7a2cf5854f34c164997d4c1ebcab5167d6ed402b1786e621a17d4c21b2f8e20319a7b85e92ed568430ab SHA512 6e4fa2a212195ecb721fc1dfe6837a9ee416c10693109b3bf3e6e6b0314b04378a2b4d54e925a99924d65c5a4fde24b98a0f88eb0b24bc5b95e4b610b06b7407 +EBUILD yamlfmt-0.13.0.ebuild 713 BLAKE2B f8ff24093039f0a2647ce37f08e020a929f0fc1e22f21f0133cf679996335ef62a57a7c9c043de0eb474b4572e9b4778be896a0c5ceb1dd889ec705c3bd7ba18 SHA512 3b3610cd517e9a04b77ee82aacb5038b1c4e0c5302707f24bb4604428abe859489fbb58b2e284b1c9878e91652bba23401d80a498a91f72cbc1a08ee01690f72 MISC metadata.xml 324 BLAKE2B 0a0b464b24dad8d5433b23e2b5255257ccc488ecdbf94cdf2b74e9dfd6e6782d56e2fd248746333a2635c5346aabe1ba128d7cb8994430eda6478f25b702971a SHA512 b7b9a79c5bf61b7639b145ee85758d517d91ab234106aa8ff552eb29934d466f311a9ec966b665c5aefd956b5d017568125a040adf2f4f62781608beeb3b155a 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 +} |