1 |
commit: 46670225420a09163dd29ceab493ec7c082abc94 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 27 08:22:27 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 27 08:22:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46670225 |
7 |
|
8 |
app-emulation/kompose: Version bump to 1.11.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
app-emulation/kompose/Manifest | 1 + |
13 |
app-emulation/kompose/kompose-1.11.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 d3d199b437e..f5268208c93 100644 |
18 |
--- a/app-emulation/kompose/Manifest |
19 |
+++ b/app-emulation/kompose/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST kompose-1.10.0.tar.gz 5232838 BLAKE2B 145938e68ede3f956cf0a2c08066ec49257527357c1c032d265b39fc00f4c07da26fcc90f1e8999a755345715332dfb5f6df82f15e817c8460f2c9038ebbc1a5 SHA512 578348c5907344b47bac17b9d6a9d8c4ba5cce9fbe72ad3b65af60dcfb985bd39ee2973308dbfa45d4bd78467fa330621c16624cc7d92287b943ac02d0ae3e45 |
22 |
+DIST kompose-1.11.0.tar.gz 5233209 BLAKE2B 335281a1d311a41ef288236bc6796c2f8a70c7dfb7fc131f8baaaa845597f24c3e8200a67fad0d893f8f0da6f21c0eb6fc7fd416634e78cdd0212390ae814f26 SHA512 635297df08a6af107949bd39d3f8fb1a00eb1c1b7584b1f1e451a291df657709fb0998d155d6f4a6c12e3b716a7a8194eac57f654d8ad3f8f8f9b91011398aaa |
23 |
DIST kompose-1.8.0.tar.gz 5230179 BLAKE2B 47f2770eb527bb3b40e1734f9e5173ce4de55ef55460f624dcb22374d94d4a4ae650d82db6508dd0e441535c03da8a0f61d7600425e44604b580ecff493ba987 SHA512 4e618f9e9adc65abd2be503dd28b6d7761945a99788e910cc072d04b6088e953152f9354fe168fe7bf22252f698b957e2cc23440d242bed62c4b7415dc513e33 |
24 |
DIST kompose-1.9.0.tar.gz 5229558 BLAKE2B 41c168dea0311ea4663b4056ec10a0a446f0c714a0d32cb6e75d4cb680335acb31d164d390fbde487856c268fb671a7d2e4238de2a542fd54e64e9c3ce693d41 SHA512 72d575bb79fea88de54740ed7a4809b68781b3473431c2c11213a32b9ff3dc9340ef49ea8009ff6f7f16dce8f36565a91b8c28ab45bc860d53075f42f3fde66b |
25 |
|
26 |
diff --git a/app-emulation/kompose/kompose-1.11.0.ebuild b/app-emulation/kompose/kompose-1.11.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..7d65e15046a |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/kompose/kompose-1.11.0.ebuild |
31 |
@@ -0,0 +1,30 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit golang-build golang-vcs-snapshot |
37 |
+ |
38 |
+EGO_PN="github.com/kubernetes/kompose" |
39 |
+EGIT_COMMIT="v${PV}" |
40 |
+KOMPOSE_COMMIT="39ad614" |
41 |
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
42 |
+KEYWORDS="~amd64" |
43 |
+ |
44 |
+DESCRIPTION="Tool to move from docker-compose to Kubernetes" |
45 |
+HOMEPAGE="https://github.com/kubernetes/kompose https://kompose.io" |
46 |
+SRC_URI="${ARCHIVE_URI}" |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+IUSE="hardened" |
50 |
+ |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+src_compile() { |
54 |
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" |
55 |
+ GOPATH="${S}" go build -v -ldflags="-X github.com/kubernetes/kompose/cmd.GITCOMMIT=${COMPOSE_KOMMIT}" -o bin/kompose src/${EGO_PN}/main.go || die |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dobin bin/* |
60 |
+ dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md} |
61 |
+} |