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 1B68D1382C5 for ; Wed, 14 Feb 2018 22:56:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7E15E0901; Wed, 14 Feb 2018 22:56:31 +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 B5407E0901 for ; Wed, 14 Feb 2018 22:56:31 +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 5BC33335C06 for ; Wed, 14 Feb 2018 22:56:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CEA6211 for ; Wed, 14 Feb 2018 22:56:28 +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: <1518648967.d7873cf5e70c23575890c50c7d199c187ace24a0.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.9.0.ebuild X-VCS-Directories: app-emulation/kompose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: d7873cf5e70c23575890c50c7d199c187ace24a0 X-VCS-Branch: master Date: Wed, 14 Feb 2018 22:56:28 +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: d421524c-3a84-418c-8ddc-dcffd8494976 X-Archives-Hash: 809d4e62f2a57f66dd55930b554bf895 commit: d7873cf5e70c23575890c50c7d199c187ace24a0 Author: Manuel Rüger gentoo org> AuthorDate: Wed Feb 14 22:56:07 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Wed Feb 14 22:56:07 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7873cf5 app-emulation/kompose: Remove old Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-emulation/kompose/Manifest | 1 + app-emulation/kompose/kompose-1.9.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index a949ae39618..190202b8918 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1,2 +1,3 @@ DIST kompose-1.7.0.tar.gz 5230263 BLAKE2B c2e50ceadaa3f88b5d6a9c6fbca93a0a45a16fb4d208a9194578174d9b67697f70d52f8f7a517609b56acf0cb646a9ca4e9137e1a830646e1084c10aabfd1cc0 SHA512 bcda4d891cdc8a0e331aad3baca9e88be32d302ed1ab89a561874881ec9e1dd04f7158f9315ee59a49d4906cc9d08821a417ff04a8ebe9871edece842b2e85b9 DIST kompose-1.8.0.tar.gz 5230179 BLAKE2B 47f2770eb527bb3b40e1734f9e5173ce4de55ef55460f624dcb22374d94d4a4ae650d82db6508dd0e441535c03da8a0f61d7600425e44604b580ecff493ba987 SHA512 4e618f9e9adc65abd2be503dd28b6d7761945a99788e910cc072d04b6088e953152f9354fe168fe7bf22252f698b957e2cc23440d242bed62c4b7415dc513e33 +DIST kompose-1.9.0.tar.gz 5229558 BLAKE2B 41c168dea0311ea4663b4056ec10a0a446f0c714a0d32cb6e75d4cb680335acb31d164d390fbde487856c268fb671a7d2e4238de2a542fd54e64e9c3ce693d41 SHA512 72d575bb79fea88de54740ed7a4809b68781b3473431c2c11213a32b9ff3dc9340ef49ea8009ff6f7f16dce8f36565a91b8c28ab45bc860d53075f42f3fde66b diff --git a/app-emulation/kompose/kompose-1.9.0.ebuild b/app-emulation/kompose/kompose-1.9.0.ebuild new file mode 100644 index 00000000000..e1e0a9633e6 --- /dev/null +++ b/app-emulation/kompose/kompose-1.9.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 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}" +KOMPOSE_COMMIT="093c756" +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_KOMMIT}" -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} +}