From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0384A138334 for ; Wed, 7 Nov 2018 12:43:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED1EDE08D9; Wed, 7 Nov 2018 12:43:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9E66E08D9 for ; Wed, 7 Nov 2018 12:43:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D8DB335C38 for ; Wed, 7 Nov 2018 12:43:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A77E5473 for ; Wed, 7 Nov 2018 12:42:59 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1541594559.4cc5216765a12c45a3d45a2ec71b1265dcd72230.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/cri-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/cri-tools/Manifest app-emulation/cri-tools/cri-tools-1.12.0.ebuild X-VCS-Directories: app-emulation/cri-tools/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 4cc5216765a12c45a3d45a2ec71b1265dcd72230 X-VCS-Branch: master Date: Wed, 7 Nov 2018 12:42:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 850b6db5-e2ea-4230-b74f-0e232d69d137 X-Archives-Hash: f3032498d99cf2a40a3282595c08d3a5 commit: 4cc5216765a12c45a3d45a2ec71b1265dcd72230 Author: Manuel Rüger gentoo org> AuthorDate: Wed Nov 7 12:42:39 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Wed Nov 7 12:42:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc52167 app-emulation/cri-tools: Version bump to 1.12.0 Signed-off-by: Manuel Rüger gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-emulation/cri-tools/Manifest | 1 + app-emulation/cri-tools/cri-tools-1.12.0.ebuild | 29 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/app-emulation/cri-tools/Manifest b/app-emulation/cri-tools/Manifest index 1336ec68623..84b90e1fd4c 100644 --- a/app-emulation/cri-tools/Manifest +++ b/app-emulation/cri-tools/Manifest @@ -1,2 +1,3 @@ DIST cri-tools-1.0.0_alpha1.tar.gz 2727719 BLAKE2B 6c413aff111ce279e86f1036c3efd0c98901ed42bce482b3877cec58a55958a80305c013b6e515dbb84ff3d8def41156b81a0749ce606fd3806a7fae3fc445f0 SHA512 e0fe6171ac1b1649be667b2924a1b163810fe18c51fb9c3fe363b381feb889d18872f8077e267a147058481f799a35f6a0b5f8d285215e216ee771d7ea74f66a DIST cri-tools-1.0.0_beta2.tar.gz 2417018 BLAKE2B 06dc5675c339fb26fce92c3ca05f855da754a452b25554ab84da0b6528b56c01005a625a06ead9a0f1e51e3fee96b54865990927fc312efa96167f8a5ebe94f1 SHA512 f0aadf8659ae1731945c8403d5a6d30bb9ed1e2ebf1a1045541087652a0d7a45b35fea5346cbec37903425634d7f65ccd852b56a7db93f6bbf9c91ae4899f107 +DIST cri-tools-1.12.0.tar.gz 2608498 BLAKE2B 242e689ec69081838afe36b86e3f802e4ff3bfd50461026a8637dd777b8996d9e153fbab103c98fc5ad8bd82c4da52413ab4698f95db8f1c0fa7e825e8dd80f7 SHA512 394269515ac80dd2b995b20220b03e03bad8bbfa25cea8979777ab75830a0523f0945553ba5d3f7a900eabe9ccf67ebf5789627b46640a2fc46193aff101ba20 diff --git a/app-emulation/cri-tools/cri-tools-1.12.0.ebuild b/app-emulation/cri-tools/cri-tools-1.12.0.ebuild new file mode 100644 index 00000000000..a298fcbf5cb --- /dev/null +++ b/app-emulation/cri-tools/cri-tools-1.12.0.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} +}