summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-09-13 20:15:26 -0700
committerZac Medico <zmedico@gentoo.org>2018-09-13 20:15:26 -0700
commit8155d746b7318d3f5926a0ecef906694fc007837 (patch)
treea38e39a36283069f3d8c985c06abe05163dc46f6 /dev-go
parentdev-go/golint: DEPEND on compatible go-tools (diff)
downloadgentoo-8155d746b7318d3f5926a0ecef906694fc007837.tar.gz
gentoo-8155d746b7318d3f5926a0ecef906694fc007837.tar.bz2
gentoo-8155d746b7318d3f5926a0ecef906694fc007837.zip
dev-go/golint: version bump to 0_pre20180702
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/golint/Manifest1
-rw-r--r--dev-go/golint/golint-0_pre20180702.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-go/golint/Manifest b/dev-go/golint/Manifest
index ab66258ca99e..9679d2983251 100644
--- a/dev-go/golint/Manifest
+++ b/dev-go/golint/Manifest
@@ -1 +1,2 @@
DIST golint-0_pre20161114.tar.gz 30204 BLAKE2B 40bc84a2daa86c2956332ffe46dba45d2cdb0826b31251bed3e94f6f794c1f6d41f009b8ad807ec864198e96899aee09e8a189416e398c3386fbf556d12fee5a SHA512 6ba92ade7a84ab587383ce5fe857ac4d6f731a75390ff52ede0bf0ef85b4eea7ebb33282b8332727bf94461891e098700de6d8e8b625f580e4cf791ab436278b
+DIST golint-0_pre20180702.tar.gz 31957 BLAKE2B fb3129918bf352ab75f617d933902055877473ca9269b0e5bf91a727e88b579b7b6ced6255d845364405a749ef0aae1f8f67bab0cf97916b39fd7e8f4be54f74 SHA512 bbf550927f547950e0a8270eaf4981cf51b799998e2154058aad3345579ea3a70581cdc13cc36345ca82cf3513a88092f0f5d453895768d05b25a4c47f030fb0
diff --git a/dev-go/golint/golint-0_pre20180702.ebuild b/dev-go/golint/golint-0_pre20180702.ebuild
new file mode 100644
index 000000000000..bad045aaac60
--- /dev/null
+++ b/dev-go/golint/golint-0_pre20180702.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="golang.org/x/lint/..."
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT=06c8688
+ SRC_URI="https://github.com/golang/lint/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="a linter for Go"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+LICENSE="BSD"
+SLOT="0/${PVR}"
+IUSE=""
+DEPEND=">=dev-lang/go-1.6
+ dev-go/go-tools"
+RDEPEND="!<dev-lang/go-1.6
+ dev-go/go-tools:="
+
+DOCS=(
+ src/golang.org/x/lint/CONTRIBUTING.md
+ src/golang.org/x/lint/README.md
+ src/golang.org/x/lint/misc
+)
+
+src_install() {
+ golang-build_src_install
+ einstalldocs
+ dobin bin/*
+}