commit:     f9345528bfe4c0886032c2707782aca3c1f9ad56
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  5 07:59:16 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep  5 08:10:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9345528

app-misc/fx: add 39.0.4

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

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

diff --git a/app-misc/fx/Manifest b/app-misc/fx/Manifest
index ec048c543d46..a21512f8410e 100644
--- a/app-misc/fx/Manifest
+++ b/app-misc/fx/Manifest
@@ -2,3 +2,5 @@ DIST fx-37.0.0-deps.tar.xz 14819280 BLAKE2B 
2022ac355571e58ff73f06844261cb5a3dea
 DIST fx-37.0.0.tar.gz 2689370 BLAKE2B 
3b193ac5aefd048cb86298b41f39548f4503b2a36bc3596508d99eec5b4c6e5a7f7254b117a2ee046576a64e3868c251aa461b387fe74aa167b428f1951c8191
 SHA512 
fdbb77b859b82496aa0835c5ddadb3e6e770546cf9bf779dfe136ae527ba1f786a06c75eb742fac527bee790c8105491a044f1f0266acf5b57229edbb0e71a16
 DIST fx-38.0.0-deps.tar.xz 11602484 BLAKE2B 
fefb8968d867570bc006df5e4d4e7add80d18c7c98883711934daf275045c66976625e33b6917227cf8c9656a0eb24a295b6da36d5f120c325fc42651b214577
 SHA512 
62259bcda05586c38071c070e846f5ae9d49da943f5830f14ad548686d910b93cdbee8171aba1fe517eee133a95476bd9b75e9cbb61800545c5bbb7dc95aca68
 DIST fx-38.0.0.tar.gz 2689735 BLAKE2B 
1588b459a11617cd5ad2d1e44fb246cd836792d70d269602dd7c9b9b9a84bc992007a8965eb0456cd3b1c7af46fe8ab544542c9188d6375fd9b94f68c925fdc1
 SHA512 
fe306a25bf461c3e79fa0be4d1d88db70dc84d52aec57feb053ffbe1bbf556d9c5d7e420d73297b4443ed68e755dca24781d8f0c468dd9f8eed49aa4057c0437
+DIST fx-39.0.4-deps.tar.xz 11607640 BLAKE2B 
9ce2ad61df1f4dfef1e18d35fc89e651b52ee85edd811b474f63e4115f7c8840b746537b15bd830db120fd7bb21894ef1fc56cb36e99edba8dfaf9c24ab78627
 SHA512 
02b5c697f4322e0822258b8ff919742b2245dca3568f061b569657ecc2ffdaa6ecd909e8de4c07c09a471aa474dbf2178a78aee2fca786fd57b71971a469839f
+DIST fx-39.0.4.tar.gz 2704308 BLAKE2B 
022ca30feba8cb9c0c7401bc2df62104e991b7892c0e004087a6787d869d92626db97368f11f9265d64134abb6f84c2961d4d1b0e74269879a16690f32bfaaed
 SHA512 
c32cf4beff05a819f4d243df5ba626c2046180f15c321106236df07a9c69527129a95d79bfc44a4218e2b1744e84323400a46221a4855f7b6b8c62e9c7c9ae34

diff --git a/app-misc/fx/fx-39.0.4.ebuild b/app-misc/fx/fx-39.0.4.ebuild
new file mode 100644
index 000000000000..e2ba504bfc62
--- /dev/null
+++ b/app-misc/fx/fx-39.0.4.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://dev.gentoo.org/~arthurzam/distfiles/app-misc/${PN}/${P}-deps.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