1 |
commit: a2a64da9501ac990d8166f7153fec7697309097b |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 25 18:52:25 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 25 18:52:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a64da9 |
7 |
|
8 |
app-emulation/kompose: Version bump to 1.8.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-emulation/kompose/Manifest | 1 + |
13 |
app-emulation/kompose/kompose-1.8.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest |
17 |
index aaf8e95a647..765158cae96 100644 |
18 |
--- a/app-emulation/kompose/Manifest |
19 |
+++ b/app-emulation/kompose/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST kompose-1.6.0.tar.gz 5227025 BLAKE2B e24e5d142db7a1e55c8e2c05db2a7717a6bc178c3ed73ec2732fb10ae39c90dd2da41ce604fc590e8888ef1b92d5ba68821f66f54e2285d90c2bc9e3af3f1da0 SHA512 57e8b3530ad260d0ed6a679119c559f616c45d407db8929797dbf321e32917bc236ac41e1042f65aa8460026d54cb03180e8b8264dadb6fe05ec6d21293140a3 |
22 |
DIST kompose-1.7.0.tar.gz 5230263 BLAKE2B c2e50ceadaa3f88b5d6a9c6fbca93a0a45a16fb4d208a9194578174d9b67697f70d52f8f7a517609b56acf0cb646a9ca4e9137e1a830646e1084c10aabfd1cc0 SHA512 bcda4d891cdc8a0e331aad3baca9e88be32d302ed1ab89a561874881ec9e1dd04f7158f9315ee59a49d4906cc9d08821a417ff04a8ebe9871edece842b2e85b9 |
23 |
+DIST kompose-1.8.0.tar.gz 5230179 BLAKE2B 47f2770eb527bb3b40e1734f9e5173ce4de55ef55460f624dcb22374d94d4a4ae650d82db6508dd0e441535c03da8a0f61d7600425e44604b580ecff493ba987 SHA512 4e618f9e9adc65abd2be503dd28b6d7761945a99788e910cc072d04b6088e953152f9354fe168fe7bf22252f698b957e2cc23440d242bed62c4b7415dc513e33 |
24 |
|
25 |
diff --git a/app-emulation/kompose/kompose-1.8.0.ebuild b/app-emulation/kompose/kompose-1.8.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..402f0a13667 |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/kompose/kompose-1.8.0.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+inherit golang-build golang-vcs-snapshot |
36 |
+ |
37 |
+EGO_PN="github.com/kubernetes/kompose" |
38 |
+EGIT_COMMIT="v${PV}" |
39 |
+KOMPOSE_COMMIT="0c0c027" |
40 |
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
41 |
+KEYWORDS="~amd64" |
42 |
+ |
43 |
+DESCRIPTION="Tool to move from docker-compose to Kubernetes" |
44 |
+HOMEPAGE="https://github.com/kubernetes/kompose https://kompose.io" |
45 |
+SRC_URI="${ARCHIVE_URI}" |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+IUSE="hardened" |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+src_compile() { |
53 |
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" |
54 |
+ GOPATH="${S}" go build -v -ldflags="-X github.com/kubernetes/kompose/cmd.GITCOMMIT=${COMPOSE_KOMMIT}" -o bin/kompose src/${EGO_PN}/main.go || die |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ dobin bin/* |
59 |
+ dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md} |
60 |
+} |