diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-11-07 13:35:12 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-11-07 13:36:47 +0100 |
commit | 221348e6447679f5c8617c04eac821c34d6e5f24 (patch) | |
tree | 3193678ca760afd8912e527fbc24699140af1a0e /app-emulation/cri-tools | |
parent | app-admin/sudo: Bump to version 1.8.26_beta1 (diff) | |
download | gentoo-221348e6447679f5c8617c04eac821c34d6e5f24.tar.gz gentoo-221348e6447679f5c8617c04eac821c34d6e5f24.tar.bz2 gentoo-221348e6447679f5c8617c04eac821c34d6e5f24.zip |
app-emulation/cri-tools: Initial version
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-emulation/cri-tools')
-rw-r--r-- | app-emulation/cri-tools/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/cri-tools/cri-tools-1.0.0_beta2.ebuild | 29 | ||||
-rw-r--r-- | app-emulation/cri-tools/metadata.xml | 11 |
3 files changed, 41 insertions, 0 deletions
diff --git a/app-emulation/cri-tools/Manifest b/app-emulation/cri-tools/Manifest new file mode 100644 index 000000000000..07334eb118a6 --- /dev/null +++ b/app-emulation/cri-tools/Manifest @@ -0,0 +1 @@ +DIST cri-tools-1.0.0_beta2.tar.gz 2417018 BLAKE2B 06dc5675c339fb26fce92c3ca05f855da754a452b25554ab84da0b6528b56c01005a625a06ead9a0f1e51e3fee96b54865990927fc312efa96167f8a5ebe94f1 SHA512 f0aadf8659ae1731945c8403d5a6d30bb9ed1e2ebf1a1045541087652a0d7a45b35fea5346cbec37903425634d7f65ccd852b56a7db93f6bbf9c91ae4899f107 diff --git a/app-emulation/cri-tools/cri-tools-1.0.0_beta2.ebuild b/app-emulation/cri-tools/cri-tools-1.0.0_beta2.ebuild new file mode 100644 index 000000000000..a298fcbf5cbf --- /dev/null +++ b/app-emulation/cri-tools/cri-tools-1.0.0_beta2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2018 Sony Interactive Entertainment Inc. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/kubernetes-sigs/cri-tools" +MY_PV="v${PV/_beta/-beta.}" +ARCHIVE_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)" +HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +RESTRICT="test" + +src_compile() { + GOPATH="${S}" go test -c -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/critest ${EGO_PN}/cmd/critest || die + GOPATH="${S}" go build -v -ldflags="-X ${EGO_PN}/pkg/version.Version=${MY_PV}" -o bin/crictl ${EGO_PN}/cmd/crictl || die +} + +src_install() { + dobin bin/* + dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,CHANGELOG,CONTRIBUTING}.md} +} diff --git a/app-emulation/cri-tools/metadata.xml b/app-emulation/cri-tools/metadata.xml new file mode 100644 index 000000000000..abacd7abac65 --- /dev/null +++ b/app-emulation/cri-tools/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <upstream> + <remote-id type="github">kubernetes-sigs/cri-tools</remote-id> + </upstream> +</pkgmetadata> |