commit:     263097912ae4e6fb9a2d95127af241a33e45bc20
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  2 18:58:20 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jul  2 18:58:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26309791

app-misc/fx: add 37.0.0

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

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

diff --git a/app-misc/fx/Manifest b/app-misc/fx/Manifest
index 0c6faf755f27..fbb78e305e3e 100644
--- a/app-misc/fx/Manifest
+++ b/app-misc/fx/Manifest
@@ -2,3 +2,5 @@ DIST fx-36.0.3-deps.tar.xz 14815020 BLAKE2B 
50e32ed0f447ae4c8d8e0d77e860d24fd8f9
 DIST fx-36.0.3.tar.gz 2686176 BLAKE2B 
e08c525ed2758277f76377321fd372119376721a7aed61fb2b6786ad87f9b3dd0d54b47fff7a9fac7f49910ca2be00bcbfc994a7eb73543d1e65a4acd85bff7e
 SHA512 
8e2469adbe98b5104e4a99a203b80274f39460e325d00d944c25d38b29ea509063adfd3ddad40b34bfc73ac499c546383953f28f7eb4c53fa75ada3175d47867
 DIST fx-36.0.4-deps.tar.xz 14815020 BLAKE2B 
50e32ed0f447ae4c8d8e0d77e860d24fd8f945792a9745724841513c4d192efb7860905eea2c4f8218d29774c8493cf00c668999a859fe3e70499cd72dda0905
 SHA512 
1afef7c37bd7c938d69c7a1d8f42e123348088e01cd5ac09ac13fa25559849f74933f9c310d29b6407a51cdcb85e1d391651b8c127d1ca43f68636fe97a94fd1
 DIST fx-36.0.4.tar.gz 2686343 BLAKE2B 
77d0bd585fd14efba9afa7b09774e90967eaf7fb6f9f6e73191c4c920b9b8a8a8acc341391e869e0950154dcc09579715cb22520945c3edaf620f2e9e6470e06
 SHA512 
147f2ed00a99567963c66a3b080298e1000a8cee5573ba88b464a53dd50a310062dea860c416b9a6d4371012c0535eaec038c5b1c58f05044d16348d060b33ec
+DIST fx-37.0.0-deps.tar.xz 14819280 BLAKE2B 
2022ac355571e58ff73f06844261cb5a3deab4127a3c20528a454ade72f02eb41e19f87e97ecdfcdf13ac03fcda51f2bcad52a624e959ea3e4366665e6e9e52f
 SHA512 
1f56b43d015f56fd9b90faa5f90202d0dec5ce0682b14084e50726f66b70f5f44fd8aa5ad17d83c326b88d3fc58116b162a50277e5f9734df79190ca19918d6d
+DIST fx-37.0.0.tar.gz 2689370 BLAKE2B 
3b193ac5aefd048cb86298b41f39548f4503b2a36bc3596508d99eec5b4c6e5a7f7254b117a2ee046576a64e3868c251aa461b387fe74aa167b428f1951c8191
 SHA512 
fdbb77b859b82496aa0835c5ddadb3e6e770546cf9bf779dfe136ae527ba1f786a06c75eb742fac527bee790c8105491a044f1f0266acf5b57229edbb0e71a16

diff --git a/app-misc/fx/fx-37.0.0.ebuild b/app-misc/fx/fx-37.0.0.ebuild
new file mode 100644
index 000000000000..ff13c0c2be73
--- /dev/null
+++ b/app-misc/fx/fx-37.0.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://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