diff options
Diffstat (limited to 'sys-cluster/kube-scheduler/kube-scheduler-1.17.2.ebuild')
-rw-r--r-- | sys-cluster/kube-scheduler/kube-scheduler-1.17.2.ebuild | 15 |
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 |