From 9b6b3b0bd37d22d43fec36641c050a441cdad3c9 Mon Sep 17 00:00:00 2001 From: layman Date: Sun, 25 Aug 2019 13:41:43 -0700 Subject: [PATCH] add deoplete-5.1 --- app-vim/deoplete/Manifest | 2 + app-vim/deoplete/deoplete-5.1.ebuild | 64 ++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 app-vim/deoplete/deoplete-5.1.ebuild diff --git a/app-vim/deoplete/Manifest b/app-vim/deoplete/Manifest index 1fa0fab..0d47a63 100644 --- a/app-vim/deoplete/Manifest +++ b/app-vim/deoplete/Manifest @@ -1,5 +1,7 @@ DIST deoplete-4.1.tar.gz 48574 BLAKE2B b4f6bf10ea82c02e245801412ba73fee75ae0d796708e8fd9b67c3105824a0c77127ed70c9018840560661b9665234bab5ea737dca997e1e9228a40122494135 SHA512 7f2f1991f4f16c54267ed530da8853ed6abf8bb684518b2e72e7a9b03b0a12627a940e2a23af10b3ae5bb8271144efef210848ebf9857021846d680ad034eeef DIST deoplete-5.0.tar.gz 50682 BLAKE2B f4f9d5e441028fefcbf1a38cccb5ef22d79e947d5031ab081dfcc9993ad2cefc670d8ab9f7124d616f4c5dd7c1d605449f4310ff1a66a771cb2c2ffe92090ebc SHA512 1e1b09ac7bfad537fbecb15c4b31bdf089a9a1283e4dbd3741fd22233e972cfbfda82ec9094f503a5a2c7ab57453701ac9ae8fe7623e73114a97a7b9a79ee311 +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.ebuild 1240 BLAKE2B 598c303882809d9dab5138fa019f78060147baba7c47f3d95b7124997d513e3c44cafe104a27d782a1893143ab1acb64fb85f402cb9bc70a889099d65efcf255 SHA512 d0576f55d89c7509bb34cf653d924211ff7a86c73dc9e3f089d6f8e9169e580ae7e54d7ae866523d71a416a2e4d3a63939d9114ea6f576041aaf6dbca4c8c010 MISC metadata.xml 408 BLAKE2B 1f5ec5fcd2a0eb563c06d7dce2c83a6857894ae78b7e51085c580020a389da4bfaac5bea151ab95ef4eb058ac935ac94eecb10a29efbe99bb19621be465e4bf3 SHA512 0e19e70d08fd2c1d088a9c4c7a8398ff88b05fbd3ed82ad0c82d63d84b646bead8a0f06df3aa82ecd2cf3984c840729ad1a539795bcf97c675895df802e47c4d diff --git a/app-vim/deoplete/deoplete-5.1.ebuild b/app-vim/deoplete/deoplete-5.1.ebuild new file mode 100644 index 0000000..963ae4d --- /dev/null +++ b/app-vim/deoplete/deoplete-5.1.ebuild @@ -0,0 +1,64 @@ +# 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[python] + ) +" + +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. " +}