summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-04-11 15:41:53 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-04-11 15:42:18 +0200
commit611d42552d210ded946b7e467edfa5d80254078f (patch)
tree0608c206af846a44255405c329fa89fbc2fa413b /app-admin
parentapp-shells/fish: Removed old. (diff)
downloadgentoo-611d42552d210ded946b7e467edfa5d80254078f.tar.gz
gentoo-611d42552d210ded946b7e467edfa5d80254078f.tar.bz2
gentoo-611d42552d210ded946b7e467edfa5d80254078f.zip
app-admin/kubectx: Version bump to 0.5.0
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/kubectx/Manifest1
-rw-r--r--app-admin/kubectx/kubectx-0.5.0.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/app-admin/kubectx/Manifest b/app-admin/kubectx/Manifest
index 9a6ebfbe49a6..bb2a24376473 100644
--- a/app-admin/kubectx/Manifest
+++ b/app-admin/kubectx/Manifest
@@ -1 +1,2 @@
DIST kubectx-0.4.1.tar.gz 397910 BLAKE2B 60b0ac75cf6358a3660c3e59f85e5c27a670095ad973edbf2b53350726b48f1036aa90dd999cf149c10956a43692389ab2e87c63bce3b711ae2c7cb894157753 SHA512 dcaf1c8f71f69037f9341ff29befb2507d7bfa11a25e6e864000b802fe1221d6b47f2f78faa6c490711e65d0dda4b289e5ed1ffc261e4d2142054f48d1aac140
+DIST kubectx-0.5.0.tar.gz 398389 BLAKE2B 6eb5a91667e62e029bc9810e4e5833acdb99a73201713f9eb3fcee991001546fbcb7a381e3b1a568952b1a224975a238c41f65382cf384ea266f3dad55a79949 SHA512 0a587a0260960dfc69c3a30c3e73d2b2ac83937ef8a05df345445f1dc64adc725d42f7652ec2c65a02becdc40a7de3e49b402d7991f8dc970ee60b913b3ae5df
diff --git a/app-admin/kubectx/kubectx-0.5.0.ebuild b/app-admin/kubectx/kubectx-0.5.0.ebuild
new file mode 100644
index 000000000000..bcdb869a0ef6
--- /dev/null
+++ b/app-admin/kubectx/kubectx-0.5.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vcs-snapshot bash-completion-r1
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="sys-cluster/kubectl"
+
+src_install() {
+ dobin kubectx kubens
+
+ insinto /usr/share/zsh/site-functions
+ newins completion/kubectx.zsh _kubectx
+ newins completion/kubens.zsh _kubens
+
+ newbashcomp completion/kubectx.bash kubectx
+ newbashcomp completion/kubens.bash kubens
+}