1 |
commit: a8e3c60992ffabd2d6e0859b1b435e63879447d3 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 8 21:53:30 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 8 21:53:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e3c609 |
7 |
|
8 |
app-emulation/kompose: Version bump to 1.1.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.2 |
11 |
|
12 |
app-emulation/kompose/Manifest | 1 + |
13 |
app-emulation/kompose/kompose-1.1.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 06f2cb02296..d8e19eb86dc 100644 |
18 |
--- a/app-emulation/kompose/Manifest |
19 |
+++ b/app-emulation/kompose/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST kompose-0.7.0.tar.gz 4980909 SHA256 6b649e91494e57ffd6c6f1d6150072d4c5589d75568172a8f3a0d6cbd7322599 SHA512 a0e8b16221ff25ca5a219646a06dd9254a87c76d5477c5a6c175e782625eb02e41c720278ec409e10f82e8c278ecd941a3d3d49b4220602fec2d3715dbf5e2a7 WHIRLPOOL 460ac6a5c3f25682ec968fef01b72c0b39a8e04cc3d3643f639010e642813a708ea6e91a74dc6d089d90aba6cece6574b83a6b515d2c11bdf9afab34491567f6 |
22 |
DIST kompose-1.0.0.tar.gz 5071108 SHA256 b9c9bfc9f25c67cf7d8d8b76467487255f9882fca563f8e9ef990f647cd2406e SHA512 719b16467b1448d65319d2281a0d641342861c23e10bca204d698c7ae9ad139bee391cc5e17050bdd407b4a982aa55a3db21482225f4370976b1b5ca7fa97bdb WHIRLPOOL 35437e8a9e5ed48f7d397a79496be6dec4b62e00770453103f1746778e7df1969dd76adb81a7a029da4beb20277cff48dfa3d83c9e8bd24b902d195f5f9a9b04 |
23 |
+DIST kompose-1.1.0.tar.gz 5090229 SHA256 912c6f1e1e609372e355237604cb8915d7b8b47147a3230c35ac5d9c2615eef3 SHA512 4082644a8bbe2ad23555e4d1ab72cc10f6e4cd70af3d654ee337bf344e3044b477577097886259944067959cbffc9be34140ac735c3f58f70a58ea18958fadab WHIRLPOOL 207910b2b624ad8314cad30f2759b3e0a67277623db1198c0f9db1678624ecde77b5d6cbe04de075efe4b0dc8adf216e44fe4838c18728617f95c2e0c2e70b6e |
24 |
|
25 |
diff --git a/app-emulation/kompose/kompose-1.1.0.ebuild b/app-emulation/kompose/kompose-1.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..157993de5eb |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/kompose/kompose-1.1.0.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2017 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 |
+COMPOSE_COMMIT="36652f6" |
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 -ldflags="-X github.com/kubernetes/kompose/cmd.GITCOMMIT=${COMPOSE_COMMIT}" -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 |
+} |