diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-04-11 16:59:09 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-04-11 16:59:09 +0200 |
commit | 623b8d5671c4294d56c16b621c02c0b37f4d6c2a (patch) | |
tree | 663e891a05fcd3b0f8966add130bc93281294822 /app-emulation | |
parent | sys-cluster/kubectl: Version bump to 1.6.1 (diff) | |
download | gentoo-623b8d5671c4294d56c16b621c02c0b37f4d6c2a.tar.gz gentoo-623b8d5671c4294d56c16b621c02c0b37f4d6c2a.tar.bz2 gentoo-623b8d5671c4294d56c16b621c02c0b37f4d6c2a.zip |
app-emulation/kompose: Version bump to 0.5.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/kompose/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/kompose/kompose-0.5.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 1513ee4aa7db..279d818aa0f6 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 000000000000..f6ee3479e521 --- /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} +} |