summaryrefslogtreecommitdiff
path: root/devel/golint
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2015-12-30 14:12:03 +0000
committerbsiegert <bsiegert@pkgsrc.org>2015-12-30 14:12:03 +0000
commitc439be3aaf8f6008d6024555db449bde88244915 (patch)
tree2b018c05e5197b49ba86440e25ffa5589f9b42f4 /devel/golint
parentd685eed73ead994cf49a8dd5fc2a6748c6b83f18 (diff)
downloadpkgsrc-c439be3aaf8f6008d6024555db449bde88244915.tar.gz
Add a package for golint.
golint lints the Go source files named on its command line.
Diffstat (limited to 'devel/golint')
-rw-r--r--devel/golint/DESCR1
-rw-r--r--devel/golint/Makefile19
-rw-r--r--devel/golint/PLIST42
-rw-r--r--devel/golint/distinfo6
4 files changed, 68 insertions, 0 deletions
diff --git a/devel/golint/DESCR b/devel/golint/DESCR
new file mode 100644
index 00000000000..4f01665dc5d
--- /dev/null
+++ b/devel/golint/DESCR
@@ -0,0 +1 @@
+golint lints the Go source files named on its command line.
diff --git a/devel/golint/Makefile b/devel/golint/Makefile
new file mode 100644
index 00000000000..e8180e8ebe3
--- /dev/null
+++ b/devel/golint/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2015/12/30 14:12:03 bsiegert Exp $
+
+DISTNAME= golint-20151230
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
+GITHUB_PROJECT= lint
+GITHUB_TAG= 32a8716
+
+MAINTAINER= bsiegert@NetBSD.org
+HOMEPAGE= https://golang.org/
+COMMENT= Linter for Go source files
+LICENSE= modified-bsd
+
+GO_SRCPATH= github.com/golang/lint
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+.include "../../lang/go/go-package.mk"
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/golint/PLIST b/devel/golint/PLIST
new file mode 100644
index 00000000000..7ed5bbb00b4
--- /dev/null
+++ b/devel/golint/PLIST
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1 2015/12/30 14:12:03 bsiegert Exp $
+bin/golint
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/lint.a
+gopkg/src/github.com/golang/lint/CONTRIBUTING.md
+gopkg/src/github.com/golang/lint/LICENSE
+gopkg/src/github.com/golang/lint/README.md
+gopkg/src/github.com/golang/lint/golint/golint.go
+gopkg/src/github.com/golang/lint/golint/import.go
+gopkg/src/github.com/golang/lint/lint.go
+gopkg/src/github.com/golang/lint/lint_test.go
+gopkg/src/github.com/golang/lint/misc/emacs/golint.el
+gopkg/src/github.com/golang/lint/misc/vim/ftplugin/go/lint.vim
+gopkg/src/github.com/golang/lint/testdata/4.go
+gopkg/src/github.com/golang/lint/testdata/5_test.go
+gopkg/src/github.com/golang/lint/testdata/blank-import-lib.go
+gopkg/src/github.com/golang/lint/testdata/blank-import-lib_test.go
+gopkg/src/github.com/golang/lint/testdata/blank-import-main.go
+gopkg/src/github.com/golang/lint/testdata/broken.go
+gopkg/src/github.com/golang/lint/testdata/common-methods.go
+gopkg/src/github.com/golang/lint/testdata/const-block.go
+gopkg/src/github.com/golang/lint/testdata/else-multi.go
+gopkg/src/github.com/golang/lint/testdata/else.go
+gopkg/src/github.com/golang/lint/testdata/error-return.go
+gopkg/src/github.com/golang/lint/testdata/errorf.go
+gopkg/src/github.com/golang/lint/testdata/errors.go
+gopkg/src/github.com/golang/lint/testdata/import-dot.go
+gopkg/src/github.com/golang/lint/testdata/inc.go
+gopkg/src/github.com/golang/lint/testdata/make.go
+gopkg/src/github.com/golang/lint/testdata/names.go
+gopkg/src/github.com/golang/lint/testdata/pkg-doc1.go
+gopkg/src/github.com/golang/lint/testdata/pkg-doc2.go
+gopkg/src/github.com/golang/lint/testdata/pkg-doc3.go
+gopkg/src/github.com/golang/lint/testdata/pkg-doc4.go
+gopkg/src/github.com/golang/lint/testdata/pkg-doc5.go
+gopkg/src/github.com/golang/lint/testdata/pkg-main.go
+gopkg/src/github.com/golang/lint/testdata/range.go
+gopkg/src/github.com/golang/lint/testdata/receiver-names.go
+gopkg/src/github.com/golang/lint/testdata/sort.go
+gopkg/src/github.com/golang/lint/testdata/stutter.go
+gopkg/src/github.com/golang/lint/testdata/time.go
+gopkg/src/github.com/golang/lint/testdata/unexp-return.go
+gopkg/src/github.com/golang/lint/testdata/var-decl.go
diff --git a/devel/golint/distinfo b/devel/golint/distinfo
new file mode 100644
index 00000000000..90f7e86232c
--- /dev/null
+++ b/devel/golint/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/12/30 14:12:03 bsiegert Exp $
+
+SHA1 (golint-20151230-32a8716.tar.gz) = 38b93077bb39999165214edd21d90f6512c01917
+RMD160 (golint-20151230-32a8716.tar.gz) = 6aaba6aa94302e0507200effae4f3c524f0822b6
+SHA512 (golint-20151230-32a8716.tar.gz) = c5359d71f6ae2dc839fd7177735bbe7891edb2566c590ff5b8610d9d9ed6595225fc5dc2a383203a14532c5417cdb1bdd40e7f50b7cd773449f4dffca83f517f
+Size (golint-20151230-32a8716.tar.gz) = 28988 bytes