1 |
commit: 7530faf51c1e11e586ad282456a46b0f5dcda975 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 2 14:56:43 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 2 14:56:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7530faf5 |
7 |
|
8 |
app-emulation/kompose: Version bump to 1.15.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
app-emulation/kompose/Manifest | 1 + |
13 |
app-emulation/kompose/kompose-1.15.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 b5d6973213e..ddd3ef5d667 100644 |
18 |
--- a/app-emulation/kompose/Manifest |
19 |
+++ b/app-emulation/kompose/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST kompose-1.13.0.tar.gz 5238799 BLAKE2B 8f51d9c4b162104636578b5b6b044060997d7c8fbd8a58fdf42d8db1e5fbce51cbfd2e010e84e80707462edc29603da3a6ac729f95873f2c84b7a43baeac8284 SHA512 6ec870f03762bde138e2c22e9b8a85a1e974897f3857f096e1fcd56bd402d1f3379936752b075ee57497e5d4f1c7c7d0c82b09d6c4e90860cc04aee434123419 |
22 |
DIST kompose-1.14.0.tar.gz 5238716 BLAKE2B 27c054b58d2804fcb37627652d2d48ff377504203f9319c4321fcba08e9c8dd9c41f307ff599de3b65ae9a177370322d63314b70e5cb80edf1ce071eeaf15e24 SHA512 f356f2f38c99f0ca9d8f58a4dfa171ba0c41b3127b66ab887484c3bbc76b66470fbe8f52ca3eeba700b57a86e0ff264066ee92645f71a93bfe77077655f81e97 |
23 |
+DIST kompose-1.15.0.tar.gz 5239685 BLAKE2B fed8d978584e6f8006eac44c732476745520d28c83b122613baee24aba71723446c269b6e60197e0eec5f4e3cf481ed38756fb7c2c8840d3f885b9a790529f73 SHA512 55296b1227324e77c5febbb9a3701c8548049e8fb22b97c86e6a936024b00dcc55b7bc101469783656fdc05fdd72f8ba2282b3619e75e0f04ebe0d2446c1e245 |
24 |
|
25 |
diff --git a/app-emulation/kompose/kompose-1.15.0.ebuild b/app-emulation/kompose/kompose-1.15.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fdd2f4718dc |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/kompose/kompose-1.15.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 |
+GIT_COMMIT="e3cd4d459e62697f15a6a655bf17269adfb3cf23" |
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=${GIT_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 |
+} |