From c2486d0dccbdada23c8b1a067ec03c2002e2e26d Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Sat, 28 Sep 2024 14:29:23 -0500 Subject: dev-go/staticcheck: fix manifest hashes --- dev-go/staticcheck/Manifest | 2 +- dev-go/staticcheck/staticcheck-2024.1.1-r1.ebuild | 30 +++++++++++++++++++++++ dev-go/staticcheck/staticcheck-2024.1.1.ebuild | 30 ----------------------- 3 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 dev-go/staticcheck/staticcheck-2024.1.1-r1.ebuild delete mode 100644 dev-go/staticcheck/staticcheck-2024.1.1.ebuild (limited to 'dev-go/staticcheck') diff --git a/dev-go/staticcheck/Manifest b/dev-go/staticcheck/Manifest index 09e7ac8..b9c9b47 100644 --- a/dev-go/staticcheck/Manifest +++ b/dev-go/staticcheck/Manifest @@ -1,2 +1,2 @@ -DIST staticcheck-2024.1.1-vendor.tar.xz 332576 BLAKE2B e76a9c792f1d0cd9847610c8485a7e5614dfc0c18f7c189a61ad4a1a033698bef3c96f99ae79ad9e752da4d8b737373d5172164a7aaa3060164926a804f1ff34 SHA512 9da76cecf0c6df25789dc736d6234ce717f10bd2b79bfcdbd09970db4c177f45eec12c257e142c7b40b6d19755fb72b766d501209342770818b1df40d3bf18fb +DIST staticcheck-2024.1.1-vendor.tar.xz 332612 BLAKE2B 67cd9100fe8d03d7235258ce7e9d41b49ebb2c91b759fa1315670d481444d0e6edb50fcbd959496dd7a1db87c543dce931aadaaa997dc97d0a84628bbb78099c SHA512 86c50f886af15b725cd7160d459bda28fcfc17c1654104cbda529673e10b8389b32260b52b10c26972a9e7dc8bb577bdbaadcc63560224d2e1c3db0573e537ed DIST staticcheck-2024.1.1.tar.gz 770639 BLAKE2B 0fe4c4158347f34dbd8f3afd303648659ce0895a529cb0f9f96ad5d4c73025fb798d39a1371a8d1af1ec768af375776b7f7b86e42a34ec62fda1d409e4b0cb84 SHA512 abd32fd81b4993a99c2fedaf349fca6f5edcb47651d7efff5e71e7c3c4b9ed41188061c7228d82796c65efbb5f5aa1498ea86c7476f530e0587c3787fbe9dae2 diff --git a/dev-go/staticcheck/staticcheck-2024.1.1-r1.ebuild b/dev-go/staticcheck/staticcheck-2024.1.1-r1.ebuild new file mode 100644 index 0000000..7b21fad --- /dev/null +++ b/dev-go/staticcheck/staticcheck-2024.1.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="The advanced Go linter" +HOMEPAGE="https://staticcheck.io/" +BDEPEND=">=dev-lang/go-1.15" +SRC_URI="https://github.com/dominikh/go-tools/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz " +S="${WORKDIR}/go-tools-${PV}" + +LICENSE="MIT" +LICENSE+=" BSD " +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + mkdir bin || die + ego build -o bin/staticcheck ./cmd/staticcheck +} + +src_test() { + ego test ./... +} + +src_install() { + dobin bin/staticcheck +} diff --git a/dev-go/staticcheck/staticcheck-2024.1.1.ebuild b/dev-go/staticcheck/staticcheck-2024.1.1.ebuild deleted file mode 100644 index 7b21fad..0000000 --- a/dev-go/staticcheck/staticcheck-2024.1.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module - -DESCRIPTION="The advanced Go linter" -HOMEPAGE="https://staticcheck.io/" -BDEPEND=">=dev-lang/go-1.15" -SRC_URI="https://github.com/dominikh/go-tools/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz " -S="${WORKDIR}/go-tools-${PV}" - -LICENSE="MIT" -LICENSE+=" BSD " -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - mkdir bin || die - ego build -o bin/staticcheck ./cmd/staticcheck -} - -src_test() { - ego test ./... -} - -src_install() { - dobin bin/staticcheck -} -- cgit v1.2.3