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 562A0138330 for ; Tue, 9 Jan 2018 19:27:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B87FE0B9A; Tue, 9 Jan 2018 19:27:50 +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 3B6CAE0B9A for ; Tue, 9 Jan 2018 19:27:48 +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 B4D0F335C3E for ; Tue, 9 Jan 2018 19:27:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 060011A7 for ; Tue, 9 Jan 2018 19:27:46 +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: <1515525999.451c4c5f763fa6540a593443ea04893f89d5af7b.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.7.0.ebuild X-VCS-Directories: app-emulation/kompose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 451c4c5f763fa6540a593443ea04893f89d5af7b X-VCS-Branch: master Date: Tue, 9 Jan 2018 19:27:46 +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: 5bd11014-3264-428b-9897-bd9058ba333e X-Archives-Hash: 7c9e17ed03a70169edf380c8f49b7925 commit: 451c4c5f763fa6540a593443ea04893f89d5af7b Author: Manuel Rüger gentoo org> AuthorDate: Tue Jan 9 19:26:39 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Jan 9 19:26:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451c4c5f app-emulation/kompose: Version bump to 1.7.0 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-emulation/kompose/Manifest | 1 + app-emulation/kompose/kompose-1.7.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 12f9dec9d76..b2ee35d8b76 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1,2 +1,3 @@ DIST kompose-1.5.0.tar.gz 5184512 BLAKE2B e9b1f7d778e0128add41218c5cef8dc4e0272e85d1345948b73c3529ff6d7e17b05e8a821812e3a5f12f076d5c6c0411fa50be86ebaac54a300b263f705d10a1 SHA512 2b366ed84b5368ab8c8921a989462931edf8f4fe751e3f0ee18f1d6fd6f5bce1534e962e92d7c0d3474ed1c87f8c40b8e2e4eb1d63892ac84a41be79e527a6a1 DIST kompose-1.6.0.tar.gz 5227025 BLAKE2B e24e5d142db7a1e55c8e2c05db2a7717a6bc178c3ed73ec2732fb10ae39c90dd2da41ce604fc590e8888ef1b92d5ba68821f66f54e2285d90c2bc9e3af3f1da0 SHA512 57e8b3530ad260d0ed6a679119c559f616c45d407db8929797dbf321e32917bc236ac41e1042f65aa8460026d54cb03180e8b8264dadb6fe05ec6d21293140a3 +DIST kompose-1.7.0.tar.gz 5230263 BLAKE2B c2e50ceadaa3f88b5d6a9c6fbca93a0a45a16fb4d208a9194578174d9b67697f70d52f8f7a517609b56acf0cb646a9ca4e9137e1a830646e1084c10aabfd1cc0 SHA512 bcda4d891cdc8a0e331aad3baca9e88be32d302ed1ab89a561874881ec9e1dd04f7158f9315ee59a49d4906cc9d08821a417ff04a8ebe9871edece842b2e85b9 diff --git a/app-emulation/kompose/kompose-1.7.0.ebuild b/app-emulation/kompose/kompose-1.7.0.ebuild new file mode 100644 index 00000000000..db671c77f93 --- /dev/null +++ b/app-emulation/kompose/kompose-1.7.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="767ab4b" +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} +}