diff options
Diffstat (limited to 'app-admin/ksonnet')
-rw-r--r-- | app-admin/ksonnet/Manifest | 2 | ||||
-rw-r--r-- | app-admin/ksonnet/ksonnet-0.10.2.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/ksonnet/Manifest b/app-admin/ksonnet/Manifest index afe55655e270..03f1dd13d419 100644 --- a/app-admin/ksonnet/Manifest +++ b/app-admin/ksonnet/Manifest @@ -1,5 +1,7 @@ +DIST ksonnet-0.10.2.tar.gz 9312418 BLAKE2B 5e097250a8f1c7887d1949a84d6b768619508b0557ae15220cb31b933a40fcf025200a1d5a60e3fed8e37226faf9b5fdfaa18c87ac56ff4187968efb73b8cef7 SHA512 d4ea1b9b5feb90b345997d8546df276c3e9b171cbe6b648133615ae89fd0fadedb6f98128f4c8b5a40005de3f08ccd0a4de46c7d9c7d0f20e62baa5727c11065 DIST ksonnet-0.8.0.tar.gz 5260937 BLAKE2B 3b14618d9e40e0f71f966a0acd1ac121040ddfbd378b363236f98c4ecc6d2a2b688988816cd56801bc127b41ac56f4a8446bf152b0ffbdc3f64bce879bfa7cc4 SHA512 c80bbb0d6959045c2de0bf3a21b8a869b53a397e2e31b4b273ccd4f16afceb4038c6263a34d8e0934234cea5997949202e58dd7603902b221a140be737924aec DIST ksonnet-0.9.2.tar.gz 6552479 BLAKE2B 46aa62fe5c647d87f11b0c35db1e494d7c045d65bd98a0cc81bcb9c5a1890739a6f782dd04735781cb11aff70e4ec6f04ab97ff51b567385fa1e72bd2d835f15 SHA512 fd9c3c966ed27799f5c7e29e031270406e901c16089f354984d5aed62ebc53f1fc3be0f7623c1dff4231e7a5676b3bed879448845e35d6c1db5104ec28669a48 +EBUILD ksonnet-0.10.2.ebuild 874 BLAKE2B 9ddadcf4f4a14c257780f227073337f274ef5e30812355bfd3852579b350edfa9b413555704838a686beffa570bee381310a768c448e1912e92851b07b410428 SHA512 963a95f8600a88649e09c64a88f3853f10d0ad4636713b36137b28a90cd4aecb87f35366bac3859f044159aefdb23322c44100b47ba3999d943b0240897e6a90 EBUILD ksonnet-0.8.0.ebuild 874 BLAKE2B 9ddadcf4f4a14c257780f227073337f274ef5e30812355bfd3852579b350edfa9b413555704838a686beffa570bee381310a768c448e1912e92851b07b410428 SHA512 963a95f8600a88649e09c64a88f3853f10d0ad4636713b36137b28a90cd4aecb87f35366bac3859f044159aefdb23322c44100b47ba3999d943b0240897e6a90 EBUILD ksonnet-0.9.2.ebuild 874 BLAKE2B 9ddadcf4f4a14c257780f227073337f274ef5e30812355bfd3852579b350edfa9b413555704838a686beffa570bee381310a768c448e1912e92851b07b410428 SHA512 963a95f8600a88649e09c64a88f3853f10d0ad4636713b36137b28a90cd4aecb87f35366bac3859f044159aefdb23322c44100b47ba3999d943b0240897e6a90 MISC metadata.xml 324 BLAKE2B 89e56104008d1d0adfc928707dc011c96d3169f299d4b8b7dde1bf4fad5221728ed3d2b5a4cda9aed69f3ff16ba202c3bf445946ccaa169ebedb22e001251602 SHA512 9f554c4509d955b3d88f15dab2f0bfbf9862b52bea5aab36fea37c4b863080a5378a76087baa2f3be7e8ade5a7fd519d80deecb394d3ead642d1c943faba8809 diff --git a/app-admin/ksonnet/ksonnet-0.10.2.ebuild b/app-admin/ksonnet/ksonnet-0.10.2.ebuild new file mode 100644 index 000000000000..48881fd39b62 --- /dev/null +++ b/app-admin/ksonnet/ksonnet-0.10.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/ksonnet/ksonnet" + +inherit golang-build golang-vcs-snapshot bash-completion-r1 + +ARCHIVE_URI="https://github.com/ksonnet/ksonnet/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="CLI-supported framework for extensible Kubernetes configurations" +HOMEPAGE="https://github.com/ksonnet/ksonnet http://ksonnet.heptio.com/" +SRC_URI="${ARCHIVE_URI}" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "s/EXTRA_GO_FLAGS =/EXTRA_GO_FLAGS = -v /"\ + -e "s/VERSION =.*/VERSION = ${PV}/" src/${EGO_PN}/Makefile || die +} + +src_compile() { + pushd src/${EGO_PN} || die + GOPATH="${S}" emake ks + popd || die +} + +src_install() { + pushd src/${EGO_PN} || die + dobin ks + dodoc README.md + popd || die +} |