From 4aaee12262b47060b84ad26075193f01c0c4b853 Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Tue, 24 Feb 2026 01:30:20 +0100 Subject: dev-go/staticcheck: add 2026.1, drop 2025.1.1 --- dev-go/staticcheck/Manifest | 4 ++-- dev-go/staticcheck/staticcheck-2025.1.1.ebuild | 30 -------------------------- dev-go/staticcheck/staticcheck-2026.1.ebuild | 30 ++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 dev-go/staticcheck/staticcheck-2025.1.1.ebuild create mode 100644 dev-go/staticcheck/staticcheck-2026.1.ebuild (limited to 'dev-go') diff --git a/dev-go/staticcheck/Manifest b/dev-go/staticcheck/Manifest index b436512..f089124 100644 --- a/dev-go/staticcheck/Manifest +++ b/dev-go/staticcheck/Manifest @@ -1,2 +1,2 @@ -DIST staticcheck-2025.1.1-vendor.tar.xz 349016 BLAKE2B 3c596d4718070c406a8dd784692f78df616de185d4ab9fea193bace0a97f5806dc5419bf889480850746b2285fcda47edbe8508e3b89a35b57583f2421f49e2b SHA512 4f4569f76afecafc9a60922908f9639ddbe9d332519c85aae09e55297e2122b6ea24878e9bb24d490e02bd0d5196386c4a5460193ebf46e17d204c5f67d7da14 -DIST staticcheck-2025.1.1.tar.gz 759129 BLAKE2B 2af49e565da90ceb11f8b15d4047b30f751b4a4a2dc7fe40387d0bebb07013b31538697e0070f3b50d73d929f8205ecebbfaea9ef0a35d5548b369c91e78bc49 SHA512 49ec128257070f7b479c97e33cd602767b5b8650ca3fd6461a0634dc26d2f6dc9165bd9938de69e3bc128d7bfed9f4aa2db642c36af52a5382c71041a9c799e9 +DIST staticcheck-2026.1-vendor.tar.xz 399092 BLAKE2B d37e961f3b63c2bfd5c0fcfbb26b72d29d99001285809d3c01d4ffcb29e67612ec3790ffc7c58f9d0c6f735aec0e5d0e43ba85e5957c61d5944e357cb998cbae SHA512 58070dc81c065dccdde68bf71db2cf77bc6d2022a4567262cf5b7258ab5e72c9e1d63876bf8981861a94f11900b3c7630e06d44cac7fb10bbb60caa684eb2853 +DIST staticcheck-2026.1.tar.gz 766948 BLAKE2B 0fd3f9c8116b43e0e66bc72c144c333ae9b7f595570a2d860827384877a2df8bdd219b275f6323114cf54cb8a22943c0f8626279f7dd7f3b3cfb93b77108063e SHA512 d0594069505f3a16cb0de51c92edf22d53c66ce42829575e29b72f1a83e9b929a2c7876d5af3d12321ead054cf525a9de6cdfbbd163e070314788f5aea20bcab diff --git a/dev-go/staticcheck/staticcheck-2025.1.1.ebuild b/dev-go/staticcheck/staticcheck-2025.1.1.ebuild deleted file mode 100644 index a981df0..0000000 --- a/dev-go/staticcheck/staticcheck-2025.1.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2025 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.23" -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-2026.1.ebuild b/dev-go/staticcheck/staticcheck-2026.1.ebuild new file mode 100644 index 0000000..ad93e1a --- /dev/null +++ b/dev-go/staticcheck/staticcheck-2026.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2026 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.23" +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.3