Gentoo Archives: gentoo-commits

From: John Helmert III <ajak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/vim-go/
Date: Thu, 01 Sep 2022 20:13:41
Message-Id: 1662063206.53f6610a7ce6b3add4532cd0ff54b4f345b17da2.ajak@gentoo
1 commit: 53f6610a7ce6b3add4532cd0ff54b4f345b17da2
2 Author: Nils Freydank <holgersson <AT> posteo <DOT> de>
3 AuthorDate: Thu Sep 1 18:18:35 2022 +0000
4 Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 20:13:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53f6610a
7
8 app-vim/vim-go: Bump to 1.26
9
10 Closes: https://bugs.gentoo.org/548852
11 Closes: https://bugs.gentoo.org/833016
12 Signed-off-by: Nils Freydank <holgersson <AT> posteo.de>
13 Closes: https://github.com/gentoo/gentoo/pull/26730
14 Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
15
16 app-vim/vim-go/Manifest | 1 +
17 app-vim/vim-go/vim-go-1.26.ebuild | 32 ++++++++++++++++++++++++++++++++
18 2 files changed, 33 insertions(+)
19
20 diff --git a/app-vim/vim-go/Manifest b/app-vim/vim-go/Manifest
21 index 2a369c5b3955..c78940eb4127 100644
22 --- a/app-vim/vim-go/Manifest
23 +++ b/app-vim/vim-go/Manifest
24 @@ -1 +1,2 @@
25 DIST vim-go-1.20.tar.gz 232322 BLAKE2B f72664c79d781152748b6d5e48e9363a924e257eb0054931127d83fe4dc56d5b3e3592800ae3be3812609ec92c9b66fbcba8a1b1ca76891573408db14a0b2865 SHA512 1f5499dd33b72466127c1fbbd7a10dca41d9e8c3add6a0b2b3efa8dc0caf2aaa26311357a5b5eaecf2461a3465aabbf608a9ca35203139ead083bbcc806ea552
26 +DIST vim-go-1.26.tar.gz 285900 BLAKE2B 4492138e4689fbe2408717ecd7895fe2a98227a8399ebeaec6a23c21acc1eb23ee66dea3947df9fa62c17e0f980c48101b62e331e05c43503f9bba657ca0f9b8 SHA512 30722557c2c66e3601a001b490bf4949bf9949a2b41db838f0fa3fba91abb30469d3726cee293afdd1afd385871d62db09e9e9bf2acf48d947b469a5a19888ac
27
28 diff --git a/app-vim/vim-go/vim-go-1.26.ebuild b/app-vim/vim-go/vim-go-1.26.ebuild
29 new file mode 100644
30 index 000000000000..6f34df59ddbc
31 --- /dev/null
32 +++ b/app-vim/vim-go/vim-go-1.26.ebuild
33 @@ -0,0 +1,32 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit vim-plugin
40 +
41 +DESCRIPTION="vim plugin: Go development plugin for Vim"
42 +HOMEPAGE="https://github.com/fatih/vim-go"
43 +SRC_URI="https://github.com/fatih/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +KEYWORDS="~amd64"
47 +RESTRICT="test"
48 +
49 +RDEPEND="dev-go/gopls"
50 +
51 +DOCS=( README.md CHANGELOG.md )
52 +
53 +src_compile() {
54 + # safely skip `make test` triggered by `make` as it runs `go get` commands
55 + # TODO: Is :GoInstallBinaries still necessary? For details see:
56 + # https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt
57 + :;
58 +}
59 +
60 +src_install(){
61 + insinto /usr/share/vim/vimfiles/
62 + doins -r templates
63 +
64 + vim-plugin_src_install
65 +}