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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7BBC1582EF for ; Wed, 05 Mar 2025 14:52:32 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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 A3CFE343016 for ; Wed, 05 Mar 2025 14:52:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 965DA1102D0; Wed, 05 Mar 2025 14:52:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 89A531102D0 for ; Wed, 05 Mar 2025 14:52:31 +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 3FEFA342F94 for ; Wed, 05 Mar 2025 14:52:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D39D2872 for ; Wed, 05 Mar 2025 14:52:29 +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: <1741186171.4c9b616059dd02fdcd72b38bc46989316b1aceee.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/kubectx/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/kubectx/Manifest app-admin/kubectx/kubectx-0.9.5.ebuild X-VCS-Directories: app-admin/kubectx/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 4c9b616059dd02fdcd72b38bc46989316b1aceee X-VCS-Branch: master Date: Wed, 05 Mar 2025 14:52:29 +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: 00a625d6-6339-456c-969d-c41454b3f8ad X-Archives-Hash: 3a748fc9a1c14784b516381ffdf35c20 commit: 4c9b616059dd02fdcd72b38bc46989316b1aceee Author: Arthur Zamarin gentoo org> AuthorDate: Wed Mar 5 14:49:31 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Mar 5 14:49:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9b6160 app-admin/kubectx: add 0.9.5 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/kubectx/Manifest | 2 ++ app-admin/kubectx/kubectx-0.9.5.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/app-admin/kubectx/Manifest b/app-admin/kubectx/Manifest index b2dce71b37b3..abdb0d075a4d 100644 --- a/app-admin/kubectx/Manifest +++ b/app-admin/kubectx/Manifest @@ -1,2 +1,4 @@ DIST kubectx-0.9.4-deps.tar.xz 106630540 BLAKE2B 861c56ad7e881e50b5b1add6deed0f9418bfd9a932d72bbec8883ef69044128ba3340f537f8096297d8fea1bee99e223ce556d6ff64060a414ae8167ecdd0614 SHA512 97df8113ad27bf2280dd089b00130ced0b65b679bc2829b4b57ecec9317dfad844d1a738cfcaf9f1d8d374c073de12b1f43835063d57c03a771d69f23c9a21ee DIST kubectx-0.9.4.tar.gz 520663 BLAKE2B 127eb69c46f2d331c4854b7d935d0fb10c9bc08219d021f5a4b6710b0408eee586d584da47acb8eb415a3472655bc8c8e2e0748eba2a449d8c8dc458c98d32bf SHA512 edb5a05d5b32e486a227e8a4c98864a8dd1e0f3c325fd63a9c3f10ba3ca7a57420d3b1dda9d7674cdbf18fea9cfafbfabdc19c4e15ab1a2a18af967d8fd50997 +DIST kubectx-0.9.5-deps.tar.xz 10465832 BLAKE2B 576efe8a640d10f00e5b92ad0118946af1a7fe06a1ec208601f490f8503a7343dadc934d949dd727e2559a4968b6e150eff442a2d1f7d6812387c2cc0f109cb8 SHA512 f0f6241101087526b9d02d9588f161d65e5a3e6c3d4fcd1fb5563dcb7f9d5dcd079987da517867749cf2e1efef5405c3dcfb39280c53e968be9cdd68dbeb0bcc +DIST kubectx-0.9.5.tar.gz 523259 BLAKE2B e23ed5ad53abd645577682f5c263db1d62d9b77b688181fe7f2911312f182e18d6a56d063302253d2853a39c5fc832467ea0dd1c18b6ad34d5c99e9535530b6c SHA512 a7eacc4676d70caba7081aa09f36f8513c3578368a6f0984fd88d3fe674df8cadb3c5ccf109e9ea231bcfd189af6416b94b8e2cb4a4073a9b12c37e88ed73008 diff --git a/app-admin/kubectx/kubectx-0.9.5.ebuild b/app-admin/kubectx/kubectx-0.9.5.ebuild new file mode 100644 index 000000000000..2983562b6873 --- /dev/null +++ b/app-admin/kubectx/kubectx-0.9.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module shell-completion + +DESCRIPTION="Fast way to switch between clusters and namespaces in kubectl" +HOMEPAGE="https://github.com/ahmetb/kubectx" +SRC_URI="https://github.com/ahmetb/kubectx/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/app-admin/${PN}/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +src_compile() { + ego build -trimpath -ldflags "-w -s" ./cmd/{kubectx,kubens} +} + +src_install() { + dobin kubectx kubens + + newbashcomp completion/kubectx.bash kubectx + newbashcomp completion/kubens.bash kubens + newzshcomp completion/_kubectx.zsh _kubectx + newzshcomp completion/_kubens.zsh _kubens + dofishcomp completion/{kubectx,kubens}.fish +}