From 3aee35fd028e265607753a221218578f758bccb3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 29 Nov 2019 09:53:19 -0800 Subject: dev-go/golint: Bump to version 0_pre20191125 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Zac Medico --- dev-go/golint/golint-0_pre20191125.ebuild | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dev-go/golint/golint-0_pre20191125.ebuild (limited to 'dev-go/golint/golint-0_pre20191125.ebuild') diff --git a/dev-go/golint/golint-0_pre20191125.ebuild b/dev-go/golint/golint-0_pre20191125.ebuild new file mode 100644 index 000000000000..2f9da60a90ea --- /dev/null +++ b/dev-go/golint/golint-0_pre20191125.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +EGO_VENDOR=( + "golang.org/x/tools a911d9008d1f732040244007778232b02ebb2b84 github.com/golang/tools" +) + +EGIT_COMMIT=fdd1cda4f05fd1fd86124f0ef9ce31a0b72c8448 +SRC_URI="https://github.com/golang/lint/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz + $(go-module_vendor_uris)" +KEYWORDS="~amd64" + +DESCRIPTION="a linter for Go" +HOMEPAGE="https://github.com/golang/lint" +LICENSE="BSD" +SLOT="0" +IUSE="" + +S=${WORKDIR}/lint-${EGIT_COMMIT} + +DOCS=( + CONTRIBUTING.md + README.md + misc +) + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME + env GOBIN="${S}/bin" go install ./... || die +} + +src_install() { + einstalldocs + dobin bin/* +} -- cgit v1.2.3-65-gdbad