From 916f40d933b1a22e119cdc37ffd020e736d5d248 Mon Sep 17 00:00:00 2001 From: layman Date: Thu, 13 Feb 2020 20:41:15 -0800 Subject: [PATCH] add deoplete-5.1-r2 --- app-vim/deoplete/Manifest | 1 + app-vim/deoplete/deoplete-5.1-r2.ebuild | 65 +++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 app-vim/deoplete/deoplete-5.1-r2.ebuild diff --git a/app-vim/deoplete/Manifest b/app-vim/deoplete/Manifest index 6ce082e..846c7e4 100644 --- a/app-vim/deoplete/Manifest +++ b/app-vim/deoplete/Manifest @@ -4,5 +4,6 @@ DIST deoplete-5.1.tar.gz 53605 BLAKE2B 8e135cca29b8828f4dfb314f0a1d00b447677b5f5 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-r2.ebuild 1248 BLAKE2B 540c0040d5330e90c1fe407fbd4d1cdb20cc650e1a22423fdea19fdf768bcc15b0cf854060f08d4b55f429a8f0127a1f2960a85bb69ba065f8a5bc66ac42303c SHA512 d276b36d14176199e6879832aaeedcde62541f32c0b6dbccf3506cde1ff86abb8c4c54634b7076f4a31df57a345cfcbc1c42a8d66a17ec03464ec45cbac2569a 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-r2.ebuild b/app-vim/deoplete/deoplete-5.1-r2.ebuild new file mode 100644 index 0000000..2fd0f55 --- /dev/null +++ b/app-vim/deoplete/deoplete-5.1-r2.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/pynvim + ) +" + +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. " +}