diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-02-08 20:45:30 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-02-08 20:46:16 +0100 |
commit | abc2d023e3f63693d58e7318f116b8d9dd2ef074 (patch) | |
tree | 3583b864dc746bee0d2d13e14350f3f647d42a09 /app-admin/ksonnet | |
parent | net-fs/samba: stable 4.5.15 for ia64, bug #639024 (diff) | |
download | gentoo-abc2d023e3f63693d58e7318f116b8d9dd2ef074.tar.gz gentoo-abc2d023e3f63693d58e7318f116b8d9dd2ef074.tar.bz2 gentoo-abc2d023e3f63693d58e7318f116b8d9dd2ef074.zip |
app-admin/ksonnet: Initial version
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-admin/ksonnet')
-rw-r--r-- | app-admin/ksonnet/Manifest | 1 | ||||
-rw-r--r-- | app-admin/ksonnet/ksonnet-0.8.0.ebuild | 40 | ||||
-rw-r--r-- | app-admin/ksonnet/metadata.xml | 11 |
3 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/ksonnet/Manifest b/app-admin/ksonnet/Manifest new file mode 100644 index 000000000000..47805b52b084 --- /dev/null +++ b/app-admin/ksonnet/Manifest @@ -0,0 +1 @@ +DIST ksonnet-0.8.0.tar.gz 5260937 BLAKE2B 3b14618d9e40e0f71f966a0acd1ac121040ddfbd378b363236f98c4ecc6d2a2b688988816cd56801bc127b41ac56f4a8446bf152b0ffbdc3f64bce879bfa7cc4 SHA512 c80bbb0d6959045c2de0bf3a21b8a869b53a397e2e31b4b273ccd4f16afceb4038c6263a34d8e0934234cea5997949202e58dd7603902b221a140be737924aec diff --git a/app-admin/ksonnet/ksonnet-0.8.0.ebuild b/app-admin/ksonnet/ksonnet-0.8.0.ebuild new file mode 100644 index 000000000000..48881fd39b62 --- /dev/null +++ b/app-admin/ksonnet/ksonnet-0.8.0.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 +} diff --git a/app-admin/ksonnet/metadata.xml b/app-admin/ksonnet/metadata.xml new file mode 100644 index 000000000000..317ede0369bd --- /dev/null +++ b/app-admin/ksonnet/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <upstream> + <remote-id type="github">heptio/ksonnet</remote-id> + </upstream> +</pkgmetadata> |