summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Freydank <holgersson@posteo.de>2022-09-01 20:18:35 +0200
committerJohn Helmert III <ajak@gentoo.org>2022-09-01 15:13:26 -0500
commit53f6610a7ce6b3add4532cd0ff54b4f345b17da2 (patch)
tree0083edbbb1ed3c53d5161f1c7db23bd5e9dd725c /app-vim/vim-go
parentdev-python/psycopg: add 3.1 (diff)
downloadgentoo-53f6610a7ce6b3add4532cd0ff54b4f345b17da2.tar.gz
gentoo-53f6610a7ce6b3add4532cd0ff54b4f345b17da2.tar.bz2
gentoo-53f6610a7ce6b3add4532cd0ff54b4f345b17da2.zip
app-vim/vim-go: Bump to 1.26
Closes: https://bugs.gentoo.org/548852 Closes: https://bugs.gentoo.org/833016 Signed-off-by: Nils Freydank <holgersson@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/26730 Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'app-vim/vim-go')
-rw-r--r--app-vim/vim-go/Manifest1
-rw-r--r--app-vim/vim-go/vim-go-1.26.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/app-vim/vim-go/Manifest b/app-vim/vim-go/Manifest
index 2a369c5b3955..c78940eb4127 100644
--- a/app-vim/vim-go/Manifest
+++ b/app-vim/vim-go/Manifest
@@ -1 +1,2 @@
DIST vim-go-1.20.tar.gz 232322 BLAKE2B f72664c79d781152748b6d5e48e9363a924e257eb0054931127d83fe4dc56d5b3e3592800ae3be3812609ec92c9b66fbcba8a1b1ca76891573408db14a0b2865 SHA512 1f5499dd33b72466127c1fbbd7a10dca41d9e8c3add6a0b2b3efa8dc0caf2aaa26311357a5b5eaecf2461a3465aabbf608a9ca35203139ead083bbcc806ea552
+DIST vim-go-1.26.tar.gz 285900 BLAKE2B 4492138e4689fbe2408717ecd7895fe2a98227a8399ebeaec6a23c21acc1eb23ee66dea3947df9fa62c17e0f980c48101b62e331e05c43503f9bba657ca0f9b8 SHA512 30722557c2c66e3601a001b490bf4949bf9949a2b41db838f0fa3fba91abb30469d3726cee293afdd1afd385871d62db09e9e9bf2acf48d947b469a5a19888ac
diff --git a/app-vim/vim-go/vim-go-1.26.ebuild b/app-vim/vim-go/vim-go-1.26.ebuild
new file mode 100644
index 000000000000..6f34df59ddbc
--- /dev/null
+++ b/app-vim/vim-go/vim-go-1.26.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit vim-plugin
+
+DESCRIPTION="vim plugin: Go development plugin for Vim"
+HOMEPAGE="https://github.com/fatih/vim-go"
+SRC_URI="https://github.com/fatih/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+RDEPEND="dev-go/gopls"
+
+DOCS=( README.md CHANGELOG.md )
+
+src_compile() {
+ # safely skip `make test` triggered by `make` as it runs `go get` commands
+ # TODO: Is :GoInstallBinaries still necessary? For details see:
+ # https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt
+ :;
+}
+
+src_install(){
+ insinto /usr/share/vim/vimfiles/
+ doins -r templates
+
+ vim-plugin_src_install
+}