diff options
author | William Hubbs <williamh@gentoo.org> | 2022-08-23 17:04:45 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-08-23 18:10:30 -0500 |
commit | c4990f7c2de331dfbf8a776ac112b12ef40b2521 (patch) | |
tree | e026da13a8f7c283994cb392745677c890f37189 /dev-go | |
parent | games-util/gamemode: fix build w/ glibc 2.36 (diff) | |
download | gentoo-c4990f7c2de331dfbf8a776ac112b12ef40b2521.tar.gz gentoo-c4990f7c2de331dfbf8a776ac112b12ef40b2521.tar.bz2 gentoo-c4990f7c2de331dfbf8a776ac112b12ef40b2521.zip |
dev-go/golangci-lint: new package, add 1.48.0
This is a fast linter runner for go.
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/golangci-lint/Manifest | 2 | ||||
-rw-r--r-- | dev-go/golangci-lint/golangci-lint-1.48.0.ebuild | 26 | ||||
-rw-r--r-- | dev-go/golangci-lint/metadata.xml | 8 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-go/golangci-lint/Manifest b/dev-go/golangci-lint/Manifest new file mode 100644 index 000000000000..951408c8cd38 --- /dev/null +++ b/dev-go/golangci-lint/Manifest @@ -0,0 +1,2 @@ +DIST golangci-lint-1.48.0-deps.tar.xz 44216112 BLAKE2B 025a88dd7dc831daf62cf07480656593520c0eceaf277e3076740383f33721db80f3b59e677b613bcdaac69f22a52445b2548addc19cb4382e341249532bdefe SHA512 115fdd9eb082849266e7ccaa5720d3ee62d7c62c98408922579e6214819214d72d45c4c875aade1b7f5520b6bc5bf0ee5e73e898bdf32be4bd61ac5411d1d601 +DIST golangci-lint-1.48.0.tar.gz 1574798 BLAKE2B 6edd9b233e03da27e7e23e06600ffca30b9284ffb221537b76e7ad98ff3878bee82b11074427436657f5cc9f7afc14e2a1d2fd8fd170f00db2a538b778d1b130 SHA512 2902972fd8513df51595ca3290164048a5d34d758d116810e1130447997fd058ca16d49e38542f0ffc39e0f776a5f053f2d9862bf2313fd81820ab27f0317699 diff --git a/dev-go/golangci-lint/golangci-lint-1.48.0.ebuild b/dev-go/golangci-lint/golangci-lint-1.48.0.ebuild new file mode 100644 index 000000000000..4aa683707af0 --- /dev/null +++ b/dev-go/golangci-lint/golangci-lint-1.48.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 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://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="BSD MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + emake build +} + +src_test() { + emake test +} + +src_install() { + dobin golangci-lint +} diff --git a/dev-go/golangci-lint/metadata.xml b/dev-go/golangci-lint/metadata.xml new file mode 100644 index 000000000000..db463f3eeb66 --- /dev/null +++ b/dev-go/golangci-lint/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> +</pkgmetadata> |