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 5519F139083 for ; Tue, 11 Apr 2017 14:59:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B38B221C054; Tue, 11 Apr 2017 14:59:25 +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 82EA121C054 for ; Tue, 11 Apr 2017 14:59:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 825C8341586 for ; Tue, 11 Apr 2017 14:59:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 243B11B9B for ; Tue, 11 Apr 2017 14:59:23 +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: <1491922749.623b8d5671c4294d56c16b621c02c0b37f4d6c2a.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.5.0.ebuild X-VCS-Directories: app-emulation/kompose/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 623b8d5671c4294d56c16b621c02c0b37f4d6c2a X-VCS-Branch: master Date: Tue, 11 Apr 2017 14:59:23 +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: 7296963c-b354-4865-b490-fb8faf09212f X-Archives-Hash: a632f64604f96dad047ecbe965f1701c commit: 623b8d5671c4294d56c16b621c02c0b37f4d6c2a Author: Manuel Rüger gentoo org> AuthorDate: Tue Apr 11 14:59:09 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Apr 11 14:59:09 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623b8d56 app-emulation/kompose: Version bump to 0.5.0 Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-emulation/kompose/Manifest | 1 + app-emulation/kompose/kompose-0.5.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 1513ee4aa7d..279d818aa0f 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1,2 +1,3 @@ DIST kompose-0.2.0_p20170214.tar.gz 4928182 SHA256 437303c2f7b3c24182561e76cfa85102814f731fc7f5951933fe6c153c6b2e1b SHA512 dab013f861f4a185c0fdea3f4b79d33ff280f3c7ad77e150ce381770182ad77a37d8ccbadfe1f7bd13d50dc36a7087847d1636b6b411a21e0de43113be5b0183 WHIRLPOOL 581a6059bdb6286ca859e5a2f1e750a9ceaa3724ed9fee4092ac9283b2216629118437ccd0354ffebde95ac37b1591048f5972658a093b4aefc09bc8a02402f8 DIST kompose-0.3.0.tar.gz 4928611 SHA256 047e5367856f07338515eea43fb213e08fdde79333250e4cc85251e80251c928 SHA512 094d0093d6cf480d8c757f5f2d82719eaaf0c6c1b33140d45fcb2ff7b129e9cada0660a3faf26b13e877b05897920e00ddf8b451dfc91042f7f6bb72a4a24618 WHIRLPOOL dba40efcfdd6d22a9112c078be47f159fde4de9ac43bf04f72c5006add523a67c13487c0da9168feab0c8c9f84abe3865914239008d87172df86b3654b21935d +DIST kompose-0.5.0.tar.gz 4960733 SHA256 542828b5b5a231596bc50536322975fab3b49259052de4ad6115b099c01f2627 SHA512 11f3f6a5624fb67ab8be099d220647e8447290311167875efa7ad5a5058bd1401fd5def667ebde3b78eec8404eec81239764d3722e27c60fb55291c4371d36af WHIRLPOOL 50eb0cf5aee7aa2b3868af67d9e3de617ab8cd9ef6af6b1ec48bd772c9e01518e160f2a5b4994748fe474dddad143aac14c85c44a44f1aaf6638c181a6b54d30 diff --git a/app-emulation/kompose/kompose-0.5.0.ebuild b/app-emulation/kompose/kompose-0.5.0.ebuild new file mode 100644 index 00000000000..f6ee3479e52 --- /dev/null +++ b/app-emulation/kompose/kompose-0.5.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="c01bcce" +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" + +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} +}