summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2017-01-12 13:42:51 -0600
committerWilliam Hubbs <williamh@gentoo.org>2017-01-12 13:43:24 -0600
commit098c4725950f43736bf30c75368b0bef2b459659 (patch)
tree70fc28a9e0252a2cbe476998f4d2d6ab1c2c2376 /dev-go
parentsys-kernel/aufs-sources: Bump to latest aufs, genpatches and linux release (diff)
downloadgentoo-098c4725950f43736bf30c75368b0bef2b459659.tar.gz
gentoo-098c4725950f43736bf30c75368b0bef2b459659.tar.bz2
gentoo-098c4725950f43736bf30c75368b0bef2b459659.zip
dev-go/golint: new package
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/golint/Manifest1
-rw-r--r--dev-go/golint/golint-0_pre20161114.ebuild38
-rw-r--r--dev-go/golint/metadata.xml8
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-go/golint/Manifest b/dev-go/golint/Manifest
new file mode 100644
index 00000000000..8e5b3a26e62
--- /dev/null
+++ b/dev-go/golint/Manifest
@@ -0,0 +1 @@
+DIST golint-0_pre20161114.tar.gz 30204 SHA256 dbad0c8963b91dcb87d216b07aa77c162dd918a9c2b60a890d5a2c5f257ce286 SHA512 6ba92ade7a84ab587383ce5fe857ac4d6f731a75390ff52ede0bf0ef85b4eea7ebb33282b8332727bf94461891e098700de6d8e8b625f580e4cf791ab436278b WHIRLPOOL 07fcc14bc4536a4c033f06d15b3b04c2badbe21d4aea4c950501537b2f01e4ca88ad70db5455b9319080907759dbcb434c211257998cf9ec50155111aaff85fd
diff --git a/dev-go/golint/golint-0_pre20161114.ebuild b/dev-go/golint/golint-0_pre20161114.ebuild
new file mode 100644
index 00000000000..23c9d3dee16
--- /dev/null
+++ b/dev-go/golint/golint-0_pre20161114.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+EGO_PN="github.com/golang/lint/..."
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT=206c0f0
+ 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/github.com/golang/lint/CONTRIBUTING.md
+ src/github.com/golang/lint/README.md
+ src/github.com/golang/lint/misc
+ )
+
+ src_install() {
+ golang-build_src_install
+ einstalldocs
+ dobin bin/*
+}
diff --git a/dev-go/golint/metadata.xml b/dev-go/golint/metadata.xml
new file mode 100644
index 00000000000..c36c37139fa
--- /dev/null
+++ b/dev-go/golint/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>