diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-02-14 20:57:32 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-02-14 20:58:10 +0100 |
commit | e20beb9537820c0bccb7834b13bc56574cb6896f (patch) | |
tree | 0c5e38f6de8e0927edc6a6cf645d2198a1177c66 /app-emulation | |
parent | net-misc/openvpn: fix bug 608244 (diff) | |
download | gentoo-e20beb9537820c0bccb7834b13bc56574cb6896f.tar.gz gentoo-e20beb9537820c0bccb7834b13bc56574cb6896f.tar.bz2 gentoo-e20beb9537820c0bccb7834b13bc56574cb6896f.zip |
app-emulation/kompose: Update snapshot to 0.2.0_p20170214
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/kompose/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/kompose/kompose-0.2.0_p20170214.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 47636d56b14f..75f210b81c28 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1 +1,2 @@ DIST kompose-0.1.2_p20161207.tar.gz 4931237 SHA256 d4e008f6b9e5086365bc2cfb9a0883026cb6e8bb925612e31dc2112498c10bc0 SHA512 6dc5b047fdc56e368508338975221644219b820d90960c726a601ac0c33e637a25e4c98cd3ec8438d5fe7c7e30bb554fa89c43805668f0189d1b59e0785d5361 WHIRLPOOL 6a96698a786b87309e334c5ab69681002e232118e64bdd5778fa42ef2f02b993459e6bc1b9e40c84c0a3b5398569b3dcd2ef01479f64ecda68b15cae96020fa6 +DIST kompose-0.2.0_p20170214.tar.gz 4928182 SHA256 437303c2f7b3c24182561e76cfa85102814f731fc7f5951933fe6c153c6b2e1b SHA512 dab013f861f4a185c0fdea3f4b79d33ff280f3c7ad77e150ce381770182ad77a37d8ccbadfe1f7bd13d50dc36a7087847d1636b6b411a21e0de43113be5b0183 WHIRLPOOL 581a6059bdb6286ca859e5a2f1e750a9ceaa3724ed9fee4092ac9283b2216629118437ccd0354ffebde95ac37b1591048f5972658a093b4aefc09bc8a02402f8 diff --git a/app-emulation/kompose/kompose-0.2.0_p20170214.ebuild b/app-emulation/kompose/kompose-0.2.0_p20170214.ebuild new file mode 100644 index 000000000000..30d5f9fc6c8f --- /dev/null +++ b/app-emulation/kompose/kompose-0.2.0_p20170214.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/kubernetes-incubator/kompose/..." +EGIT_COMMIT="d20a42e4472dbf519da01889c4b6b76b1352097f" +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=${EGIT_COMMIT:0:7}" -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} +} |