summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-go/golangci-lint/Manifest2
-rw-r--r--dev-go/golangci-lint/golangci-lint-1.49.0.ebuild26
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-go/golangci-lint/Manifest b/dev-go/golangci-lint/Manifest
index 951408c8cd38..7e970d1fbfbb 100644
--- a/dev-go/golangci-lint/Manifest
+++ b/dev-go/golangci-lint/Manifest
@@ -1,2 +1,4 @@
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
+DIST golangci-lint-1.49.0-deps.tar.xz 44720664 BLAKE2B f2feabe4a7ecde8fee1c9132ea7a80e291854f55d1234e9f823532ad4a1632e2543c274fe4606eb7f489ef9470b2b7c54dc2c1eaf189949957b5b1313c22a205 SHA512 ec69529a42b69786fbfa1cf99c8a9c65b7cb0e9dbf2be104d70ec9b9c3349a1938989da92df110aa17911c7fa1716874eab89690c91eed4cfd85fafed162a4f9
+DIST golangci-lint-1.49.0.tar.gz 1570258 BLAKE2B 76577182d08230dde3c010af624e5a47dc473cb1425db1b9eb41e70ca6b98d30bf7838191adfeb3564e7cdd8ced05b2f31e662bdcde929233a999bfbb626e0f0 SHA512 5c3bfb4e05d2a021898d6d0e0502b8f72117ffd61fc44316cc402240a0f978acfbb5e30ce12abb55213e0b8f74bb0c582cf30814e5cf56f423229d5424836f14
diff --git a/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild b/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild
new file mode 100644
index 000000000000..39c37864b92e
--- /dev/null
+++ b/dev-go/golangci-lint/golangci-lint-1.49.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="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ emake build
+}
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ dobin golangci-lint
+}