mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-go/gopls: add 0.19.1
Signed-off-by: Leo Douglas <douglarek@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/42822 Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST gopls-0.18.1-deps.tar.xz 2209404 BLAKE2B e6e1d7b58af5579efdc3b8ae39eff7c3fb
|
||||
DIST gopls-0.18.1.tar.gz 7646170 BLAKE2B 984715eb791213059829fe53ea867c6e262a80806f36962e79edd0649a16684d67f8485fd6f0c1848dc23b92c73b41a89638a55f51466f7f70c132b20cae7389 SHA512 12bf4279cd21c3bc7caba3376710292946e2acf1ae1cc8e598fa7ef07d0ca3061b020a0a5d2397cef190a43daa911072a0c7045d9d4fc54b94450d4b8fe96fd3
|
||||
DIST gopls-0.19.0-deps.tar.xz 1968252 BLAKE2B 1349a76b998e9c8bf0e15049534ddf539c9de64173271d6c3d41565b0ef8fe941d1a3e04886fa396abd03fa6aa4c5002e051641413bbd3878b23db669e392a54 SHA512 bd716fe05920c88c5c43bed5e4cc8fd31167e990cdb5826752a5f72a326fd6ff0347503b27c35c22e0fde84d16b6a3277f2ed0adad31a6bc1c930a2803d9e978
|
||||
DIST gopls-0.19.0.tar.gz 8174718 BLAKE2B cabf3c37c5e3e56aae201d636628ed19165ac734f69bbef3a2dce6b10da1a480913b4db7d42e91d26b2845a5c9c165c1c72d0f9ff32cfc981321f2a79debfa1a SHA512 5f148d90302bde3d4ecc49db4ac0f0fcf25c8e5ec5808efe22e4420815190479ab689e3c9865837387c1f13f335a0fc78172ffac17f62dbe08e0f2036b749090
|
||||
DIST gopls-0.19.1-deps.tar.xz 1979012 BLAKE2B 01b14f7df3612bd5bc24e63eafe3a322d8fae595385b45d6c4c0a4bb98c7b6b0450bb2debee0377121a3bf66f6b06fcf2a996ca33da0f944091c9874d6a1ece4 SHA512 5acc79a72b1d0f4b3f1c87db21989e35333542b56c5ce59f74a4f48250cdc02b44c6edb00191b61625827098d259c5f58cc3c5413ddd4b080f6a252f6c31261f
|
||||
DIST gopls-0.19.1.tar.gz 8174631 BLAKE2B 9cf90bedc004deb98e877de1b660323c18e449fa639084ad20bf1802e888616413922fff79669ba3b4b9626ec756d4c841192c35052f58fdda514f61f21f4314 SHA512 ea9ae4bd5274fd37c61df198736e1db185bd9085de89371952179fbbfb1e53eceba555275f8443f416af7ff28194d046252f4096e534f0d1fa038a4cb621eb88
|
||||
|
||||
35
dev-go/gopls/gopls-0.19.1.ebuild
Normal file
35
dev-go/gopls/gopls-0.19.1.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="\"Go please\" is the official Go language server"
|
||||
HOMEPAGE="https://github.com/golang/tools/blob/master/gopls/README.md"
|
||||
SRC_URI="
|
||||
https://github.com/golang/tools/archive/refs/tags/gopls/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/douglarek/gentoo-deps/releases/download/${P}/${P}-vendor.tar.xz -> ${P}-deps.tar.xz
|
||||
"
|
||||
S=${WORKDIR}/tools-gopls-v${PV}/${PN}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.24.2"
|
||||
# TODO: fix test failure with deps tarball
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test -work "./..." || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gopls
|
||||
dodoc -r doc README.md
|
||||
}
|
||||
Reference in New Issue
Block a user