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 28877139694 for ; Tue, 14 Feb 2017 19:58:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71CAE21C06B; Tue, 14 Feb 2017 19:58:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B5CA21C06B for ; Tue, 14 Feb 2017 19:58:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3741B34105A for ; Tue, 14 Feb 2017 19:58:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F038647E2 for ; Tue, 14 Feb 2017 19:58:31 +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: <1487102290.e20beb9537820c0bccb7834b13bc56574cb6896f.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/kompose/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/kompose/Manifest app-emulation/kompose/kompose-0.2.0_p20170214.ebuild X-VCS-Directories: app-emulation/kompose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: e20beb9537820c0bccb7834b13bc56574cb6896f X-VCS-Branch: master Date: Tue, 14 Feb 2017 19:58:31 +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: 36b76d32-108f-48a0-b438-8187ec582eca X-Archives-Hash: 4d7baab4150986f040feb8017059ad3d commit: e20beb9537820c0bccb7834b13bc56574cb6896f Author: Manuel Rüger gentoo org> AuthorDate: Tue Feb 14 19:57:32 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Feb 14 19:58:10 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20beb95 app-emulation/kompose: Update snapshot to 0.2.0_p20170214 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/kompose/Manifest | 1 + .../kompose/kompose-0.2.0_p20170214.ebuild | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 47636d56b1..75f210b81c 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1 +1,2 @@ DIST kompose-0.1.2_p20161207.tar.gz 4931237 SHA256 d4e008f6b9e5086365bc2cfb9a0883026cb6e8bb925612e31dc2112498c10bc0 SHA512 6dc5b047fdc56e368508338975221644219b820d90960c726a601ac0c33e637a25e4c98cd3ec8438d5fe7c7e30bb554fa89c43805668f0189d1b59e0785d5361 WHIRLPOOL 6a96698a786b87309e334c5ab69681002e232118e64bdd5778fa42ef2f02b993459e6bc1b9e40c84c0a3b5398569b3dcd2ef01479f64ecda68b15cae96020fa6 +DIST kompose-0.2.0_p20170214.tar.gz 4928182 SHA256 437303c2f7b3c24182561e76cfa85102814f731fc7f5951933fe6c153c6b2e1b SHA512 dab013f861f4a185c0fdea3f4b79d33ff280f3c7ad77e150ce381770182ad77a37d8ccbadfe1f7bd13d50dc36a7087847d1636b6b411a21e0de43113be5b0183 WHIRLPOOL 581a6059bdb6286ca859e5a2f1e750a9ceaa3724ed9fee4092ac9283b2216629118437ccd0354ffebde95ac37b1591048f5972658a093b4aefc09bc8a02402f8 diff --git a/app-emulation/kompose/kompose-0.2.0_p20170214.ebuild b/app-emulation/kompose/kompose-0.2.0_p20170214.ebuild new file mode 100644 index 0000000000..30d5f9fc6c --- /dev/null +++ b/app-emulation/kompose/kompose-0.2.0_p20170214.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/kubernetes-incubator/kompose/..." +EGIT_COMMIT="d20a42e4472dbf519da01889c4b6b76b1352097f" +ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Tool to move from docker-compose to Kubernetes" +HOMEPAGE="https://github.com/kubernetes-incubator/kompose" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0/${PVR}" +IUSE="hardened" + +RESTRICT="test" + +src_compile() { + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" + GOPATH="${S}" go build -ldflags="-X github.com/kubernetes-incubator/kompose/cmd.GITCOMMIT=${EGIT_COMMIT:0:7}" -o bin/kompose src/${EGO_PN%/*}/main.go || die +} + +src_install() { + dobin bin/* + dodoc -r src/${EGO_PN%/*}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md} +}