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 7B3E41395E2 for ; Tue, 13 Dec 2016 01:21:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3491E21C29A; Mon, 12 Dec 2016 15:07:02 +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 F1CE921C29A for ; Mon, 12 Dec 2016 15:07:01 +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 E753A34106E for ; Mon, 12 Dec 2016 15:07:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBEB949F for ; Mon, 12 Dec 2016 15:06:58 +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: <1481555168.fc3edabb53822c6cef4a1b2e752e3c69c0708a33.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.1.2_p20161207.ebuild app-emulation/kompose/metadata.xml X-VCS-Directories: app-emulation/kompose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: fc3edabb53822c6cef4a1b2e752e3c69c0708a33 X-VCS-Branch: master Date: Mon, 12 Dec 2016 15:06:58 +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: fc42a8ae-714e-40c4-8f16-a65f3189006a X-Archives-Hash: 82efcc9b0f8023dfc7f2511cf01bfd2d commit: fc3edabb53822c6cef4a1b2e752e3c69c0708a33 Author: Manuel Rüger gentoo org> AuthorDate: Mon Dec 12 15:06:08 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon Dec 12 15:06:08 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc3edabb app-emulation/kompose: Initial version Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/kompose/Manifest | 1 + .../kompose/kompose-0.1.2_p20161207.ebuild | 33 ++++++++++++++++++++++ app-emulation/kompose/metadata.xml | 11 ++++++++ 3 files changed, 45 insertions(+) diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest new file mode 100644 index 00000000..47636d5 --- /dev/null +++ b/app-emulation/kompose/Manifest @@ -0,0 +1 @@ +DIST kompose-0.1.2_p20161207.tar.gz 4931237 SHA256 d4e008f6b9e5086365bc2cfb9a0883026cb6e8bb925612e31dc2112498c10bc0 SHA512 6dc5b047fdc56e368508338975221644219b820d90960c726a601ac0c33e637a25e4c98cd3ec8438d5fe7c7e30bb554fa89c43805668f0189d1b59e0785d5361 WHIRLPOOL 6a96698a786b87309e334c5ab69681002e232118e64bdd5778fa42ef2f02b993459e6bc1b9e40c84c0a3b5398569b3dcd2ef01479f64ecda68b15cae96020fa6 diff --git a/app-emulation/kompose/kompose-0.1.2_p20161207.ebuild b/app-emulation/kompose/kompose-0.1.2_p20161207.ebuild new file mode 100644 index 00000000..7472d63 --- /dev/null +++ b/app-emulation/kompose/kompose-0.1.2_p20161207.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 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="04a3131834cddfb1af42b63b21641fbbf84a4a9d" +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" + +src_prepare() { + default + sed -i -e "s/HEAD/${EGIT_COMMIT:0:7}/" src/${EGO_PN%/*}/version/version.go || die +} + +src_compile() { + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" + GOPATH="${S}" go build -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} +} diff --git a/app-emulation/kompose/metadata.xml b/app-emulation/kompose/metadata.xml new file mode 100644 index 00000000..1bc30e1 --- /dev/null +++ b/app-emulation/kompose/metadata.xml @@ -0,0 +1,11 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + kubernetes-incubator/kompose + +