summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/Manifest.gzbin4709 -> 4710 bytes
-rw-r--r--dev-go/golangci-lint/Manifest8
-rw-r--r--dev-go/golangci-lint/golangci-lint-1.48.0.ebuild26
-rw-r--r--dev-go/golangci-lint/golangci-lint-1.49.0.ebuild26
-rw-r--r--dev-go/golangci-lint/golangci-lint-1.50.1-r1.ebuild (renamed from dev-go/golangci-lint/golangci-lint-1.50.1.ebuild)8
5 files changed, 8 insertions, 60 deletions
diff --git a/dev-go/Manifest.gz b/dev-go/Manifest.gz
index bea58bcb2cc8..0195d4556602 100644
--- a/dev-go/Manifest.gz
+++ b/dev-go/Manifest.gz
Binary files differ
diff --git a/dev-go/golangci-lint/Manifest b/dev-go/golangci-lint/Manifest
index ade240817dc9..b9ffff418d6d 100644
--- a/dev-go/golangci-lint/Manifest
+++ b/dev-go/golangci-lint/Manifest
@@ -1,10 +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
DIST golangci-lint-1.50.1-deps.tar.xz 41697892 BLAKE2B 91eaf045b19eedffd18cd14e83f1c0204f98f335468cbdb7e3c8b31cc305651f3a365313ed77619438c529d48e16bb1a32038c99d7823fe8fd79a9c9553c8ec0 SHA512 8200ef0b89d30c539431a3c8857a12c508e4f64eae187f6e125a59adb93233d61bdb63dd1a60c6ef049f6ed68db0103264dbd926171855b9a0d9544ef3469c44
DIST golangci-lint-1.50.1.tar.gz 1564977 BLAKE2B defff019deafd3c1682fbf842660fc2295f50e53e21db7e32df45a4041911e690a5d017f2d2925ce9b0c6455609c71bb7b5be77dc69b1d6afdf02cdb9c117638 SHA512 d03b6cec78208d57506e20ea43b8c9a449063cc3857cc242bfc75c4a8478b4cae2a673fc258bec552a68ff2ac2b32cab32d0fde256a73184bd752c38cd063f04
-EBUILD golangci-lint-1.48.0.ebuild 525 BLAKE2B a034df02c4c59efdd7c70f9e8b07688fd0d6c5b904c1c2959c60de89fb37f8696aaed7c3928ccc5995e4a973eed55fc641684af4d9beb72d0e45f9f1627bf035 SHA512 a26fc39386215bd333d208e2f284b01727913104bf868af6d2eb11cb6261f8976948fa42367c411cd72a26c7bc761eebbf7702ca2ce41c4895c3d1ca4c7689ec
-EBUILD golangci-lint-1.49.0.ebuild 525 BLAKE2B a034df02c4c59efdd7c70f9e8b07688fd0d6c5b904c1c2959c60de89fb37f8696aaed7c3928ccc5995e4a973eed55fc641684af4d9beb72d0e45f9f1627bf035 SHA512 a26fc39386215bd333d208e2f284b01727913104bf868af6d2eb11cb6261f8976948fa42367c411cd72a26c7bc761eebbf7702ca2ce41c4895c3d1ca4c7689ec
-EBUILD golangci-lint-1.50.1.ebuild 575 BLAKE2B caceb79dec0426299046aa09ef7515d03b2edbd51408b12f636f7e57d1f579d0071bb9fab821f097c5a667e2dad77e4f1d8f1821a418b9c14c003c4db9bfc2ab SHA512 799eb654eb82a104f16b892a4cc94a7689e474f7987cfd7ebfcf600775242f58b46d7c7fea0d1903c3d4cc9a7e94219bc342b71711dca563e438af6d70d84601
+EBUILD golangci-lint-1.50.1-r1.ebuild 795 BLAKE2B e92c6dcc4e77f1512ac6086e561af2cb2c13e0a7a0bdb792c931d3be40663fb16af9ea51eb0b34183da273f5337279048866a9703854f2f1cf97b50f9bb6a495 SHA512 56843f53d1e8c19790ed5b57e581dc090a0bd3cd59853c862fa20706a1ad05f85a6a708170e7199218b62a421d08e0eef9515532ef99fed63a76f9e5c948ca04
MISC metadata.xml 336 BLAKE2B c46d211ec67f8539bb7f62b1866b9560f7243cd98fa5d5bb051c717895fb82a01a7a6ededc7b43bf2069c11e1416c58b00af186c55625be1a36fc1e623df1d8b SHA512 8fc909292e019fd4b0b5358148ef53299e703846b82b3b01fee7df6b1b7b9ddf49ccaac52b26915f3c91fa2b56837f979fefeac2ddea295ca9473805b8deca03
diff --git a/dev-go/golangci-lint/golangci-lint-1.48.0.ebuild b/dev-go/golangci-lint/golangci-lint-1.48.0.ebuild
deleted file mode 100644
index 39c37864b92e..000000000000
--- a/dev-go/golangci-lint/golangci-lint-1.48.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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
-}
diff --git a/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild b/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild
deleted file mode 100644
index 39c37864b92e..000000000000
--- a/dev-go/golangci-lint/golangci-lint-1.49.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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
-}
diff --git a/dev-go/golangci-lint/golangci-lint-1.50.1.ebuild b/dev-go/golangci-lint/golangci-lint-1.50.1-r1.ebuild
index 2d42e8fa2fae..abca8a1df0a5 100644
--- a/dev-go/golangci-lint/golangci-lint-1.50.1.ebuild
+++ b/dev-go/golangci-lint/golangci-lint-1.50.1-r1.ebuild
@@ -3,6 +3,8 @@
EAPI=8
inherit go-module
+# update on every bump
+GIT_COMMIT=8926a95f
DESCRIPTION="Fast linters runner for Go"
HOMEPAGE="https://github.com/golangci/golangci-lint"
@@ -16,7 +18,11 @@ KEYWORDS="~amd64"
RESTRICT="test"
src_compile() {
- emake build
+ CGO_ENABLED=0 ego build -trimpath -ldflags "
+ -X main.commit=${GIT_COMMIT}
+ -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)
+ -X main.version=${PV}" \
+ -o golangci-lint ./cmd/golangci-lint
}
src_test() {