sys-cluster/kubeadm: 1.16.8 bump
authorWilliam Hubbs <williamh@gentoo.org>
Thu, 19 Mar 2020 15:19:46 +0000 (10:19 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Thu, 19 Mar 2020 15:30:07 +0000 (10:30 -0500)
Signed-off-by: William Hubbs <williamh@gentoo.org>
sys-cluster/kubeadm/Manifest
sys-cluster/kubeadm/kubeadm-1.16.8.ebuild [new file with mode: 0644]

index 4612ea70e49695b25fc8923aaf2360b127923b6e..89acdff8ca253bf6b81128b90b921e140cb13d34 100644 (file)
@@ -9,5 +9,6 @@ DIST kubernetes-1.16.2.tar.gz 31202049 BLAKE2B e7bb9330c233959702545207ce3061559
 DIST kubernetes-1.16.3.tar.gz 31211177 BLAKE2B 816b7a4c3489b328d14ae149bdc71bcdc9a6c981ddff8d812b602d1976d12785355615f6ad43246cc201c6d7f3d5a19381d3e6cefba9358a754df81cf35bedca SHA512 3381249ab9b76849720252ddcc89565dd4f79c003c6e6f97b9cb39f7490acfd12110d21beeee4d5b7239769ace998d1949f8b25d70e42643c244b819d7b5c042
 DIST kubernetes-1.16.6.tar.gz 31714463 BLAKE2B 050897d4308a31d5164a907766af4f952d6551fba7e503bf7def78db37d017a3f5bd7a1c54125e42f9adeb850e6e38ef4ac9a98af978faf2efc4a474323b9f43 SHA512 2e1ca5781842ccd32f6e9791d069e9838a6221be3c4018abc06517cf97517bb500a6fafd7ae346088430f60c3e1dcbb983842572b9ed3241b70467dc1941e4a1
 DIST kubernetes-1.16.7.tar.gz 31722167 BLAKE2B 4792fec43d5921086dc78fc46d9d38554bc710bfb1a29928fd962fc0940946d4a4c1cba1ca86e999ebf2e1064bbeb011c9c6e464fada90c8a3e52a0cc2984977 SHA512 dc7d9180dd120418964e2fcc57105c9c3ba9b79abfdf357ca3ecd3c41468100b89e63b82ab6658b423c730ac2f229bf5eacca0321896b0739963fbc18343d765
+DIST kubernetes-1.16.8.tar.gz 31731459 BLAKE2B 1d53c16586b5a7a41fc42d0fb3444b694531d3f04fb9e168a70d4b98f966f322bc82d39234612e38c71da052002c5bcc452c747d9f948dacbdd91ea40a9f5417 SHA512 04c8e9a9227ac9a98074cd52cbe90758134fedb10164fa69accbc19716a2f18dc133a4f880d0e35a3728c377faea431363f00ae9fe2ff5ca9e509444da9106c5
 DIST kubernetes-1.17.2.tar.gz 31753827 BLAKE2B de92f1e0f087115691b5ce057a07f4b46a4410714ad9164801c0390190bd8e29f8aa6e79d0d8b816669770feaf229932df04c48792ce11e77e8c682db54f28bd SHA512 64c45967e6a85943fd3f62f82e0d51001bbeb04ed8ccbe376ad63989f4a888f838bc17d1d0942e8c857118781703a6cbd3336bff1f3ae5269f808b5d9b4d11bd
 DIST kubernetes-1.17.3.tar.gz 31762013 BLAKE2B 4470fadf2ec441ed7a5f3a82581af6a0f4d768780048576863b2aae9c13cff543592da73b979c7f9191a4c7c2b5a1ad10d85e0eba04fdcd08ece86884ab1f80d SHA512 09b33377de0bdd7dc8ac2ae81196d15eeb93862cb0aba1256bcfca38d2ce1f15951ad70cf67600fc3d16c1d449e0451707e756ec21ad812c6628ae1f0fdda427
diff --git a/sys-cluster/kubeadm/kubeadm-1.16.8.ebuild b/sys-cluster/kubeadm/kubeadm-1.16.8.ebuild
new file mode 100644 (file)
index 0000000..3c0ba8c
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build golang-vcs-snapshot bash-completion-r1
+
+EGO_PN="k8s.io/kubernetes"
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.13
+       dev-go/go-bindata"
+
+RESTRICT="test"
+
+src_prepare() {
+       default
+       sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die
+       sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die
+}
+
+src_compile() {
+       LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v
+       pushd src/${EGO_PN} || die
+       _output/bin/${PN} completion bash > ${PN}.bash || die
+       _output/bin/${PN} completion zsh > ${PN}.zsh || die
+       popd || die
+}
+
+src_install() {
+       pushd src/${EGO_PN} || die
+       dobin _output/bin/${PN}
+
+       newbashcomp ${PN}.bash ${PN}
+       insinto /usr/share/zsh/site-functions
+       newins ${PN}.zsh _${PN}
+
+       popd || die
+}