forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emulation/kompose: Version bump to 1.6.0
Package-Manager: Portage-2.3.18, Repoman-2.3.6
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST kompose-1.3.0.tar.gz 5166961 BLAKE2B e0ca1645ada0f423b01611e7c2b204b18b3b24d4709eea1ffc5e1092570c5ca3d3c609af5aa157a88fb987f65133be768e2965f272c23be6bc648bb3f62885ec SHA512 394cc35022d6c9f3e70cc8ff567f403fad84b54c71a0c7da856313162bf41223d7dff59abff372f7726404dec04283deb5e0c0960f966471f86607140eddb4d4 | ||
DIST kompose-1.4.0.tar.gz 5183071 BLAKE2B 67a5ac97c4cec0f05e7683671837fc5d7cb868b4fac34908a40b2f427afbb5e36b04602e566996ae9372524fbb97cd1e4349a783e7e0c17c0c52db5d42fc027c SHA512 49d18e0c82d6195752e786d71ec67a388e6c64244dbc0376a7a41b1d31791a833d7a392c19487129d4047d102f1ec423d1531b0626003958c3375f2a0bf22686 | ||
DIST kompose-1.5.0.tar.gz 5184512 BLAKE2B e9b1f7d778e0128add41218c5cef8dc4e0272e85d1345948b73c3529ff6d7e17b05e8a821812e3a5f12f076d5c6c0411fa50be86ebaac54a300b263f705d10a1 SHA512 2b366ed84b5368ab8c8921a989462931edf8f4fe751e3f0ee18f1d6fd6f5bce1534e962e92d7c0d3474ed1c87f8c40b8e2e4eb1d63892ac84a41be79e527a6a1 | ||
DIST kompose-1.6.0.tar.gz 5227025 BLAKE2B e24e5d142db7a1e55c8e2c05db2a7717a6bc178c3ed73ec2732fb10ae39c90dd2da41ce604fc590e8888ef1b92d5ba68821f66f54e2285d90c2bc9e3af3f1da0 SHA512 57e8b3530ad260d0ed6a679119c559f616c45d407db8929797dbf321e32917bc236ac41e1042f65aa8460026d54cb03180e8b8264dadb6fe05ec6d21293140a3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}" | ||
KOMPOSE_COMMIT="e4adfef" | ||
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_KOMMIT}" -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} | ||
} |