diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-10-12 14:08:21 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-10-12 14:08:21 +0200 |
commit | f195eb2b4d210e4764732789a1e35850bfcb0510 (patch) | |
tree | a9b9babe2ff1097aae32feb722c6dcf569816e47 /app-emulation/kompose | |
parent | dev-util/gource: remove 0.44 and 0.46 (diff) | |
download | gentoo-f195eb2b4d210e4764732789a1e35850bfcb0510.tar.gz gentoo-f195eb2b4d210e4764732789a1e35850bfcb0510.tar.bz2 gentoo-f195eb2b4d210e4764732789a1e35850bfcb0510.zip |
app-emulation/kompose: Version bump to 1.3.0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'app-emulation/kompose')
-rw-r--r-- | app-emulation/kompose/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/kompose/kompose-1.3.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 7c0f2b254c0c..6fc39624618c 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1,2 +1,3 @@ DIST kompose-1.1.0.tar.gz 5090229 SHA256 912c6f1e1e609372e355237604cb8915d7b8b47147a3230c35ac5d9c2615eef3 SHA512 4082644a8bbe2ad23555e4d1ab72cc10f6e4cd70af3d654ee337bf344e3044b477577097886259944067959cbffc9be34140ac735c3f58f70a58ea18958fadab WHIRLPOOL 207910b2b624ad8314cad30f2759b3e0a67277623db1198c0f9db1678624ecde77b5d6cbe04de075efe4b0dc8adf216e44fe4838c18728617f95c2e0c2e70b6e DIST kompose-1.2.0.tar.gz 5091229 SHA256 9fb15d30c6e33025237801f401d6b57b164a142f205d48b1574edf1f9aa92434 SHA512 a01ee5366d748ddc3a21ffb31048759408968c0c51ab756b65ae4d02ae6a03041b94a23ae90e15765366c5947956d4e8e9a129ef5bf6cd74e586c6fad5ba5434 WHIRLPOOL 84dbbc9c1339e4838382fe6c23b8330866ea1a9370de93a0d5653093da454674f40471074740b4f23f61dedac2e5c2798299e2ad2800a8b3a2c2b25dd5bf8940 +DIST kompose-1.3.0.tar.gz 5166961 SHA256 c047708123b769d23cd8e68063b01b6229c5e76338ec294ba0e62a4b73ef46d8 SHA512 394cc35022d6c9f3e70cc8ff567f403fad84b54c71a0c7da856313162bf41223d7dff59abff372f7726404dec04283deb5e0c0960f966471f86607140eddb4d4 WHIRLPOOL e0300c3380e058351f6029ca158c1b8ba5a5c91fd5583dbad84dea7faff2f8f472fcb50eda9673d58c1711c7607d4abb2353fd957c18f4ffa4a5f90413a2c704 diff --git a/app-emulation/kompose/kompose-1.3.0.ebuild b/app-emulation/kompose/kompose-1.3.0.ebuild new file mode 100644 index 000000000000..11fd6fc9e7e1 --- /dev/null +++ b/app-emulation/kompose/kompose-1.3.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/kompose" +EGIT_COMMIT="v${PV}" +COMPOSE_COMMIT="99f88ef" +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 -ldflags="-X github.com/kubernetes/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} +} |