diff options
author | Alfred Persson Forsberg <cat@catcream.org> | 2024-01-05 14:03:24 +0100 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2024-01-05 21:45:40 -0800 |
commit | 5f4316f56d5c2ce79e9c8e13d3451012223083d6 (patch) | |
tree | 1792f8b09d3b8a70213a9c579416966438372ffa /dev-go/gopls | |
parent | app-containers/conmon: add 2.1.10 (diff) | |
download | gentoo-5f4316f56d5c2ce79e9c8e13d3451012223083d6.tar.gz gentoo-5f4316f56d5c2ce79e9c8e13d3451012223083d6.tar.bz2 gentoo-5f4316f56d5c2ce79e9c8e13d3451012223083d6.zip |
dev-go/gopls: add 0.14.2
Closes: https://bugs.gentoo.org/921395
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-go/gopls')
-rw-r--r-- | dev-go/gopls/Manifest | 2 | ||||
-rw-r--r-- | dev-go/gopls/gopls-0.14.2.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-go/gopls/Manifest b/dev-go/gopls/Manifest index ef95b47655a7..70ee4ba8bdf3 100644 --- a/dev-go/gopls/Manifest +++ b/dev-go/gopls/Manifest @@ -1,3 +1,5 @@ +DIST gopls-0.14.2-deps.tar.xz 23278388 BLAKE2B 586e3eebd7b285d9284e573c37eddaae902ffff09567669d6166122f7ea72649079943a1a4572704b0539d11d4fa212bc306452acc99cc0a645985bf216b7dab SHA512 7f439273bacda175494157d3e55da7721b0190ea36b5c261ae814a688d061a5613bd208d7b667bd0934626872bbf0eaab721843882a6e020017e0bae86a47eb5 +DIST gopls-0.14.2.tar.gz 3629861 BLAKE2B 1de712ec319319ef2f99722baf8d0397c2cadd72f94d5014b99b54ce2bea625ed517ebc453c8283ef357e38647d8d061fd55a3a65de53540f5c8c7c880bfc715 SHA512 a7b5010d268421c2d9288ea44bf2bf3554d55f7960e0e1c1e9351cf56c105a2c9df7df40cc7eb6b7b6d401c261ac1799074c68108b9876669c1460051050fcad DIST gopls-0.9.4-deps.tar.xz 21995720 BLAKE2B fddcc1b1417979baacf1c1d587b835dbd00638a5fc7fb8bafe54dbe0f399d3d6b0f6b48c0ecf682c563f714e6d8adcb74763bf5021a31b7e5ad3138768d1dc6c SHA512 705908bba1ce599b7749704e7a031df9d9a5d22aa0c57a3fd4e3cd591aa0b0c22e351222d6504afbbe2df47e0a939b596550c19e42eaf3700305ec6179cee18a DIST gopls-0.9.4.tar.gz 3159131 BLAKE2B f0a317dd23e74682e31e6587eb8e0a1d110472d2c98add5ef29592f9aa45036343da2e5d1f404f88875505ffd13019ff8a25ed8eda379eb8c3104d59e6a98e48 SHA512 3ee97b1090b355f79ae9a5a045a120ea6230b320d5b26fa0c1f42bf2288707922c5f111ef4dbdab7cd893245330eb9acc163cb452a2610941775b06536d921c1 DIST gopls-0.9.5-deps.tar.xz 22410984 BLAKE2B 5f15c1b8fa75fac10b0b126071968ff9640200844df82a0f1586f7d119b99ce70dad2e05c11230241c1b02428f7a17034750c6bf04062316371623539c618e12 SHA512 190a63a20c89c7a647495a9e8fc20181bc570e3dc8a6c85c944f5da8a76bcd9d29d72a05bf9186e578928cdc5f14d548229f59b8771c1e7a3c2d72579da7082a diff --git a/dev-go/gopls/gopls-0.14.2.ebuild b/dev-go/gopls/gopls-0.14.2.ebuild new file mode 100644 index 000000000000..972946ea9171 --- /dev/null +++ b/dev-go/gopls/gopls-0.14.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +ARCHIVE_URI="https://github.com/golang/tools/archive/refs/tags/gopls/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" +DESCRIPTION="\"Go please\" is the official Go language server" +HOMEPAGE="https://github.com/golang/tools/blob/master/gopls/README.md" +SLOT="0" +LICENSE="BSD" +BDEPEND=">=dev-lang/go-1.20" +SRC_URI=" + ${ARCHIVE_URI} + https://github.com/alfredfo/gopls-deps/raw/master/${P}-deps.tar.xz +" +# TODO: fix test failure with deps tarball +RESTRICT+=" test" + +S=${WORKDIR}/tools-gopls-v${PV}/${PN} + +src_prepare() { + default + rm internal/regtest/misc/vendor_test.go || die +} + +src_compile() { + ego build +} + +src_test() { + go test -work "./..." || die +} + +src_install() { + dobin gopls + dodoc -r doc README.md +} |