diff --git a/app-vim/nvim-lspconfig/Manifest b/app-vim/nvim-lspconfig/Manifest index a1814ed..d1d7ece 100644 --- a/app-vim/nvim-lspconfig/Manifest +++ b/app-vim/nvim-lspconfig/Manifest @@ -1 +1 @@ -DIST nvim-lspconfig-0.1_p20210824.tar.gz 94320 BLAKE2B 1afffeeb6bb54318d6422c88d64affcc4c47e5860efca9a759c1f7b5ab28beb1651aceeb3f663d27d90da5e352c9f2b54fca5825fcb8def1b3918dcab32b806e SHA512 d8b403ed0dd127e903c716c9fcf6cad08fb158cb54fa487e574d645bddd158c5d6f40c3f4b40da45f763654094a20bc9b1a28a8d41f4592d34362c0c49e0af14 +DIST nvim-lspconfig-0.1_p20210829.tar.gz 96432 BLAKE2B d95fedf1e1e87de19559cee6749c6804b705067d053daf17469baaea9e592763c316ab388c0d0dbfad8c8bb0525474aed1c3c7ef1eb3381ac3f87ce115289442 SHA512 399ba9adc2a5cf459c492961e6e5f8b4f6d6d562ad8ac2ec27573a87bfa49c9fc0f6e5bf181a5051c3c59ddad7336bad693803f835928fb503364b5cb5909acf diff --git a/app-vim/nvim-lspconfig/nvim-lspconfig-0.1_p20210824.ebuild b/app-vim/nvim-lspconfig/nvim-lspconfig-0.1_p20210829.ebuild similarity index 64% rename from app-vim/nvim-lspconfig/nvim-lspconfig-0.1_p20210824.ebuild rename to app-vim/nvim-lspconfig/nvim-lspconfig-0.1_p20210829.ebuild index 1299840..37419be 100644 --- a/app-vim/nvim-lspconfig/nvim-lspconfig-0.1_p20210824.ebuild +++ b/app-vim/nvim-lspconfig/nvim-lspconfig-0.1_p20210829.ebuild @@ -3,15 +3,18 @@ EAPI=7 -inherit vim-plugin -COMMIT_ID="b8d1a5a179dc62fe9e14c0919aa1d4023bdb9ae6" +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua-single vim-plugin +COMMIT_ID="0eccc1a0ebf909aecfa1ac238d940061162ae84f" 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" -RESTRICT="test" # need network access +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="test" # needs network access if [[ ${PV} == *9999 ]] then @@ -22,7 +25,9 @@ else S="${WORKDIR}/${PN}-${COMMIT_ID}" fi -BDEPEND=">=app-editors/neovim-0.5.0" +BDEPEND="virtual/pkgconfig" +RDEPEND=">=app-editors/neovim-0.5.0" + DOCS=( README.md ) src_prepare(){ @@ -38,5 +43,9 @@ src_compile(){ } 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 }