Install this version:
emerge -a =dev-go/golangci-lint-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-go/golangci-lint-9999
Or alternatively:
emerge --autounmask-write -a =dev-go/golangci-lint-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 2020-2024 Robert Günzler
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go
DESCRIPTION="linters runner for Go"
HOMEPAGE="https://github.com/golangci/golangci-lint"
inherit git-r3
EGIT_REPO_URI="https://github.com/golangci/golangci-lint.git"
RESTRICT="network-sandbox strip"
LICENSE="MIT"
SLOT="0"
IUSE=""
KEYWORDS=""
EGO_MAIN="./cmd/${PN}"
src_configure() {
egoldflags=(
-X main.version=${PV}
-X main.commit=$(git-r3_peek_remote_ref)
-X main.date=$(date -Iseconds)
)
go_src_configure
}