commit:     19dd324bf380df6dc62a46f7e9f9c25707374bd9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 12 13:23:14 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 12 13:27:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19dd324b

app-misc/fx: add 39.2.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-misc/fx/Manifest         |  2 ++
 app-misc/fx/fx-39.2.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-misc/fx/Manifest b/app-misc/fx/Manifest
index 94058f70349e..9504242762e3 100644
--- a/app-misc/fx/Manifest
+++ b/app-misc/fx/Manifest
@@ -6,3 +6,5 @@ DIST fx-39.0.4-deps.tar.xz 11607640 BLAKE2B 
9ce2ad61df1f4dfef1e18d35fc89e651b52e
 DIST fx-39.0.4.tar.gz 2704308 BLAKE2B 
022ca30feba8cb9c0c7401bc2df62104e991b7892c0e004087a6787d869d92626db97368f11f9265d64134abb6f84c2961d4d1b0e74269879a16690f32bfaaed
 SHA512 
c32cf4beff05a819f4d243df5ba626c2046180f15c321106236df07a9c69527129a95d79bfc44a4218e2b1744e84323400a46221a4855f7b6b8c62e9c7c9ae34
 DIST fx-39.1.0-deps.tar.xz 12488828 BLAKE2B 
93a3f3299243904a602174c3e8574ccfc261e006a72b90abfba174ac2e719b02e894c255fea60840ddf40cee3a51293c001c4be6f682db7abcd0322e031a5bfc
 SHA512 
7e97d8b2b890b718e7f8807e1171ac88c33cae0e3b4823465eaa37872e4f79b00c7ab8ab30bc1ad1576420e8954011a21dd07a8bc732f217829d7ec1aaa4679c
 DIST fx-39.1.0.tar.gz 2708783 BLAKE2B 
5080873e069deaf4cba088b5ac979d7a291bb1467a3cb4221e9e48b9822d1022dbfef47972d13c64155d4b3f82b810d8eee7a9939ebccf370e1f548683c2af96
 SHA512 
3518aa1a3339c46828f4a890b9feffe8ab20d5692b26b512c53ad66cd0e9eba9a262dbb401b4a48c8cabcd1a67d7a8402d959ec68de1dfbdde5cc341eb3fa972
+DIST fx-39.2.0-vendor.tar.xz 2543684 BLAKE2B 
088dee169994cb8b055c3c5f3280516b2b9aa40f5a81323c4e9a8db76c13ae1e0952a4b8589ee513d31e9c120f592eadb3cecc2d460d05903ece7757ce509b56
 SHA512 
c9f35971b0362633a626caa51c424cbe94b0b055b7067e0f0863f3dd3a41b9433a6a0abd041151774f72b4850c1bb8804bf0eba4f3c5ab4a049aeb266a200012
+DIST fx-39.2.0.tar.gz 2709811 BLAKE2B 
67cc5901905ae29b7b7c131cdb4ddf380903d1f6eeef7618a775381cbbb2e62bd24bba9dd635d4f569049f20581703596d5f6091ac93c5ac3aa3919b34d4c291
 SHA512 
51236327fd35bd0e98a088edb932cb97222ba48b00d978629d152a0a235a6946e7e2a7ac7a96cd6cfcafdb5ac5281b5fa8de316af40bfc75c8b2af5aeebd415d

diff --git a/app-misc/fx/fx-39.2.0.ebuild b/app-misc/fx/fx-39.2.0.ebuild
new file mode 100644
index 000000000000..650f6c5635e2
--- /dev/null
+++ b/app-misc/fx/fx-39.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module shell-completion
+
+DESCRIPTION=" Terminal JSON viewer & processor"
+HOMEPAGE="https://fx.wtf/ https://github.com/antonmedv/fx";
+SRC_URI="https://github.com/antonmedv/fx/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" 
https://github.com/gentoo-golang-dist/fx/releases/download/${PV}/${P}-vendor.tar.xz";
+
+LICENSE="MIT"
+# Dependent licenses
+LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+       ego build -o fx .
+
+       mkdir "${T}/comp"
+       ./fx --comp bash > "${T}/comp/fx" || die
+       ./fx --comp zsh > "${T}/comp/_fx" || die
+       ./fx --comp fish > "${T}/comp/fx.fish" || die
+}
+
+src_test() {
+       ego test ./...
+}
+
+src_install() {
+       dobin fx
+       dodoc README.md
+
+       dobashcomp "${T}/comp/fx"
+       dozshcomp "${T}/comp/_fx"
+       dofishcomp "${T}/comp/fx.fish"
+}

Reply via email to