summaryrefslogtreecommitdiff
path: root/dev-go
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
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')
-rw-r--r--dev-go/golint/Manifest2
-rw-r--r--dev-go/golint/golint-0_pre20191125.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-go/golint/Manifest b/dev-go/golint/Manifest
index 8b7a490c9d88..8e31f5f6a7dd 100644
--- a/dev-go/golint/Manifest
+++ b/dev-go/golint/Manifest
@@ -1 +1,3 @@
+DIST github.com-golang-tools-a911d9008d1f732040244007778232b02ebb2b84.tar.gz 2298164 BLAKE2B 1c47d5f354174578ee376cc0907235b70df8a81b403da26083dd4138e8bbd1064bb62a5481a5079c43af31e71f76d77eb2be23b85571dbe3a2f48ffd7ed161cf SHA512 acce459c8fa32ca7e48163f92fb6e343b0ea8ec6994b98eb7f7326cf09bf194191c00a01c9eb5d055210cc144d5b986a9e554102a31eca4bba9cbedc500ccdf1
DIST golint-0_pre20180702.tar.gz 31957 BLAKE2B fb3129918bf352ab75f617d933902055877473ca9269b0e5bf91a727e88b579b7b6ced6255d845364405a749ef0aae1f8f67bab0cf97916b39fd7e8f4be54f74 SHA512 bbf550927f547950e0a8270eaf4981cf51b799998e2154058aad3345579ea3a70581cdc13cc36345ca82cf3513a88092f0f5d453895768d05b25a4c47f030fb0
+DIST golint-0_pre20191125.tar.gz 31595 BLAKE2B ca35aea7e2977c31e2be964e6322a4c5eda200876ef634ade8654e0e9f4a32545bd4890160ae7ffad68295f08d6ccbfaeaccd8ebd7f45e837419724c78ec5261 SHA512 4689a1d3e12a917339eb43de5a125c6eebfdb225b6ec815891a07d7feca5f57c7c874b415a902b32056d8caea551680b8eb7102064a990deb913450a39dfd7cb
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/*
+}