Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/kompose/
Date: Mon, 30 Jul 2018 13:04:36
Message-Id: 1532955847.7edd41a29f98c0bbd18c0af296129ec214a3bd2e.mrueg@gentoo
1 commit: 7edd41a29f98c0bbd18c0af296129ec214a3bd2e
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 30 13:04:07 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 30 13:04:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7edd41a2
7
8 app-emulation/kompose: Version bump to 1.16.0
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 app-emulation/kompose/Manifest | 1 +
13 app-emulation/kompose/kompose-1.16.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 ddd3ef5d667..dbe2bd6f7d0 100644
18 --- a/app-emulation/kompose/Manifest
19 +++ b/app-emulation/kompose/Manifest
20 @@ -1,3 +1,4 @@
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 +DIST kompose-1.16.0.tar.gz 5241785 BLAKE2B 9958b200827b70c94a499981880cc7a5d8137354205d96657d854aefebbd877e332ac3047f59e13b62dd6b9a9235d1ed83bb8b8de973d59f81906b3f376176a0 SHA512 267601ba51f5cfcbb95b9fbf52bbb99f9c810de8edb301b635a50936d7a714dc8410352ff3a4aa8819de1659a45cbb42caf5e552023cfa594a0eb8e99db57522
25
26 diff --git a/app-emulation/kompose/kompose-1.16.0.ebuild b/app-emulation/kompose/kompose-1.16.0.ebuild
27 new file mode 100644
28 index 00000000000..8804d097f4e
29 --- /dev/null
30 +++ b/app-emulation/kompose/kompose-1.16.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 +GIT_COMMIT="0c01309fe899c587e8cb02e9c31196ee66ab5093"
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=${GIT_COMMIT}" -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 +}