commit: 103f6ce0ade9fe5fdf02e075a595a487a3c01289 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri May 16 06:49:59 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri May 16 06:53:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103f6ce0
app-misc/fx: add 36.0.1 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> app-misc/fx/Manifest | 2 ++ app-misc/fx/fx-36.0.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/app-misc/fx/Manifest b/app-misc/fx/Manifest index b9fa0b972bd1..1545b44fdc36 100644 --- a/app-misc/fx/Manifest +++ b/app-misc/fx/Manifest @@ -1,2 +1,4 @@ DIST fx-35.0.0-deps.tar.xz 14566724 BLAKE2B e1104d78516adcb9346a9a5e12ae6f0289ed08a0476b4a605254301b6a4d47d7b46915fd65dc54f538a388c5c2694027b09af90e0f465f6a5ff84e23a36e7ed7 SHA512 0474627801dbe5de029addc3562827fdc45434dedc8ca33555dfebac9465c315fc3626d600da04362f0fa900132dbb107404b72cdcf4840273a52231f94de4c5 DIST fx-35.0.0.tar.gz 2666576 BLAKE2B ac2c6b928b04cef596837acbc76df5a835c004b8e726b8f3b9e78e8e4f5e2528f7091a517731d87c51323c67db55f25b118f2870ed57496ed31daf02c066eccf SHA512 3870b52a9b74494369c837041ce3f5dbe668159d5a823fcc4977a3bd348ca54510d346a2c3f78a47fbd6b7999820d819e47e55848da83482bb8f32c8a3ebaf81 +DIST fx-36.0.1-deps.tar.xz 14815020 BLAKE2B 50e32ed0f447ae4c8d8e0d77e860d24fd8f945792a9745724841513c4d192efb7860905eea2c4f8218d29774c8493cf00c668999a859fe3e70499cd72dda0905 SHA512 1afef7c37bd7c938d69c7a1d8f42e123348088e01cd5ac09ac13fa25559849f74933f9c310d29b6407a51cdcb85e1d391651b8c127d1ca43f68636fe97a94fd1 +DIST fx-36.0.1.tar.gz 2684636 BLAKE2B 1305e465358d361e3ead7956d1dec80735d59b93ac28a73f341bc1b20fff675af4afb52018298957204caf261fcd19250dfb3151ac3b72d5fbbdfc8ad4e12f0e SHA512 1fa32d34af3bd66e02f8739a5680a9d30b4bb42fd21a776480576497ff3584a58e6df9125debbf4744aba6432a5e371dafbca6b921c122363396762619e5e031 diff --git a/app-misc/fx/fx-36.0.1.ebuild b/app-misc/fx/fx-36.0.1.ebuild new file mode 100644 index 000000000000..ff13c0c2be73 --- /dev/null +++ b/app-misc/fx/fx-36.0.1.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" +}
