summaryrefslogtreecommitdiff
path: root/dev-go/golangci-lint/golangci-lint-2.0.2.ebuild
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2025-03-27 10:07:54 -0500
committerWilliam Hubbs <williamh@gentoo.org>2025-03-27 10:08:10 -0500
commitff4f204df66ec6fcc993725b92ef3e01fd3e78a8 (patch)
tree61f077980c4cb2b859f59fbad1ce7651e24e68d9 /dev-go/golangci-lint/golangci-lint-2.0.2.ebuild
parent68f9e915879b7783acbaa06cf515bb20476a7873 (diff)
downloadgentoo-ff4f204df66ec6fcc993725b92ef3e01fd3e78a8.tar.gz
gentoo-ff4f204df66ec6fcc993725b92ef3e01fd3e78a8.tar.bz2
gentoo-ff4f204df66ec6fcc993725b92ef3e01fd3e78a8.zip
dev-go/golangci-lint: add 2.0.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-go/golangci-lint/golangci-lint-2.0.2.ebuild')
-rw-r--r--dev-go/golangci-lint/golangci-lint-2.0.2.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-go/golangci-lint/golangci-lint-2.0.2.ebuild b/dev-go/golangci-lint/golangci-lint-2.0.2.ebuild
new file mode 100644
index 000000000000..1e7c1c241e68
--- /dev/null
+++ b/dev-go/golangci-lint/golangci-lint-2.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Fast linters runner for Go"
+HOMEPAGE="https://golangci-lint.run/ https://github.com/golangci/golangci-lint"
+SRC_URI="https://github.com/golangci/golangci-lint/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="GPL-3"
+# Dependent licenses
+LICENSE+=" Apache-2.0 BSD BSD-2 GPL-3 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ emake build
+}
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ dobin golangci-lint
+ local DOCS=( README.md CHANGELOG.md )
+ einstalldocs
+}