app-vim/nvim-lspconfig: Bump to 0.1.4_p20230718

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2023-07-20 08:15:51 +02:00
parent f0e8b2f91f
commit 962dcb23fd
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
2 changed files with 56 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST nvim-lspconfig-0.1.4.tar.gz 161878 BLAKE2B 176dc2585ad72a5349de5ce5b55622865ccd5850ae0f8eef05c4ecbac16fb9f5a5127c3e2d56e9cbb15fe0ef0896bce2bb753b1954bc744b6bf334abb491b174 SHA512 e6573ccff26018475e7e56c750ba7dfd20efd4f8e60be02b314a44866cb36b9d81b73355b2d90253d04db84815e645ee359dc12270dc57fd7c5f93a2ebae6d10
DIST nvim-lspconfig-0.1.4_p20230718.tar.gz 192810 BLAKE2B cd70b503c432ccba499327f969a5abca3e81192628b206508e0e1bbc0e95066b78045114ffb1a3a835a93be2ce5054ab4d76cdc5505d1007e62b825430a4b577 SHA512 921f61a8fabb224d503edd47043fb76e2593fac6a9853fe9da6427ae18bcb20ca8839bb4a23bdf90a7d6eb43be56bfbd6704d47dc81b39511a5cf22295dba2d4

View File

@ -0,0 +1,55 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
LUA_COMPAT=( lua5-{1..4} luajit )
inherit lua-single vim-plugin
COMMIT_ID="447443a2404adc323ad2efc7c0a346a904ce694c"
DESCRIPTION="vim plugin: Quickstart configurations for the Nvim LSP client"
HOMEPAGE="https://github.com/neovim/nvim-lspconfig"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="test" # needs network access
if [[ ${PV} == *9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/neovim/${PN}.git"
else
if [[ ${PV} == *_p* ]]; then
SRC_URI="https://github.com/neovim/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
else
SRC_URI="https://github.com/neovim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi
fi
BDEPEND="virtual/pkgconfig"
RDEPEND="app-editors/neovim"
DOCS=( README.md )
src_prepare(){
default
rm -r test || die
}
src_compile(){
# Don't do anything. The Makefile just runs some tests that need
# network access.
echo
}
src_install(){
# We need to get the major and minor version only.
insinto /usr/share/lua/$(ver_cut 1-2 $(lua_get_version))
doins -r lua/*
rm -r lua || die
vim-plugin_src_install
}