commit:     267604ad8a8dbe109842ca7dc72a9fc6a713ecb1
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  6 20:56:22 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 20:56:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267604ad

sys-cluster/kube-scheduler: Version bump to 1.13.7

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 sys-cluster/kube-scheduler/Manifest                |  1 +
 .../kube-scheduler/kube-scheduler-1.13.7.ebuild    | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/sys-cluster/kube-scheduler/Manifest 
b/sys-cluster/kube-scheduler/Manifest
index 7544ec064f2..dc1535d3d5f 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -4,5 +4,6 @@ DIST kubernetes-1.12.5.tar.gz 28128559 BLAKE2B 
add647a579e75e877552fbde0800064d9
 DIST kubernetes-1.13.3.tar.gz 28781320 BLAKE2B 
7ae1a6ddeff5b8d19bacc868ad5970cc8ea81239f1ce709207e321ab97c0f155c6c363b3b0f9af25f6e6ce68d99678cf2b10c841a45f082f486bd9dee7be5e3a
 SHA512 
45c2639a88e04d16511c92ca48ca6326b12422f0765df92fb883a1afe7fda9adefcf111d76855532f69b48c6e681774ee0c7e08f74594de808b50e11f8ec52c5
 DIST kubernetes-1.13.5.tar.gz 28804719 BLAKE2B 
9ca1f24a26f5917c085fad65c3ed1cb4cc0f5556f6245b8e87aee5244e96ed6beede646f8b95b118d79ac715e988111f7fd2ddfb4c478af7a9bfe19c4dd227be
 SHA512 
aced7b8dae452c62f4751785ad106c3747054ccb075b3d04dd82bd816d74f4002844e3cfa7aee138c9661e5c30a9aa9743f10a0dd807bbd590fffb60ce72f617
 DIST kubernetes-1.13.6.tar.gz 28822613 BLAKE2B 
80c7a5e84328776d2e5d937b5a6c16491c07789e72aa69fae3c2e83d617323fab4d1ad75fb25d8533c3ecb2abe030cb0bb168c29d971a65fc7b07d736ddda8ff
 SHA512 
42f2683ce5f74406efa87a0db5dc5ccd19a5de23c271af85ccdc325e24569234a1d5d16776a97eab1e46afd36699861ba4a4569fdd0017c639c1559e2de425a1
+DIST kubernetes-1.13.7.tar.gz 28861902 BLAKE2B 
16704365a00cee83eb461f21df2d2e6c5d9b721585c62a3b650b1ecb40f8ad044c2b68cadc5f6251ccccbe22b059112f2c206ff352715fef1322505e655645ff
 SHA512 
2cfc0b3739679da7e9bb9ce0aa71ef5842e45af382d616ce6188f20fec929aca579427b866b5cd71cca005d88d1717803c8f3be60eab8c99b200d422bdc40f04
 DIST kubernetes-1.14.3.tar.gz 28058624 BLAKE2B 
11a1bd98cf6270e0035d6f01a3b14cce641ab1af421e4f060d6616ae6f3e2fd84074c1fad48d4182ce49e62466be40181ff17fce9fd300b84afbdcc3a4f9dc22
 SHA512 
3fab0b5f142644454d22abfc99454adb3d3055b132cf93b6a0f6a0088b6a7938835edee813611756e80a21b1473e62c179905d77d3f2288bd5c60c6a43e60361
 DIST kubernetes-1.9.11.tar.gz 23606810 BLAKE2B 
19d30d2cadaf5b95f919e82670b1a8e1d5e2b80a4134dbc5c6afcc23d06dee8392f63d80b59ebfbbbf3a4bcce0dc2d81b1d560c3b3b1910350efed35ee77fbbc
 SHA512 
87881d7dd7e0b3e46dc92f3160410fdf9e7ec1f0cbc3ef99da84b808c3813a3a2d843d49e2b501ee3eb8c9db3564f62c72eecaf5dc1917051e81c106bc80a9ba

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.13.7.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.13.7.ebuild
new file mode 100644
index 00000000000..2830ac40ff3
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.13.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="k8s.io/kubernetes"
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> 
kubernetes-${PV}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Kubernetes Scheduler"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io";
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND="dev-go/go-bindata
+       >=dev-lang/go-1.11"
+
+RESTRICT="test"
+
+pkg_setup() {
+       enewgroup ${PN}
+       enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+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
+}
+
+src_install() {
+       pushd src/${EGO_PN} || die
+       dobin _output/bin/${PN}
+       popd || die
+       keepdir /var/log/${PN}
+       fowners ${PN}:${PN} /var/log/${PN}
+       newinitd "${FILESDIR}"/${PN}.initd ${PN}
+       newconfd "${FILESDIR}"/${PN}.confd ${PN}
+       insinto /etc/logrotate.d
+       newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}

Reply via email to