1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-02-02 06:15:46 +01:00

Added OCP command line client

This commit is contained in:
2022-09-29 15:07:39 +02:00
parent cbe1cf4465
commit 64418262f8
2 changed files with 31 additions and 0 deletions

2
sys-cluster/oc/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST oc-4.11.7.tar.gz 52556803 BLAKE2B 56c1c97be881566102e8c56f5c5cd57099aaf0725308d89fc709e72ef49816bfa854db33ec877b32d8eaf2f8178eb5773616a6e0fcf52c6f456e3281b35446e5 SHA512 abab3d99fbf06a2be9bbee728286496f1f9138d0745cace04a0ef1184c1e57760d4f475053b2b3bf0f8179b8c585dc5a0e1a64818820f2ee31f2f8824345d34e
EBUILD oc-4.11.7.ebuild 640 BLAKE2B de05ca6ca6f689dfa419b72a300f3fe63174877638a3e5c2f5051872144a059979cd25818247097688a3c419bffca89825abb43b67e06147782c81f0385ed77f SHA512 e6c0d1e199a2e739519fa915dd67512fc784f6efc9649772bafdf8a7d4f1d8d0f42093e301cbd969c8455b2067bc7e9b92928d0f68f37266260fe8febef9e595

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1
DESCRIPTION="Conformance test suite for OpenShift"
HOMEPAGE="https://github.com/openshift/origin https://www.openshift.org/"
SRC_URI="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${PV}/openshift-client-linux.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="bash-completion"
DEPEND="dev-lang/go"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}"
src_install() {
dobin "oc"
cd "${S}"
./oc completion bash > oc_completion
newbashcomp oc_completion oc
}