From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/yq-go/
Date: Mon, 13 Jan 2025 02:37:59 +0000 (UTC) [thread overview]
Message-ID: <1736735874.3242ab516f615e767e444beecc73a39f6d3bb9ba.zmedico@gentoo> (raw)
commit: 3242ab516f615e767e444beecc73a39f6d3bb9ba
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 02:37:01 2025 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 02:37:54 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3242ab51
app-misc/yq-go: add 4.45.1
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
app-misc/yq-go/Manifest | 2 ++
app-misc/yq-go/yq-go-4.45.1.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/app-misc/yq-go/Manifest b/app-misc/yq-go/Manifest
index 017acf599a04..0913502a5523 100644
--- a/app-misc/yq-go/Manifest
+++ b/app-misc/yq-go/Manifest
@@ -2,3 +2,5 @@ DIST yq-4.44.3-deps.tar.xz 1376444 BLAKE2B dbccf16fa939991f01762efec5f14f86394a9
DIST yq-4.44.3.tar.gz 297938 BLAKE2B 9a4e382e2fb5862302aafca2268d8551232b0636adae560151acca1060d8e09c46dc36eee8597d7763d50fc53f36fdc8c1ff3df81f88f637f6b4ad5714c6e116 SHA512 ad4971d7a2f3a4355a696027a178d05b7388b26241a097fc8d222f81fb8ed18b908d0e2cefe0210f70bf4e5ee2becef61206def40e908be20e60d5a074c38bb5
DIST yq-4.44.5-deps.tar.xz 1385000 BLAKE2B efb55351a560d011d96498c7c515270c9e85ea4088a498970f1f88e0e882cca3c9cff4939b434cb0d5fa25a2f2829370d675f4743e935697a13e3bfb11c0cdea SHA512 4e2b8034e7b244ac4c612d09e7ca2c6ea6b2359a2bab01b58920e221f542a66631f7ae5f5c686d0587a6e6bf7b283b688ece2d11a0c6babf2b4023b9c13dcf3b
DIST yq-4.44.5.tar.gz 298784 BLAKE2B 1a99bbde07eaf385c93ca199f2bf8aeeab77af8e8f4e1f306fe986fcedb8432f9a6ffba2619bf39519c4707d53c3b4e289669724982b8d3a3b512a40c1a57f06 SHA512 a03da38d6847ab712d50a62800c80daa3e49b7fcb64dc96afcf1b52406824e19315c41a1401de54a148bafad3632ea70ccc3e9f654836bde236c0a221768fc6f
+DIST yq-4.45.1-deps.tar.xz 1386140 BLAKE2B b52de4d96e84d50bbf06c666afed80c66148aeef7fbb8d2d726f234870413da32e0c6a2bb396632af2118398304f7acd5b156d5e4fe9a359e33d87ef588ca707 SHA512 8524e63ce611ce59d6611b42f06985f7d5cccf0969a5bb5c73aaf75ed613581b42a0743c9dd8fbd503e9b8f407343a5d0241e6370c6b6562947634c5ad19b2b3
+DIST yq-4.45.1.tar.gz 299351 BLAKE2B fb1510a3e592c64550f60f35862aa3acf1eddb78bed2d9b564bd5c38cd93fdde24e0e772f5b7e858d96fb6bbaf3a48fb872edc6d32dc6b2271bb85ac365b2214 SHA512 c6da3b529c5c2e54d3a36ba290923454dc9daba68f8181d2e0e381498ee6951164fb958ded7741bad9d83bb235fb51ac0d9c312a89c95af64ec7118a72224104
diff --git a/app-misc/yq-go/yq-go-4.45.1.ebuild b/app-misc/yq-go/yq-go-4.45.1.ebuild
new file mode 100644
index 000000000000..29f6b3d36415
--- /dev/null
+++ b/app-misc/yq-go/yq-go-4.45.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="yq is a lightweight and portable command-line YAML, JSON and XML processor"
+HOMEPAGE="https://github.com/mikefarah/yq"
+SRC_URI="https://github.com/mikefarah/yq/archive/refs/tags/v${PV}.tar.gz -> ${P/-go/}.tar.gz
+ https://dev.gentoo.org/~zmedico/dist/${P/-go/}-deps.tar.xz"
+
+S=${WORKDIR}/${P/-go/}
+LICENSE+=" Apache-2.0 BSD BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~loong"
+IUSE="+yq-symlink"
+DOCS=(README.md)
+RDEPEND="yq-symlink? ( !app-misc/yq[yq-symlink(+)] )"
+
+src_unpack() {
+ default
+}
+
+src_prepare() {
+ ln -sv ../vendor ./ || die
+ default
+}
+
+src_compile() {
+ CGO_ENABLED=0 ego build -ldflags "-X main.GitDescribe=v${PV} -s -w"
+}
+
+src_install() {
+ einstalldocs
+ newbin yq yq-go
+ if use yq-symlink; then
+ dosym yq-go /usr/bin/yq
+ fi
+}
+
+src_test() {
+ ./scripts/test.sh || die
+}
next reply other threads:[~2025-01-13 2:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 2:37 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-25 12:32 [gentoo-commits] repo/gentoo:master commit in: app-misc/yq-go/ Arthur Zamarin
2025-01-25 12:31 Arthur Zamarin
2025-01-23 2:46 Sam James
2024-11-19 2:10 Zac Medico
2024-11-19 2:10 Zac Medico
2024-08-11 20:24 Zac Medico
2024-08-11 20:24 Zac Medico
2024-08-05 11:07 WANG Xuerui
2024-06-16 23:07 Zac Medico
2024-05-27 1:28 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1736735874.3242ab516f615e767e444beecc73a39f6d3bb9ba.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox