From ab8785c99e62f48d4b25ccfdf485d168b1e62444 Mon Sep 17 00:00:00 2001 From: layman Date: Thu, 30 Jan 2020 18:12:54 -0800 Subject: [PATCH] add deoplete-5.1-r1 --- app-vim/deoplete/Manifest | 1 + app-vim/deoplete/deoplete-5.1-r1.ebuild | 65 +++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 app-vim/deoplete/deoplete-5.1-r1.ebuild diff --git a/app-vim/deoplete/Manifest b/app-vim/deoplete/Manifest index 0d47a63..6ce082e 100644 --- a/app-vim/deoplete/Manifest +++ b/app-vim/deoplete/Manifest @@ -3,5 +3,6 @@ DIST deoplete-5.0.tar.gz 50682 BLAKE2B f4f9d5e441028fefcbf1a38cccb5ef22d79e947d5 DIST deoplete-5.1.tar.gz 53605 BLAKE2B 8e135cca29b8828f4dfb314f0a1d00b447677b5f53af945ddda7923f9483eb54d1f44b634a04ff5fa69adcafb4a3709c79e3a7696d84dbcb1834ab7299492ba8 SHA512 2b4f837ad7b09aba61644b3599d94e9d3cd87b354e46a6b685aec88b3b362c733b9f100eb863405beb70f22a0493956deff1c2dba96d5c4fa1765e65ef948844 EBUILD deoplete-4.1.ebuild 1240 BLAKE2B 598c303882809d9dab5138fa019f78060147baba7c47f3d95b7124997d513e3c44cafe104a27d782a1893143ab1acb64fb85f402cb9bc70a889099d65efcf255 SHA512 d0576f55d89c7509bb34cf653d924211ff7a86c73dc9e3f089d6f8e9169e580ae7e54d7ae866523d71a416a2e4d3a63939d9114ea6f576041aaf6dbca4c8c010 EBUILD deoplete-5.0.ebuild 1240 BLAKE2B 598c303882809d9dab5138fa019f78060147baba7c47f3d95b7124997d513e3c44cafe104a27d782a1893143ab1acb64fb85f402cb9bc70a889099d65efcf255 SHA512 d0576f55d89c7509bb34cf653d924211ff7a86c73dc9e3f089d6f8e9169e580ae7e54d7ae866523d71a416a2e4d3a63939d9114ea6f576041aaf6dbca4c8c010 +EBUILD deoplete-5.1-r1.ebuild 1265 BLAKE2B 321e91e62437cfae4f038359a6574471c249d241dd3031e103c2e426e4b20e6584fa10cb9e7b6183849fdba6ce6574456ef154be6534d8b0485faee4c30b199a SHA512 5db5674b76404dcfcf5f381155976b21c2159fde9521881b4aaf3138988ed2a1ed8cd13c32c960d87b3f84fd71cc09ad8c69cd6b96419ebdbbe71ac259a31960 EBUILD deoplete-5.1.ebuild 1240 BLAKE2B 598c303882809d9dab5138fa019f78060147baba7c47f3d95b7124997d513e3c44cafe104a27d782a1893143ab1acb64fb85f402cb9bc70a889099d65efcf255 SHA512 d0576f55d89c7509bb34cf653d924211ff7a86c73dc9e3f089d6f8e9169e580ae7e54d7ae866523d71a416a2e4d3a63939d9114ea6f576041aaf6dbca4c8c010 MISC metadata.xml 408 BLAKE2B 1f5ec5fcd2a0eb563c06d7dce2c83a6857894ae78b7e51085c580020a389da4bfaac5bea151ab95ef4eb058ac935ac94eecb10a29efbe99bb19621be465e4bf3 SHA512 0e19e70d08fd2c1d088a9c4c7a8398ff88b05fbd3ed82ad0c82d63d84b646bead8a0f06df3aa82ecd2cf3984c840729ad1a539795bcf97c675895df802e47c4d diff --git a/app-vim/deoplete/deoplete-5.1-r1.ebuild b/app-vim/deoplete/deoplete-5.1-r1.ebuild new file mode 100644 index 0000000..b254155 --- /dev/null +++ b/app-vim/deoplete/deoplete-5.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vim-plugin + +DESCRIPTION="Dark powered asynchronous completion framework for neovim" +HOMEPAGE="https://github.com/Shougo/deoplete.nvim" +SRC_URI="https://github.com/Shougo/deoplete.nvim/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86 ~arm" +LICENSE="MIT" +SLOT="0" +IUSE="+doc +vim +nvim" +REQUIRED_USE=" + || ( + vim + nvim + ) +" + +DEPEND="" +RDEPEND=" + vim? ( + app-editors/vim[python] + app-vim/vim-hug-neovim-rpc + app-vim/nvim-yarp + ) + nvim? ( + app-editors/neovim + dev-python/neovim-python-client + ) +" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + mv deoplete.nvim-${PV} "${P}" +} + +src_compile() { + true +} + +src_install() { + insinto /usr/share/vim/vimfiles + doins -r autoload + use doc && doins -r doc + doins -r plugin + doins -r rplugin + use doc && dodoc README.md +} + +pkg_postinst() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done. " +} + +pkg_postrm() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1 + echo "done. " +}