diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-cluster/minikube/minikube-1.0.0.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-cluster/minikube/minikube-1.0.0.ebuild')
-rw-r--r-- | sys-cluster/minikube/minikube-1.0.0.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/sys-cluster/minikube/minikube-1.0.0.ebuild b/sys-cluster/minikube/minikube-1.0.0.ebuild deleted file mode 100644 index b49a012ebec2..000000000000 --- a/sys-cluster/minikube/minikube-1.0.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) - -inherit python-any-r1 golang-build golang-vcs-snapshot - -EGO_PN="k8s.io/minikube" -ARCHIVE_URI="https://github.com/kubernetes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Single Node Kubernetes Cluster" -HOMEPAGE="https://github.com/kubernetes/minikube https://kubernetes.io" -SRC_URI="${ARCHIVE_URI}" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="hardened libvirt" - -DEPEND="dev-go/go-bindata - ${PYTHON_DEPS} - libvirt? ( app-emulation/libvirt[qemu] )" -RDEPEND=">=sys-cluster/kubectl-1.14.0" - -RESTRICT="test" - -src_prepare() { - default - sed -i -e 's/ -s -w/ -w/' -e 's#.*GOBIN=$(GOPATH)/bin go get github.com/jteeuwen/go-bindata/...##' -e 's#$(GOPATH)/bin/go-bindata#/usr/bin/go-bindata#g' src/${EGO_PN}/Makefile || die - sed -i -e "s/get_commit(), get_tree_state(), get_version()/get_commit(), 'gitTreeState=clean', get_version()/" src/${EGO_PN}/hack/get_k8s_version.py || die -} - -src_compile() { - export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" - LDFLAGS="" GOFLAGS="-v" GOPATH="${WORKDIR}/${P}" emake -C src/${EGO_PN} $(usex libvirt "out/docker-machine-driver-kvm2" "") out/minikube-linux-amd64 -} - -src_install() { - pushd src/${EGO_PN} || die - newbin out/minikube-linux-amd64 minikube - use libvirt && dobin out/docker-machine-driver-kvm2 - dodoc -r docs CHANGELOG.md README.md - popd || die -} - -pkg_postinst() { - elog "You may want to install the following optional dependency:" - elog " app-emulation/virtualbox or app-emulation/virtualbox-bin" -} |