commit: 3bbae27574770e99a3336e062ecc1af794d67d33 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Jun 20 07:58:07 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Jun 20 07:58:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bbae275
app-misc/fx: add 36.0.4 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> app-misc/fx/Manifest | 2 ++ app-misc/fx/fx-36.0.4.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/app-misc/fx/Manifest b/app-misc/fx/Manifest index 0e0dfd805186..335c80134d47 100644 --- a/app-misc/fx/Manifest +++ b/app-misc/fx/Manifest @@ -6,3 +6,5 @@ DIST fx-36.0.2-deps.tar.xz 14815020 BLAKE2B 50e32ed0f447ae4c8d8e0d77e860d24fd8f9 DIST fx-36.0.2.tar.gz 2685721 BLAKE2B 69459ce957b84eb38d7cfcfc62a38707562ad25b27a6cf0b8e6efbb9e33726d2082defb932933cdbc416c6f2671573aa0fe47f9339f0e232e1f831820b8c132c SHA512 7854d903cc1acffdfbb787e72ee4ffa379a397e2eb33fe8672cc11f8c10eaca1ce6262d4e7cd647c3fe2e6987a558ed31b27a3f17cc55f933c52199b0c23057e DIST fx-36.0.3-deps.tar.xz 14815020 BLAKE2B 50e32ed0f447ae4c8d8e0d77e860d24fd8f945792a9745724841513c4d192efb7860905eea2c4f8218d29774c8493cf00c668999a859fe3e70499cd72dda0905 SHA512 1afef7c37bd7c938d69c7a1d8f42e123348088e01cd5ac09ac13fa25559849f74933f9c310d29b6407a51cdcb85e1d391651b8c127d1ca43f68636fe97a94fd1 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 diff --git a/app-misc/fx/fx-36.0.4.ebuild b/app-misc/fx/fx-36.0.4.ebuild new file mode 100644 index 000000000000..e2ba504bfc62 --- /dev/null +++ b/app-misc/fx/fx-36.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" +}
