Skip to content

Commit

Permalink
dev-go/golint: new package
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0
  • Loading branch information
williamh committed Jan 12, 2017
1 parent 0e53f7c commit 098c472
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-go/golint/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST golint-0_pre20161114.tar.gz 30204 SHA256 dbad0c8963b91dcb87d216b07aa77c162dd918a9c2b60a890d5a2c5f257ce286 SHA512 6ba92ade7a84ab587383ce5fe857ac4d6f731a75390ff52ede0bf0ef85b4eea7ebb33282b8332727bf94461891e098700de6d8e8b625f580e4cf791ab436278b WHIRLPOOL 07fcc14bc4536a4c033f06d15b3b04c2badbe21d4aea4c950501537b2f01e4ca88ad70db5455b9319080907759dbcb434c211257998cf9ec50155111aaff85fd
38 changes: 38 additions & 0 deletions dev-go/golint/golint-0_pre20161114.ebuild
Original file line number Diff line number Diff line change
@@ -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/*
}
8 changes: 8 additions & 0 deletions dev-go/golint/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>William Hubbs</name>
</maintainer>
</pkgmetadata>

0 comments on commit 098c472

Please sign in to comment.