summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-02-20 18:31:33 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-02-20 18:31:33 +0100
commit94bceff80e93950b10cde5f563cefd07630f83e3 (patch)
tree9cca6608fe4c07cdd47547c14ded76b3a67c3688 /app-admin
parentsys-libs/llvm-libunwind: Fix syntax error for 9999 (diff)
downloadgentoo-94bceff80e93950b10cde5f563cefd07630f83e3.tar.gz
gentoo-94bceff80e93950b10cde5f563cefd07630f83e3.tar.bz2
gentoo-94bceff80e93950b10cde5f563cefd07630f83e3.zip
app-admin/kubectx: Initial version
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/kubectx/Manifest1
-rw-r--r--app-admin/kubectx/kubectx-0.4.0_p20180118.ebuild32
-rw-r--r--app-admin/kubectx/metadata.xml11
3 files changed, 44 insertions, 0 deletions
diff --git a/app-admin/kubectx/Manifest b/app-admin/kubectx/Manifest
new file mode 100644
index 000000000000..828e2504fe40
--- /dev/null
+++ b/app-admin/kubectx/Manifest
@@ -0,0 +1 @@
+DIST kubectx-0.4.0_p20180118.tar.gz 398084 BLAKE2B fda8cae93e221fc4732b7cedbd44465541cdd7f31b29fbbfde781ea34b2c2d644ad6735d6bf7fa1ebcf04cc2b9dc3ac8e883808cd04c8a256b004a3293cee240 SHA512 04123596724dfc4dacc0beb578c716a3909d98d7df7dbf3c1439b5bb29ac14ea7b366be3e2252550ed89474c58ce83b028af79b0cd288f1ecd62c6c3f2729f62
diff --git a/app-admin/kubectx/kubectx-0.4.0_p20180118.ebuild b/app-admin/kubectx/kubectx-0.4.0_p20180118.ebuild
new file mode 100644
index 000000000000..3cdfb0a50a87
--- /dev/null
+++ b/app-admin/kubectx/kubectx-0.4.0_p20180118.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vcs-snapshot bash-completion-r1
+
+COMMIT="b2992aa0df9143c25d64843b3ee40fbcd7332f07"
+
+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/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="sys-cluster/kubectl"
+
+src_install() {
+ insinto /usr/include
+ doins utils.bash
+ 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
+}
diff --git a/app-admin/kubectx/metadata.xml b/app-admin/kubectx/metadata.xml
new file mode 100644
index 000000000000..ee148200ef0c
--- /dev/null
+++ b/app-admin/kubectx/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ahmetb/kubectx</remote-id>
+ </upstream>
+</pkgmetadata>