summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-11-29 09:53:19 -0800
committerZac Medico <zmedico@gentoo.org>2019-11-29 09:56:10 -0800
commit3aee35fd028e265607753a221218578f758bccb3 (patch)
treec05e284e25d19e5ac7ac41c70da0ef15fa58a610 /dev-go/golint/golint-0_pre20191125.ebuild
parentprofiles: mask beta for app-backup/rdiff-backup (diff)
downloadgentoo-3aee35fd028e265607753a221218578f758bccb3.tar.gz
gentoo-3aee35fd028e265607753a221218578f758bccb3.tar.bz2
gentoo-3aee35fd028e265607753a221218578f758bccb3.zip
dev-go/golint: Bump to version 0_pre20191125
Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-go/golint/golint-0_pre20191125.ebuild')
-rw-r--r--dev-go/golint/golint-0_pre20191125.ebuild38
1 files changed, 38 insertions, 0 deletions
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/*
+}