diff options
Diffstat (limited to 'app-emulation/kompose')
-rw-r--r-- | app-emulation/kompose/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/kompose/kompose-1.4.0.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest index 9570deb77e9f..1e876a5ea664 100644 --- a/app-emulation/kompose/Manifest +++ b/app-emulation/kompose/Manifest @@ -1,4 +1,6 @@ DIST kompose-1.3.0.tar.gz 5166961 SHA256 c047708123b769d23cd8e68063b01b6229c5e76338ec294ba0e62a4b73ef46d8 SHA512 394cc35022d6c9f3e70cc8ff567f403fad84b54c71a0c7da856313162bf41223d7dff59abff372f7726404dec04283deb5e0c0960f966471f86607140eddb4d4 WHIRLPOOL e0300c3380e058351f6029ca158c1b8ba5a5c91fd5583dbad84dea7faff2f8f472fcb50eda9673d58c1711c7607d4abb2353fd957c18f4ffa4a5f90413a2c704 +DIST kompose-1.4.0.tar.gz 5183071 SHA256 29ea870886bac78850a6b7a864ece63b3f67ed769358193d5ea12c8b0d197f82 SHA512 49d18e0c82d6195752e786d71ec67a388e6c64244dbc0376a7a41b1d31791a833d7a392c19487129d4047d102f1ec423d1531b0626003958c3375f2a0bf22686 WHIRLPOOL 81bbe1ac7f9834dd62d15c6e21acbcf6aa0d057b25906224d954c4db1cb0e3cd2313f5d1c3c08673c70bdbd9a97d9a5c6c8bedb9fbfd717a91b68bd56639f762 EBUILD kompose-1.3.0.ebuild 886 SHA256 1ae3c029d3b1d1fde1055474cecbc2e0099e7439a7f82a305e92552f2f63c834 SHA512 824599363b466e73ecdfc4ce9877e16b788c1650e330b8173203e047225ed0882c17f855e069d86447482fffa7d374b9d25f826c6f32ce61f75dfc1bf90d836a WHIRLPOOL 11593a0e0958a122b95dfba29148e00258d5056e876d5b08f58d07e8579e7c78df82c658f997f75f3b7946dc8feead9b6d18991ad31134c5a47575c67d1062a4 +EBUILD kompose-1.4.0.ebuild 889 SHA256 f5bf98607728f7ba7427c8745fa79c34825a283ace9f876d0ae5ffa83988108b SHA512 5010ab56cc77f0490ae10901ae24ee10fb66cf3e0c1a6c5e25a35e77b3603e3146b627ce81b29de80403771ef83159770ad6a308a6939198cccf38ad6529beae WHIRLPOOL ab1951fac3400eeaa88944ce17a1319fc531dda60daab84a1abe98523885eb300b66ea8ac1cd7bf4cd72ef10a0b45d0444fe7ab23e9babf47a0ae368bb5eba1d MISC ChangeLog 347 SHA256 d0790ddd06a0fb4b66cbd8218e5133b48d83123901779f34374d13cb9c2774d6 SHA512 994657458b7bca0bf26b7d6c540005ce11555537257d6411896bc6794f2795c96fde797ad2981d74b82003b69326146408690fd0138c609d2d6c0fe123437e36 WHIRLPOOL d246419da647e361abd42ac0cbc70888debfa4713ff8dfaadd7936af2491a044d8624799673b7069452172de2bc5bbc41b909044c80563f3c26bfb411f78dd33 MISC metadata.xml 328 SHA256 784cc118763cc0c5f4c0d3d0f4ac7ee72162fa1560538ba9d6490da5edc3ac22 SHA512 e2091ec84a909ad6c2453bd832817461e39b7c355c28bd99c19d9e85dc4a621606c34066f596a68585c3762b6b156455ca012495c5c336b9ba929d163b923042 WHIRLPOOL c20bd37669f25c96efef1a8dc03c4d79abb7e05fe86d48354c192293c258efcc3bbee4342cf4c576a872ac41e8aded91590a06466e3bed875c4e77dba785838d diff --git a/app-emulation/kompose/kompose-1.4.0.ebuild b/app-emulation/kompose/kompose-1.4.0.ebuild new file mode 100644 index 000000000000..78305cc141cb --- /dev/null +++ b/app-emulation/kompose/kompose-1.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 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}" +COMPOSE_COMMIT="c7964e7" +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=${COMPOSE_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} +} |