diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-22 14:25:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-22 14:25:03 +0100 |
commit | 5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (patch) | |
tree | b041acef19bb9ae66c228d5c9d34d1e00aeb2b95 /app-emulation/kompose | |
parent | 5cfef3c94cd7e82136c69a0322f5ba21f7e64632 (diff) |
gentoo resync : 22.04.2018
Diffstat (limited to 'app-emulation/kompose')
-rw-r--r-- | app-emulation/kompose/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/kompose/kompose-1.12.0.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 02ec4a6e1282..20b2882e5765 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1,5 +1,7 @@ DIST kompose-1.10.0.tar.gz 5232838 BLAKE2B 145938e68ede3f956cf0a2c08066ec49257527357c1c032d265b39fc00f4c07da26fcc90f1e8999a755345715332dfb5f6df82f15e817c8460f2c9038ebbc1a5 SHA512 578348c5907344b47bac17b9d6a9d8c4ba5cce9fbe72ad3b65af60dcfb985bd39ee2973308dbfa45d4bd78467fa330621c16624cc7d92287b943ac02d0ae3e45 DIST kompose-1.11.0.tar.gz 5233209 BLAKE2B 335281a1d311a41ef288236bc6796c2f8a70c7dfb7fc131f8baaaa845597f24c3e8200a67fad0d893f8f0da6f21c0eb6fc7fd416634e78cdd0212390ae814f26 SHA512 635297df08a6af107949bd39d3f8fb1a00eb1c1b7584b1f1e451a291df657709fb0998d155d6f4a6c12e3b716a7a8194eac57f654d8ad3f8f8f9b91011398aaa +DIST kompose-1.12.0.tar.gz 5234150 BLAKE2B 0b046cc2fb9420a69bb8a2d82a7c4f8a62db74acfaa9cdc5dc16b3710cda7c03fb43651bdd1e43281502f4aa181b50168120375a7f0e298a1ba018ddb94cd43a SHA512 5467b8fa54fe9368f1f1627c04e4edab597822b7b2c3c101510379cceac8ca92e24540b81b82e947244b1b4056e2b1a5806220b38bbe5db5965c3f7aeff908ef EBUILD kompose-1.10.0.ebuild 889 BLAKE2B 2585d8d8f56f0e83512947d0808ce46bb61541d30bc426a661567730cba76bebc8e25d2222320aa889945ed18935230e41ad041106496b9d2a7ad8afea09dea7 SHA512 adb04fe9f1f4375e08bfe42c701714f59d37dbe32dd956856744d12abca9c60209241f91e4669fa14842596582fa0a3bf078500ee464ee1a475e94f328fcfb74 EBUILD kompose-1.11.0.ebuild 889 BLAKE2B e0d58366ebb6005bcdc82e2e49067316371239c0bd6de9b19660e033fa716d0c47f70336de8067efdce69eb4016cb7a5be0565268eeb3d9f85b9b933a3db04b9 SHA512 fa2668c00534c1bed68f67f3d92bc78dee1299af163d2e76e4fc778a4c414be04c5faf73c29aa808a107a6126aa26131bce4b6a9dd82ffb578d5f65b85510668 +EBUILD kompose-1.12.0.ebuild 881 BLAKE2B 3f99cc757fdb901949f80216fca45c9de83fa3b54f0637055bc7d1670541cd85ed1e25244f9325e017470cf0f82edafc28ef4e2e9e3e9365c5eb5b6284768d0a SHA512 01e2b22e197dd52e7e3ad8c240150782d6de59d41da8cfb7d98aba2698a62c127a2fe837115cdb2ff5cea92f25b8e6e386bc5dfce1d6e95cb3d651887cddd73a MISC metadata.xml 328 BLAKE2B ad1e8cb1083ed13de1f3f341fdbe9bba7ba3ab4364c8c36c9e3b63f63688da6926fc6bebc9f72aada52dfac1a4834b11cb27eee04aaaae484192b8ed74214aa6 SHA512 e2091ec84a909ad6c2453bd832817461e39b7c355c28bd99c19d9e85dc4a621606c34066f596a68585c3762b6b156455ca012495c5c336b9ba929d163b923042 diff --git a/app-emulation/kompose/kompose-1.12.0.ebuild b/app-emulation/kompose/kompose-1.12.0.ebuild new file mode 100644 index 000000000000..b2b9a62edf3b --- /dev/null +++ b/app-emulation/kompose/kompose-1.12.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="0ab07be" +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} +} |