From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F179915813A for ; Tue, 21 Jan 2025 18:40:58 +0000 (UTC) Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C67E1340C7C for ; Tue, 21 Jan 2025 18:40:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1BEAE01E4; Tue, 21 Jan 2025 18:40:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C442AE01E4 for ; Tue, 21 Jan 2025 18:40:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEAAF340C77 for ; Tue, 21 Jan 2025 18:40:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38039E65 for ; Tue, 21 Jan 2025 18:40:54 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1737484845.13c4670a5b29dbf877577c5964a485faad17fd3b.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/fx/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/fx/Manifest app-misc/fx/fx-35.0.0.ebuild app-misc/fx/metadata.xml X-VCS-Directories: app-misc/fx/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 13c4670a5b29dbf877577c5964a485faad17fd3b X-VCS-Branch: master Date: Tue, 21 Jan 2025 18:40:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0caa411f-18ca-4cde-a2f1-102c0e28c8c7 X-Archives-Hash: 4f0ef23c4f38c66e6c79af53c559cf85 commit: 13c4670a5b29dbf877577c5964a485faad17fd3b Author: Arthur Zamarin gentoo org> AuthorDate: Tue Jan 21 18:36:47 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Jan 21 18:40:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13c4670a app-misc/fx: new package, add 35.0.0 Signed-off-by: Arthur Zamarin gentoo.org> app-misc/fx/Manifest | 2 ++ app-misc/fx/fx-35.0.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ app-misc/fx/metadata.xml | 11 +++++++++++ 3 files changed, 50 insertions(+) diff --git a/app-misc/fx/Manifest b/app-misc/fx/Manifest new file mode 100644 index 000000000000..b9fa0b972bd1 --- /dev/null +++ b/app-misc/fx/Manifest @@ -0,0 +1,2 @@ +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 diff --git a/app-misc/fx/fx-35.0.0.ebuild b/app-misc/fx/fx-35.0.0.ebuild new file mode 100644 index 000000000000..7c36260ceb59 --- /dev/null +++ b/app-misc/fx/fx-35.0.0.ebuild @@ -0,0 +1,37 @@ +# 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" +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" +} diff --git a/app-misc/fx/metadata.xml b/app-misc/fx/metadata.xml new file mode 100644 index 000000000000..29afbd37a5af --- /dev/null +++ b/app-misc/fx/metadata.xml @@ -0,0 +1,11 @@ + + + + + arthurzam@gentoo.org + Arthur Zamarin + + + antonmedv/fx + +