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 C3825139694 for ; Wed, 10 May 2017 21:42:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C82DE0CDA; Wed, 10 May 2017 21:42:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E006FE0CDA for ; Wed, 10 May 2017 21:42:20 +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 EFB8733FE7D for ; Wed, 10 May 2017 21:42:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8FD6845 for ; Wed, 10 May 2017 21:42:17 +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: <1494452527.0ee1d5cb2fdbd941eca8c266bfde93cf1f3a7b2d.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.6.0.ebuild X-VCS-Directories: app-emulation/kompose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 0ee1d5cb2fdbd941eca8c266bfde93cf1f3a7b2d X-VCS-Branch: master Date: Wed, 10 May 2017 21:42:17 +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: 548dc583-df47-4689-af0f-bc7ba94c6005 X-Archives-Hash: 0c533258ac4518549205f02b11dd20aa commit: 0ee1d5cb2fdbd941eca8c266bfde93cf1f3a7b2d Author: Manuel Rüger gentoo org> AuthorDate: Wed May 10 21:42:07 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Wed May 10 21:42:07 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee1d5cb app-emulation/kompose: Version bump to 0.6.0 Package-Manager: Portage-2.3.5, Repoman-2.3.1 app-emulation/kompose/Manifest | 1 + app-emulation/kompose/kompose-0.6.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 655749a39b4..e02d34f7d5d 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1 +1,2 @@ DIST kompose-0.5.0.tar.gz 4960733 SHA256 542828b5b5a231596bc50536322975fab3b49259052de4ad6115b099c01f2627 SHA512 11f3f6a5624fb67ab8be099d220647e8447290311167875efa7ad5a5058bd1401fd5def667ebde3b78eec8404eec81239764d3722e27c60fb55291c4371d36af WHIRLPOOL 50eb0cf5aee7aa2b3868af67d9e3de617ab8cd9ef6af6b1ec48bd772c9e01518e160f2a5b4994748fe474dddad143aac14c85c44a44f1aaf6638c181a6b54d30 +DIST kompose-0.6.0.tar.gz 4972911 SHA256 4e42dd2d247ab88382cc29ca9e180cf29e809f8112f533b5a2520c0adb547cdb SHA512 93c4e9864169cbc5f5aacf20db79063bdf97ae1d9ae5942928c36843f4837ddfe7adc4d9fab77ac2470fedfd8653e159f1f0a9a0721f2c2b1edd45dded8bf000 WHIRLPOOL 7360994fc717fe2613117cde7f9da07562b1895abbd49bafe95075a26891b951b484fea95433d0f295c173f4947a2006d3b22cd70c2b36eddba6306526635ee6 diff --git a/app-emulation/kompose/kompose-0.6.0.ebuild b/app-emulation/kompose/kompose-0.6.0.ebuild new file mode 100644 index 00000000000..e5c42b18aa1 --- /dev/null +++ b/app-emulation/kompose/kompose-0.6.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/kubernetes-incubator/kompose/..." +EGIT_COMMIT="v${PV}" +COMPOSE_COMMIT="ae4ef9e" +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" +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=${COMPOSE_COMMIT}" -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} +}