commit: e064e9555ab7efa6b7dd611392b6e5c7525285bd Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Nov 15 09:18:00 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Nov 15 09:18:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e064e955
dev-go/golangci-lint: drop versions Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-go/golangci-lint/Manifest | 18 --------- .../golangci-lint/golangci-lint-1.50.1-r1.ebuild | 36 ----------------- dev-go/golangci-lint/golangci-lint-1.55.2.ebuild | 36 ----------------- dev-go/golangci-lint/golangci-lint-1.56.2.ebuild | 29 -------------- dev-go/golangci-lint/golangci-lint-1.59.1.ebuild | 29 -------------- dev-go/golangci-lint/golangci-lint-1.61.0.ebuild | 27 ------------- dev-go/golangci-lint/golangci-lint-1.64.6.ebuild | 31 --------------- dev-go/golangci-lint/golangci-lint-2.1.0.ebuild | 46 ---------------------- dev-go/golangci-lint/golangci-lint-2.1.2.ebuild | 46 ---------------------- dev-go/golangci-lint/golangci-lint-2.6.0.ebuild | 46 ---------------------- 10 files changed, 344 deletions(-) diff --git a/dev-go/golangci-lint/Manifest b/dev-go/golangci-lint/Manifest index 59845d55d615..9445d141608a 100644 --- a/dev-go/golangci-lint/Manifest +++ b/dev-go/golangci-lint/Manifest @@ -1,25 +1,7 @@ -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 -DIST golangci-lint-1.55.2-deps.tar.xz 43815104 BLAKE2B a352c9cad3e5e2f5544320fc07f06325e569580068acaaa2f3a3089861fbbda04202e5dac63284deb94ca8ece6cbd056aba849c9ee4955397fa82d2c23d8d35b SHA512 19ebe48a46c4537588e767ea8579ca20f583e09865e157a9df54e792be2c6358fd95642975eb758285bbd5486d6c2773dda26f6ddf79c80008b1a5bcfd4faea4 -DIST golangci-lint-1.55.2.tar.gz 1687534 BLAKE2B 14bfbeabd5e08c871e368b8dd94a5e2cc4f1673e5b221d1d5d44b0fed076ea68a80b563d562803fcb384c655bb1689f891e255990059e9720804373d1d51d43c SHA512 286749a6aaa89ae7400894b04fa64490543cbc4703c0d5a9252cfe01fba331e1323828b57d5051bf13dc041b5266a979ed31facba610d0814fce0462f5571718 -DIST golangci-lint-1.56.2-deps.tar.xz 140638164 BLAKE2B 669e2ef488f1bf00c9d4d8f5a0cca708f223bedc894c9ca4affa6a03e6c8c9b77ad1ff37f5c1eb1054203aaf86285410cbf805f9eb529f8788b1d390d3c58c81 SHA512 50c0e83c353d83dce468e2fefce6ec351ac486b9e94e8999232769d201636fde0c9aa73f1e1306ee33be3720b554bc04866e3d86eb836517fbcfbb36a1e2b91a -DIST golangci-lint-1.56.2.tar.gz 1695476 BLAKE2B 8e27301bab34cd0adf80943effac342653901adb148a7b232bde6f6fad8fdcfbece10cdd7f6b91a6eeecb2106bc765156392ec62befdb5309b947fe9098b64f8 SHA512 ab768d58f0888cbda2728c90ac9063f4f15b4fd0e13eefc23a0af4994801860ce9ed9585903678f0e917381f56d8db3941af59c32b287b5e0e58177bff29f4d1 -DIST golangci-lint-1.59.1-deps.tar.xz 22945248 BLAKE2B 7fa2ebe069bdb160ac699fc9dfaed43bd64be0c95e5534e4f1f252e46762f462581ce207e4a10b14892f14e98fb86e3c92e205b03f2cf30ee4608443a26c3981 SHA512 a0657ae96e9e4ef100768f9d6e035d0eae3c70c331be912a76f49250eb5c1da681abfc8e397e594a00a73d2db7a47d2ca822b86a1b5afc650d8dd15c1c4796b6 -DIST golangci-lint-1.59.1.tar.gz 1713897 BLAKE2B be46b4f1352e08e83abe1bed2f7955c231a8abd493ce57e659fb8c582336149785383b01a0a1db7a669f2075a14ecd741e5e4471d59c5ff06b1cefdedb9e7bc3 SHA512 630a14dd1c3889a0cdb4d085a122a038ed677bc685cc34827aed5f9702e96c82d73695fe63353bc39f261dd29e0b10eb9e17bc279cc4b9aab5efd008f0f1db73 -DIST golangci-lint-1.61.0-deps.tar.xz 26022356 BLAKE2B 08933cde770bf073016fb898ccb264c8f40ab3776267d9e79a7310966c9d89be6c747cba20117f8acb8b53160ed4e1ddf208a4da6e54c22b10610708877dc7e7 SHA512 6a986c78a68950a7fd0fd6ae745d8405477dcd750a251768bca5ed7cf52e6a5ccc758292367998c0880ec25147ffba578bd085b71bbad3128471966d72bcbb04 -DIST golangci-lint-1.61.0.tar.gz 1738919 BLAKE2B 94833998149dbb3f0fd549674287d2aacc768f34327df1784a3afe91d96e350ffb80a50c04b420174035cfad9631eae30a9704adce9a0e2947ab45d1c13e3e2d SHA512 72909c027e39f0ad0a6175d1e04ee3ba28fa32c841ac423b491615f2b4eae9ed35a9b54012fd161753828e552531a04b4fa6822f3c1c2ad1dd2fe943852132d4 -DIST golangci-lint-1.64.6-deps.tar.xz 26245656 BLAKE2B e65d53302ee37470baf182a19d85e46a41c621c1e33e7fa5b555d1a5eb922edeb1c105d0a34adbf3892c0b1ce9ef63a2b1ca9b8705d66f7fad0bc537f1c553c0 SHA512 d786f6b2fe7d6448210c9f94e6be7506ee697f98c293c072ac82658ce819262b813ef79e9f192af36b2c45e2aeb0fd101dfb6e83141fe8fa3e2ed5f367b436d2 -DIST golangci-lint-1.64.6.tar.gz 2066037 BLAKE2B f3269d9dd7f9853684452d11dd7fb54e595b5f86694ed6f36e0c7b478c80aae48396ca352c517de6bcc5ff31d36271416c709ebf6900f9ff64d9b792c5f813db SHA512 00fe1be92f339e896b2fb4f5c5a7e51a6b73076555c363b0a35e49395c1dc8531bc0a26b16e4ddd5810c2f2ab7ccea3ad0f5554464ba0cd60eafadc5dfb8eeec DIST golangci-lint-1.64.7-deps.tar.xz 26242404 BLAKE2B e979fc047debbf7530b08767737ae243ff07b611d25abb529ce2d5a3ee1fb7328fa6a420a636ca5ce27fde9a593da5f3cd38b6d2bf20f15e113d14e6d9d7edf1 SHA512 094bc9e315471f7afe25ef3675e5e2cdb673884b7b79e2562d360a9a3423ad8e3908a84e21cf568c1f08a5d7114314b8be46c51fdcab4976174e73ef89602e09 DIST golangci-lint-1.64.7.tar.gz 2070704 BLAKE2B a2b920e32a282119ce94ab30b2efcce510b344c4b29a8c94485a2bb44e248a86931850bf2072b26e1d4672191f969db43f4b7112d209c959a90d62d925e111de SHA512 7b9370fd2fe8ade529792f5837d014385530cd07439c057cf9506de0bbcb8fc5d937ed5df005b589a944f643bec752c026c6c976969828782ca79890f5922847 -DIST golangci-lint-2.1.0-deps.tar.xz 36222896 BLAKE2B c4bd86befc7701dc9951626e1b33e8abe3b150ef4b447c2291abadced70f2bef562759ad90c234b8c15555ea34e30a473a75912f99858a1e37b456de24b9c702 SHA512 0bb47f4f4926da5251c5a910b2e3418402a273395e6846d6a5de92025582ad543831058468fea0763aa916f4301eb03dbeb5a937e0e70d7db7f6e10dac4807fa -DIST golangci-lint-2.1.0.tar.gz 2347631 BLAKE2B b716b7d019b114ae66d1de630b0abe710aefd2010cacf27b126d041b5bd28684884b2f4573b047837033f2bfb1ea4166e1973298d22e07e8aed640d1ce16cf86 SHA512 c10e62f5c8e7cd055c70d5ab7608f1fc80d6133dfa6ffa7661ea9625f07e65b96c99574fe9a239f64a49d1f4ee289d7a80a6719e91fae7c2d0d66e2b8fac2088 -DIST golangci-lint-2.1.2-deps.tar.xz 36225632 BLAKE2B b74443aa04fa63ffcd8d392c13fdd7c0c5ceb6546afa73c9e84a22d83e18ef9239eea41ac500200d8390baa0e2e6e37f21d42098e7e6f2f56d42734d8a1d7f63 SHA512 b8103177e12f647c610571c31c7aea98bf9704ee6102cc226a2af6781f77cc49b784f8b68b586bc5fb9bfe8a55a20cac9afe024ed119943f6598ef52ba987135 -DIST golangci-lint-2.1.2.tar.gz 2348422 BLAKE2B b3e7a12c0fae73b0652f19e759208143f432d589820b091632a1429ea52a20c8795b3a295d6c895152c2230f2dcde3ab016ad92639343e3a613387788e85b996 SHA512 e4dbb2baa333f6bc81e62a6624b58554dfb91390c55c8f14c441d96d267fc956c99cf37403d7878f1a8c21b4a87b15446f595794c3646ce689a9cb1ec538b587 DIST golangci-lint-2.5.0-deps.tar.xz 32920816 BLAKE2B 05cef8ad47009e81d3fc1884d86f2c868bfc2c432d0a40a89fd34d8c5a2cb150de449135566a320dd9d966acb25156ac2b18d36f292517e12e16bc8606c85a06 SHA512 0521c469e21833f88bd56d2a5cbc7c11e8870214600c3f0abb0315092f05b335dd833c81401042163f50d299ad8b24e2d0ee4d73706ed8694ea772dd896cd501 DIST golangci-lint-2.5.0.tar.gz 5258480 BLAKE2B 9ee2cd3b5b342fae85864107c60f60d0e1174c9ce857082c13a159d8d506429413b66ec32fa39b4517988539f0aa5e3230c9efa2631e7a2203203457d6b8c778 SHA512 3260a1606beb396af244d35e34c2fa606c94023f873f12d2d97b3c0a79082b92a059cf721114845747efbb4f309c145f0967846fc2bcdbe235079b6ec1d3f92a -DIST golangci-lint-2.6.0-deps.tar.xz 33151332 BLAKE2B 96efa1b89e1fcd6e57985ce34ba5d9adff667158b0c302dfc041bfbe3562d546c2d1720dedf2d0016c5d8c34dc8e179af49a8e002915ce87024ccdd292e477be SHA512 00dca3a235854ffb1509883d9ab861da3d103acefee92e4ea3210e71a19b2e566484e621851f2278af3ff4ab826fb742748901e3cff478a35562342be8d180e4 -DIST golangci-lint-2.6.0.tar.gz 5326981 BLAKE2B 869dfb720724964cde014e506b6937d5b0f7929c837c50075ea03f6931898054f11e7dcbb597ea10cc2ec4710fb37400af0f9bbcfda3972ef319dbb34946e732 SHA512 eea86feb5d99f86e44ea1d70d67f8bc580d31dfb52d79c232ee4c44dcab481938cdff85e4849102b473aab931de1caf40193e0adbbc9548d185a98ac15c64746 DIST golangci-lint-2.6.1-deps.tar.xz 33027976 BLAKE2B bd03a908e1c522e87661ed0e30c9e8e26aae8b2ac948154cff7a509b6afa10f6f14f6c09f3bcd414c3fdcae3b27f9c1abd761bec7c7afbb7c0319f14a0e8ac00 SHA512 339a287f33efd7ec77e51144d00c2223256b5e3424f521b5329db85aacf57e72c33efd2b70679e8ba44b94d3772c5ffa61f0f50c81369d09390483e5bd2c5fb9 DIST golangci-lint-2.6.1.tar.gz 5329109 BLAKE2B 3f8b625556bba25717b9d736e284f186f34defa80ec7edc2b2fbe2c4488b84a8e68a890ea0e56be1af87c1ecabd693c85e31efec551a1eed19faa9631f9c8f54 SHA512 9d68a40ea41c287774ede970272d7cbd8cf101bad85240e6517e9fc1b581054a6a1c45e25cb0b727b6a077136452427ecfdd9b4ec77c2c3bf32e6e1246751068 DIST golangci-lint-2.6.2-vendor.tar.xz 5330920 BLAKE2B 0b8a5fec5d920741d55f2f7306222d3748b3a0eb993d35b41275aaa3454fae6d55421a2b7d1c411d47353eb897b21f678ae37e83fdfa82c5568c862b2c730a1e SHA512 2e8a0594bf67b8a3e47cb7c11ab10073e9bb5afe7fd9a0e852c51510c57a180daa7c1ebedd44e8be27cda8c2ce47339771f49ed6be4bf3092d074e7bb2f904ff diff --git a/dev-go/golangci-lint/golangci-lint-1.50.1-r1.ebuild b/dev-go/golangci-lint/golangci-lint-1.50.1-r1.ebuild deleted file mode 100644 index abca8a1df0a5..000000000000 --- a/dev-go/golangci-lint/golangci-lint-1.50.1-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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" -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" - -RESTRICT="test" - -src_compile() { - 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() { - emake test -} - -src_install() { - dobin golangci-lint - einstalldocs -dodoc CHANGELOG.md -} diff --git a/dev-go/golangci-lint/golangci-lint-1.55.2.ebuild b/dev-go/golangci-lint/golangci-lint-1.55.2.ebuild deleted file mode 100644 index ab124443528f..000000000000 --- a/dev-go/golangci-lint/golangci-lint-1.55.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module -# update on every bump -GIT_COMMIT=e3c2265f - -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" - -RESTRICT="test" - -src_compile() { - 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() { - emake test -} - -src_install() { - dobin golangci-lint - einstalldocs -dodoc CHANGELOG.md -} diff --git a/dev-go/golangci-lint/golangci-lint-1.56.2.ebuild b/dev-go/golangci-lint/golangci-lint-1.56.2.ebuild deleted file mode 100644 index 396743d4156a..000000000000 --- a/dev-go/golangci-lint/golangci-lint-1.56.2.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 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" - -RESTRICT="test" - -src_compile() { - emake build -} - -src_test() { - emake test -} - -src_install() { - dobin golangci-lint - einstalldocs -dodoc CHANGELOG.md -} diff --git a/dev-go/golangci-lint/golangci-lint-1.59.1.ebuild b/dev-go/golangci-lint/golangci-lint-1.59.1.ebuild deleted file mode 100644 index 396743d4156a..000000000000 --- a/dev-go/golangci-lint/golangci-lint-1.59.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 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" - -RESTRICT="test" - -src_compile() { - emake build -} - -src_test() { - emake test -} - -src_install() { - dobin golangci-lint - einstalldocs -dodoc CHANGELOG.md -} diff --git a/dev-go/golangci-lint/golangci-lint-1.61.0.ebuild b/dev-go/golangci-lint/golangci-lint-1.61.0.ebuild deleted file mode 100644 index 463d01a62d92..000000000000 --- a/dev-go/golangci-lint/golangci-lint-1.61.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2024 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 - einstalldocs -dodoc CHANGELOG.md -} diff --git a/dev-go/golangci-lint/golangci-lint-1.64.6.ebuild b/dev-go/golangci-lint/golangci-lint-1.64.6.ebuild deleted file mode 100644 index 540ecdd7829d..000000000000 --- a/dev-go/golangci-lint/golangci-lint-1.64.6.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2025 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://golangci-lint.run/ 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/~arthurzam/distfiles/dev-go/${PN}/${P}-deps.tar.xz" - -LICENSE="GPL-3" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 GPL-3 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - emake build -} - -src_test() { - emake test -} - -src_install() { - dobin golangci-lint - local DOCS=( README.md CHANGELOG.md ) - einstalldocs -} diff --git a/dev-go/golangci-lint/golangci-lint-2.1.0.ebuild b/dev-go/golangci-lint/golangci-lint-2.1.0.ebuild deleted file mode 100644 index 7fd588351a36..000000000000 --- a/dev-go/golangci-lint/golangci-lint-2.1.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion toolchain-funcs - -DESCRIPTION="Fast linters runner for Go" -HOMEPAGE="https://golangci-lint.run/ 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" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 GPL-3 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - emake build - - if ! tc-is-cross-compiler; then - einfo "generating shell completion files" - ./golangci-lint completion bash > ${PN}.bash || die - ./golangci-lint completion zsh > ${PN}.zsh || die - ./golangci-lint completion fish > ${PN}.fish || die - fi -} - -src_test() { - emake test -} - -src_install() { - dobin golangci-lint - local DOCS=( README.md CHANGELOG.md ) - einstalldocs - - if ! tc-is-cross-compiler; then - newbashcomp ${PN}.bash ${PN} - newzshcomp ${PN}.zsh _${PN} - dofishcomp ${PN}.fish - else - ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'" - fi -} diff --git a/dev-go/golangci-lint/golangci-lint-2.1.2.ebuild b/dev-go/golangci-lint/golangci-lint-2.1.2.ebuild deleted file mode 100644 index 7fd588351a36..000000000000 --- a/dev-go/golangci-lint/golangci-lint-2.1.2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion toolchain-funcs - -DESCRIPTION="Fast linters runner for Go" -HOMEPAGE="https://golangci-lint.run/ 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" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 GPL-3 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - emake build - - if ! tc-is-cross-compiler; then - einfo "generating shell completion files" - ./golangci-lint completion bash > ${PN}.bash || die - ./golangci-lint completion zsh > ${PN}.zsh || die - ./golangci-lint completion fish > ${PN}.fish || die - fi -} - -src_test() { - emake test -} - -src_install() { - dobin golangci-lint - local DOCS=( README.md CHANGELOG.md ) - einstalldocs - - if ! tc-is-cross-compiler; then - newbashcomp ${PN}.bash ${PN} - newzshcomp ${PN}.zsh _${PN} - dofishcomp ${PN}.fish - else - ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'" - fi -} diff --git a/dev-go/golangci-lint/golangci-lint-2.6.0.ebuild b/dev-go/golangci-lint/golangci-lint-2.6.0.ebuild deleted file mode 100644 index d7fd07699bf3..000000000000 --- a/dev-go/golangci-lint/golangci-lint-2.6.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module shell-completion toolchain-funcs - -DESCRIPTION="Fast linters runner for Go" -HOMEPAGE="https://golangci-lint.run/ 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://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-deps.tar.xz" - -LICENSE="GPL-3" -# Dependent licenses -LICENSE+=" Apache-2.0 BSD BSD-2 GPL-3 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -src_compile() { - emake build - - if ! tc-is-cross-compiler; then - einfo "generating shell completion files" - ./golangci-lint completion bash > ${PN}.bash || die - ./golangci-lint completion zsh > ${PN}.zsh || die - ./golangci-lint completion fish > ${PN}.fish || die - fi -} - -src_test() { - emake test -} - -src_install() { - dobin golangci-lint - local DOCS=( README.md CHANGELOG.md ) - einstalldocs - - if ! tc-is-cross-compiler; then - newbashcomp ${PN}.bash ${PN} - newzshcomp ${PN}.zsh _${PN} - dofishcomp ${PN}.fish - else - ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'" - fi -}
