summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Molik <dan@danmolik.com>2019-10-29 08:09:04 -0400
committerManuel Rüger <mrueg@gentoo.org>2019-10-30 14:34:09 +0100
commit07682880a3fb09d1cc77592167dd32be51bc7fe9 (patch)
tree9fe3a0ef747d3aabb9176371e32070e817ade793 /dev-util/kubebuilder/kubebuilder-2.1.0.ebuild
parentxfce-extra/xfce4-hdaps: new gtk+-3.x version. (diff)
downloadgentoo-07682880a3fb09d1cc77592167dd32be51bc7fe9.tar.gz
gentoo-07682880a3fb09d1cc77592167dd32be51bc7fe9.tar.bz2
gentoo-07682880a3fb09d1cc77592167dd32be51bc7fe9.zip
dev-util/kubebuilder: bump version to 2.1.0
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Dan Molik <dan@danmolik.com> Tested-by: Dan Molik <dan@danmolik.com> Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'dev-util/kubebuilder/kubebuilder-2.1.0.ebuild')
-rw-r--r--dev-util/kubebuilder/kubebuilder-2.1.0.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/kubebuilder/kubebuilder-2.1.0.ebuild b/dev-util/kubebuilder/kubebuilder-2.1.0.ebuild
new file mode 100644
index 000000000000..14af483330be
--- /dev/null
+++ b/dev-util/kubebuilder/kubebuilder-2.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module
+
+DESCRIPTION="SDK for building Kubernetes APIs using CRDs"
+HOMEPAGE="https://book.kubebuilder.io"
+
+EGO_VENDOR=(
+ "github.com/gobuffalo/flect v0.1.5"
+ "github.com/golang/protobuf v1.3.1"
+ "github.com/onsi/ginkgo v1.8.0"
+ "github.com/onsi/gomega v1.5.0"
+ "github.com/spf13/afero v1.2.2"
+ "github.com/spf13/cobra v0.0.3"
+ "github.com/spf13/pflag v1.0.3"
+ "golang.org/x/net 3b0461eec859c4b73bb64fdc8285971fd33e3938 github.com/golang/net"
+ "golang.org/x/sys d432491b91382bba9c2a91776aa47c9430183a6f github.com/golang/sys"
+ "golang.org/x/text v0.3.2 github.com/golang/text"
+ "golang.org/x/tools 58d531046acdc757f177387bc1725bfa79895d69 github.com/golang/tools"
+ "gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml"
+)
+
+SRC_URI="https://github.com/kubernetes-sigs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ $(go-module_vendor_uris)"
+
+LICENSE="Apache-2.0 BSD-4 ECL-2.0 JSON MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( {DESIGN,README}.md )
+
+src_compile() {
+ GOCACHE="${T}/go-cache" go build \
+ -o "bin/${PN}" ./cmd || die
+}
+
+src_install() {
+ dobin bin/kubebuilder
+ einstalldocs
+}