diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-07-02 16:56:43 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-07-02 16:56:43 +0200 |
commit | 7530faf51c1e11e586ad282456a46b0f5dcda975 (patch) | |
tree | 407db16af8637b4705fcdd185ab0f6b0c1280395 /app-emulation/kompose | |
parent | sys-cluster/kubectl: Remove old (diff) | |
download | gentoo-7530faf51c1e11e586ad282456a46b0f5dcda975.tar.gz gentoo-7530faf51c1e11e586ad282456a46b0f5dcda975.tar.bz2 gentoo-7530faf51c1e11e586ad282456a46b0f5dcda975.zip |
app-emulation/kompose: Version bump to 1.15.0
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'app-emulation/kompose')
-rw-r--r-- | app-emulation/kompose/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/kompose/kompose-1.15.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index b5d6973213e3..ddd3ef5d6675 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1,2 +1,3 @@ DIST kompose-1.13.0.tar.gz 5238799 BLAKE2B 8f51d9c4b162104636578b5b6b044060997d7c8fbd8a58fdf42d8db1e5fbce51cbfd2e010e84e80707462edc29603da3a6ac729f95873f2c84b7a43baeac8284 SHA512 6ec870f03762bde138e2c22e9b8a85a1e974897f3857f096e1fcd56bd402d1f3379936752b075ee57497e5d4f1c7c7d0c82b09d6c4e90860cc04aee434123419 DIST kompose-1.14.0.tar.gz 5238716 BLAKE2B 27c054b58d2804fcb37627652d2d48ff377504203f9319c4321fcba08e9c8dd9c41f307ff599de3b65ae9a177370322d63314b70e5cb80edf1ce071eeaf15e24 SHA512 f356f2f38c99f0ca9d8f58a4dfa171ba0c41b3127b66ab887484c3bbc76b66470fbe8f52ca3eeba700b57a86e0ff264066ee92645f71a93bfe77077655f81e97 +DIST kompose-1.15.0.tar.gz 5239685 BLAKE2B fed8d978584e6f8006eac44c732476745520d28c83b122613baee24aba71723446c269b6e60197e0eec5f4e3cf481ed38756fb7c2c8840d3f885b9a790529f73 SHA512 55296b1227324e77c5febbb9a3701c8548049e8fb22b97c86e6a936024b00dcc55b7bc101469783656fdc05fdd72f8ba2282b3619e75e0f04ebe0d2446c1e245 diff --git a/app-emulation/kompose/kompose-1.15.0.ebuild b/app-emulation/kompose/kompose-1.15.0.ebuild new file mode 100644 index 000000000000..fdd2f4718dcc --- /dev/null +++ b/app-emulation/kompose/kompose-1.15.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/kubernetes/kompose" +EGIT_COMMIT="v${PV}" +GIT_COMMIT="e3cd4d459e62697f15a6a655bf17269adfb3cf23" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Tool to move from docker-compose to Kubernetes" +HOMEPAGE="https://github.com/kubernetes/kompose https://kompose.io" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="hardened" + +RESTRICT="test" + +src_compile() { + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" + GOPATH="${S}" go build -v -ldflags="-X github.com/kubernetes/kompose/cmd.GITCOMMIT=${GIT_COMMIT}" -o bin/kompose src/${EGO_PN}/main.go || die +} + +src_install() { + dobin bin/* + dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md} +} |