diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-05-10 23:42:07 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-05-10 23:42:07 +0200 |
commit | 0ee1d5cb2fdbd941eca8c266bfde93cf1f3a7b2d (patch) | |
tree | b5eac4a24d4c5dcebf45ed0f3b2a32410f8eb39b /app-emulation/kompose | |
parent | sys-cluster/minikube: Remove old (diff) | |
download | gentoo-0ee1d5cb2fdbd941eca8c266bfde93cf1f3a7b2d.tar.gz gentoo-0ee1d5cb2fdbd941eca8c266bfde93cf1f3a7b2d.tar.bz2 gentoo-0ee1d5cb2fdbd941eca8c266bfde93cf1f3a7b2d.zip |
app-emulation/kompose: Version bump to 0.6.0
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'app-emulation/kompose')
-rw-r--r-- | app-emulation/kompose/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/kompose/kompose-0.6.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 655749a39b48..e02d34f7d5dd 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1 +1,2 @@ DIST kompose-0.5.0.tar.gz 4960733 SHA256 542828b5b5a231596bc50536322975fab3b49259052de4ad6115b099c01f2627 SHA512 11f3f6a5624fb67ab8be099d220647e8447290311167875efa7ad5a5058bd1401fd5def667ebde3b78eec8404eec81239764d3722e27c60fb55291c4371d36af WHIRLPOOL 50eb0cf5aee7aa2b3868af67d9e3de617ab8cd9ef6af6b1ec48bd772c9e01518e160f2a5b4994748fe474dddad143aac14c85c44a44f1aaf6638c181a6b54d30 +DIST kompose-0.6.0.tar.gz 4972911 SHA256 4e42dd2d247ab88382cc29ca9e180cf29e809f8112f533b5a2520c0adb547cdb SHA512 93c4e9864169cbc5f5aacf20db79063bdf97ae1d9ae5942928c36843f4837ddfe7adc4d9fab77ac2470fedfd8653e159f1f0a9a0721f2c2b1edd45dded8bf000 WHIRLPOOL 7360994fc717fe2613117cde7f9da07562b1895abbd49bafe95075a26891b951b484fea95433d0f295c173f4947a2006d3b22cd70c2b36eddba6306526635ee6 diff --git a/app-emulation/kompose/kompose-0.6.0.ebuild b/app-emulation/kompose/kompose-0.6.0.ebuild new file mode 100644 index 000000000000..e5c42b18aa1c --- /dev/null +++ b/app-emulation/kompose/kompose-0.6.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="ae4ef9e" +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" +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} +} |