summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-01-24 19:22:16 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-01-24 19:22:16 -0600
commit35f44c7768d504a8877b3838212bc0323aa5db39 (patch)
tree66c4886dd0b12060137046cb56ad6d7b4d296f00
parentsys-cluster/kube-controller-manager: 1.17.2 repoman fixes and migrate to glep 81 (diff)
downloadgentoo-35f44c7768d504a8877b3838212bc0323aa5db39.tar.gz
gentoo-35f44c7768d504a8877b3838212bc0323aa5db39.tar.bz2
gentoo-35f44c7768d504a8877b3838212bc0323aa5db39.zip
sys-cluster/kube-scheduler: repoman fixes and glep 81 migration
Signed-off-by: William Hubbs <williamh@gentoo.org>
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.17.2.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.17.2.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.17.2.ebuild
index bb8891fc85e1..0faf33996b1a 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.17.2.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.17.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit go-module user
+inherit go-module
DESCRIPTION="Kubernetes Scheduler"
HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
@@ -12,17 +12,16 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-DEPEND="dev-go/go-bindata
+COMMON_DEPEND="acct-group/kube-scheduler
+ acct-user/kube-scheduler"
+DEPEND="${COMMON_DEPEND}
+ dev-go/go-bindata
>=dev-lang/go-1.13"
+ RDEPEND="${COMMON_DEPEND}"
RESTRICT="test"
S="${WORKDIR}/kubernetes-${PV}"
-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/" hack/lib/golang.sh || die