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 EE6E31396D9 for ; Thu, 2 Nov 2017 10:43:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 660FEE079C; Thu, 2 Nov 2017 10:43:39 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43418E079C for ; Thu, 2 Nov 2017 10:43:39 +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 4677B33BF51 for ; Thu, 2 Nov 2017 10:43:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD24F923D for ; Thu, 2 Nov 2017 10:43:36 +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: <1509619396.bf72a067de6df13ef8e72e5ceef68982200f6d40.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-1.4.0.ebuild X-VCS-Directories: app-emulation/kompose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: bf72a067de6df13ef8e72e5ceef68982200f6d40 X-VCS-Branch: master Date: Thu, 2 Nov 2017 10:43:36 +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: 4b775e99-f78d-42ab-a759-9f21b63ff4b0 X-Archives-Hash: 27c97a5e9960f50d511b1e90b87501cf commit: bf72a067de6df13ef8e72e5ceef68982200f6d40 Author: Manuel Rüger gentoo org> AuthorDate: Thu Nov 2 10:42:06 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Nov 2 10:43:16 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf72a067 app-emulation/kompose: Version bump to 1.4.0 Package-Manager: Portage-2.3.12, Repoman-2.3.4 app-emulation/kompose/Manifest | 1 + app-emulation/kompose/kompose-1.4.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 49af3a2b6ae..a199707af8d 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1 +1,2 @@ DIST kompose-1.3.0.tar.gz 5166961 SHA256 c047708123b769d23cd8e68063b01b6229c5e76338ec294ba0e62a4b73ef46d8 SHA512 394cc35022d6c9f3e70cc8ff567f403fad84b54c71a0c7da856313162bf41223d7dff59abff372f7726404dec04283deb5e0c0960f966471f86607140eddb4d4 WHIRLPOOL e0300c3380e058351f6029ca158c1b8ba5a5c91fd5583dbad84dea7faff2f8f472fcb50eda9673d58c1711c7607d4abb2353fd957c18f4ffa4a5f90413a2c704 +DIST kompose-1.4.0.tar.gz 5183071 SHA256 29ea870886bac78850a6b7a864ece63b3f67ed769358193d5ea12c8b0d197f82 SHA512 49d18e0c82d6195752e786d71ec67a388e6c64244dbc0376a7a41b1d31791a833d7a392c19487129d4047d102f1ec423d1531b0626003958c3375f2a0bf22686 WHIRLPOOL 81bbe1ac7f9834dd62d15c6e21acbcf6aa0d057b25906224d954c4db1cb0e3cd2313f5d1c3c08673c70bdbd9a97d9a5c6c8bedb9fbfd717a91b68bd56639f762 diff --git a/app-emulation/kompose/kompose-1.4.0.ebuild b/app-emulation/kompose/kompose-1.4.0.ebuild new file mode 100644 index 00000000000..78305cc141c --- /dev/null +++ b/app-emulation/kompose/kompose-1.4.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/kompose" +EGIT_COMMIT="v${PV}" +COMPOSE_COMMIT="c7964e7" +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/kompose https://kompose.io" +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 -v -ldflags="-X github.com/kubernetes/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} +}