net-misc/istioctl: Version bump to 1.1.2
authorManuel Rüger <mrueg@gentoo.org>
Thu, 11 Apr 2019 11:09:37 +0000 (13:09 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Thu, 11 Apr 2019 11:09:37 +0000 (13:09 +0200)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
net-misc/istioctl/Manifest
net-misc/istioctl/istioctl-1.1.2.ebuild [new file with mode: 0644]

index 5d3dc14d6442a983ef6edacc03367b99e89e7248..b2d8ab1cb1ea1cdf013892f4e7a43355eb2a8a28 100644 (file)
@@ -1 +1,2 @@
 DIST istioctl-1.0.2.tar.gz 18828091 BLAKE2B 064e9ad8b2629809c7b55514ad0a537bae8785bfebabea610a54ead0a0e665cdc718218376e07dcf5e235f8674bdd9e2eaa7a79bfd5d5485a5ddc841e1c52527 SHA512 d444dd8e0676ac9b36dc3901595f15d6504991619a82057f924141f752d2a45866df9ca388d6c63e1fbe43be4d4156f3efc748be59b565f865a0c5b3d02bda07
+DIST istioctl-1.1.2.tar.gz 20682375 BLAKE2B bf0da863cade30baeceddcdaa358bce561a1848d018bd31890b2f0fb01e4ac908ca5da8d09a433fefae43c959c1aecba198ffd341c2c1f31de7a575abca973bb SHA512 6f9533f76b1847742198d48bed8fc2b0e288180d4033faf89857eb525c4d956f279a823c13196dd23fd9e46ab4261f9ff31746ac232e19530268d43cfdbaa083
diff --git a/net-misc/istioctl/istioctl-1.1.2.ebuild b/net-misc/istioctl/istioctl-1.1.2.ebuild
new file mode 100644 (file)
index 0000000..9ed0c95
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit golang-vcs-snapshot
+
+GIT_COMMIT="2b1331886076df103179e3da5dc9077fed59c989"
+
+KEYWORDS="~amd64"
+DESCRIPTION="Istio configuration command line utility"
+EGO_PN="istio.io/istio"
+HOMEPAGE="https://github.com/istio/istio"
+MY_PV=${PV/_/-}
+SRC_URI="https://github.com/istio/istio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+RESTRICT="test"
+
+src_compile() {
+       pushd "src/${EGO_PN}" || die
+       BUILDINFO="istio.io/istio/pkg/version.buildVersion=${PV}
+               istio.io/istio/pkg/version.buildGitRevision=${GIT_COMMIT}
+               istio.io/istio/pkg/version.buildStatus=Clean" \
+       VERBOSE=1 GOPATH="${WORKDIR}/${P}" TAG=${PV} emake istioctl
+       popd || die
+}
+
+src_install() {
+       dobin out/linux_amd64/release/${PN}
+       pushd "src/${EGO_PN}" || die
+       dodoc README.md
+}