mirror of
https://github.com/TrentSPalmer/gentoo-overlay-trent.git
synced 2024-11-24 18:51:29 -08:00
add app-vim, app-nvim, app-shells
This commit is contained in:
parent
8f5c0a2e2a
commit
32bfec67d0
7
app-nvim/README.md
Normal file
7
app-nvim/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
This is a custom category. To enable, create a text file
|
||||
`/etc/portage/categories`
|
||||
|
||||
```conf
|
||||
# /etc/portage/categories
|
||||
app-nvim
|
||||
```
|
2
app-nvim/deoplete-jedi/Manifest
Normal file
2
app-nvim/deoplete-jedi/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
EBUILD deoplete-jedi-20171019c.ebuild 568 SHA256 74bcce9a68a46eb78ea39577a4d6ec887914908d2da8e683ffc0d7665639b331 SHA512 b19dcac91578259a2cbbcb9eb2a56800f3c2e7552fea5bf4ff332c40898ebe05f7bc6af9a5e6e45c5b2c566f57ba2e3c0c70b2e9ebb94a335c96f9a9e0bde43d WHIRLPOOL d2b41897f5d0a45faca1b63dd2b5ce0e9d77671f5533e4b579e73f0c619bd7d13d36bc9cbccaeb2b0c0ef47af65e24e85d54ab0034b361542a3456aa5087c9e3
|
||||
EBUILD deoplete-jedi-20171216a.ebuild 568 SHA256 b9d30bb099c7ce85958511b8b7510aaeaa6bff3d6f09ee34a0d84453c13844f8 SHA512 e9866548d33c26d013e19722066f204ad9b32c04d62bfd90bd8071717952098ca96b69beb01a1ffd44a21b7798c43beaec7959cced1d8bb8d83d84414b3de922 WHIRLPOOL db83e79876445669b57fc47d5aaad0477425c2715fb699b87fb6868b92b0a1c7f2229366b3858581fc4c500f8a797ec1a14d6544cbb9129aa310e34217df82cf
|
31
app-nvim/deoplete-jedi/deoplete-jedi-20171019c.ebuild
Normal file
31
app-nvim/deoplete-jedi/deoplete-jedi-20171019c.ebuild
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="deoplete-jedi"
|
||||
HOMEPAGE="https://github.com/zchee/deoplete-jedi"
|
||||
EGIT_REPO_URI="https://github.com/zchee/deoplete-jedi.git"
|
||||
EGIT_COMMIT="ba16d628484c3ba2c86f3a3350f3c12fd9df283b"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-nvim/deoplete
|
||||
dev-python/jedi"
|
||||
|
||||
src_compile() {
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nvim/runtime
|
||||
doins -r rplugin
|
||||
dodoc README.md LICENSE
|
||||
}
|
31
app-nvim/deoplete-jedi/deoplete-jedi-20171216a.ebuild
Normal file
31
app-nvim/deoplete-jedi/deoplete-jedi-20171216a.ebuild
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="deoplete-jedi"
|
||||
HOMEPAGE="https://github.com/zchee/deoplete-jedi"
|
||||
EGIT_REPO_URI="https://github.com/zchee/deoplete-jedi.git"
|
||||
EGIT_COMMIT="715acf2847b8fa8d436a10a4c3dfd7187d53b72f"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-nvim/deoplete
|
||||
dev-python/jedi"
|
||||
|
||||
src_compile() {
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nvim/runtime
|
||||
doins -r rplugin
|
||||
dodoc README.md LICENSE
|
||||
}
|
2
app-nvim/deoplete/Manifest
Normal file
2
app-nvim/deoplete/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
EBUILD deoplete-20171019b.ebuild 1062 SHA256 a53c514a24fe79afdb0b5def077ce6233692c2d72b1150a43b00a9528a3a21a9 SHA512 514a18c5040ca102aa269af0d45cf5f8d16d361448874b9e63affdb240bcaf452cf0cec6f831461f488cb9b0c7057eef1151b426499b18fbf249aa9f087f5cdd WHIRLPOOL a3c7ac20328dcde4602f4dc85cc2d41e5e6e7ea16316e520655d5dd6991a4951301355d01d2295a40728687744e895a1bf0ecf5a7c958d4fe4ed8d4d24b728b9
|
||||
EBUILD deoplete-20171216a.ebuild 1062 SHA256 97b1917095e1c64526dd4ba71b17f8c8d42b66b95cc3fa5e3c748d8620bf5468 SHA512 976cc413fdcb88ca3be4b5c7b4d351f4a496cb16c0905cf4b13e5c942e2aa3c9ea8d7de52edffdb41c3b860a8387ae5f46cb12551d4a00c73f15d43d7267e611 WHIRLPOOL c822540ce814650ea9feeb10aa495cee7377256ee8982a1258ec1b06b32cae7b942bd1c2fd4cbc30225991acd41f954f2005cc96f5a742b48ce539437cbc9c59
|
45
app-nvim/deoplete/deoplete-20171019b.ebuild
Normal file
45
app-nvim/deoplete/deoplete-20171019b.ebuild
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="Dark powered asynchronous completion framework for neovim"
|
||||
HOMEPAGE="https://github.com/Shougo/deoplete.nvim"
|
||||
EGIT_REPO_URI="https://github.com/Shougo/deoplete.nvim.git"
|
||||
EGIT_COMMIT="45f23f1586e7edc13c1fafca201a33112a4700f7"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-editors/neovim[python]"
|
||||
|
||||
src_compile() {
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nvim/runtime
|
||||
doins -r autoload
|
||||
doins -r doc
|
||||
doins -r plugin
|
||||
doins -r rplugin
|
||||
dodoc README.md LICENSE
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
45
app-nvim/deoplete/deoplete-20171216a.ebuild
Normal file
45
app-nvim/deoplete/deoplete-20171216a.ebuild
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="Dark powered asynchronous completion framework for neovim"
|
||||
HOMEPAGE="https://github.com/Shougo/deoplete.nvim"
|
||||
EGIT_REPO_URI="https://github.com/Shougo/deoplete.nvim.git"
|
||||
EGIT_COMMIT="28e2a57d891b69080ddd3a1fc56c69c78b3c21bc"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-editors/neovim[python]"
|
||||
|
||||
src_compile() {
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nvim/runtime
|
||||
doins -r autoload
|
||||
doins -r doc
|
||||
doins -r plugin
|
||||
doins -r rplugin
|
||||
dodoc README.md LICENSE
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
3
app-shells/oh-my-zsh/Manifest
Normal file
3
app-shells/oh-my-zsh/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
EBUILD oh-my-zsh-20171017.ebuild 1724 SHA256 b768a4255f2dcdebc155d3efa0f67b962e6696e90c4059951e0056c071ed1e2c SHA512 d533e19853ac48494ba5938d22aab4b05e6fac8a59ea943971b9f04cecdb140b81cc90dab0c6860af13b7c251fc1e3da78660393da539cf591a5cdb3319f3c16 WHIRLPOOL d161b76a50500362a6aef24b99b7920de5909b9b194da5f1a1d19b468787d22bb399dbe7cc94061bada60ac70dfefea0938457a78fd8ab743a718f68b44e8e7e
|
||||
EBUILD oh-my-zsh-20171217.ebuild 1724 SHA256 b1176f5bc18187de1b05d5304245f3be952be76b5cafdbe65eb3112c61fae5c8 SHA512 fff94a7c8ef7f97b20dafa0ef75b2bea2e12ff1b7c9c895626499e46d4ff9ebe2bb8437c04489b4f2f4c28a922586f7e1addb51cc288ec1b7b6048147d383cd8 WHIRLPOOL a4682555544bc7a0e52a4023f0bd85e80b171b19da0638866c35c0b2434978126754ed01cbf2cc183e501c0f060ba6a152c3969a6291bed74af048932dad2e00
|
||||
MISC README.md 118 SHA256 5a9aa2bd668de37fa8332199348b9d25b69af902b9e9ea28402667dff3e436a7 SHA512 75f47f14bf3e4240207f0a9b0c24d87d5ed63d707284fc51b92cc734d948418da102c19365e0bea8e2c8e35c76cc653efa409c5fc323195b0995a84ec7b88072 WHIRLPOOL 95a3f01fe609977762b9f53c2c28a9defec90d020afb78fdd7abae6f094ffa1649804d5ae8c6f50b3a7180a338bddabedba02f1c5eb85b07272e06ec3fee5b0c
|
3
app-shells/oh-my-zsh/README.md
Normal file
3
app-shells/oh-my-zsh/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
```
|
||||
wget https://raw.githubusercontent.com/vaeth/mv-overlay/master/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild
|
||||
```
|
60
app-shells/oh-my-zsh/oh-my-zsh-20171017.ebuild
Normal file
60
app-shells/oh-my-zsh/oh-my-zsh-20171017.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://github.com/robbyrussell/${PN}.git"
|
||||
EGIT_COMMIT="accdcb2f1c3cca40527fef1fe4ab2d39eb6cf897"
|
||||
inherit git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A ready-to-use zsh configuration with plugins"
|
||||
HOMEPAGE="https://github.com/robbyrussell/oh-my-zsh"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="ZSH"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
PROPERTIES="live"
|
||||
|
||||
RDEPEND="app-shells/zsh"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
ZSH_EDEST="${EPREFIX}${ZSH_DEST}"
|
||||
ZSH_TEMPLATE="templates/zshrc.zsh-template"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/${ZSH_TEMPLATE}'
|
||||
or copy a modification of that file to your ~/.zshrc
|
||||
If you just want to try, enter the above command in your zsh."
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
for i in "${S}"/tools/*install* "${S}"/tools/*upgrade*
|
||||
do test -f "${i}" && : >"${i}"
|
||||
done
|
||||
|
||||
sed -i -e 's!^ZSH=.*$!ZSH='"${ZSH_EDEST}"'!' \
|
||||
-e 's!\(^export ZSH=.*$\)!# \1\nexport ZSH='"${ZSH_DEST}"'!' \
|
||||
-e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||
"${S}/${ZSH_TEMPLATE}"
|
||||
|
||||
sed -i -e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||
"${S}/plugins/dirpersist/dirpersist.plugin.zsh"
|
||||
|
||||
sed -i -e '/zstyle.*cache/d' "${S}/lib/completion.zsh"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${ZSH_DEST}"
|
||||
doins -r *
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
60
app-shells/oh-my-zsh/oh-my-zsh-20171217.ebuild
Normal file
60
app-shells/oh-my-zsh/oh-my-zsh-20171217.ebuild
Normal file
@ -0,0 +1,60 @@
|
||||
# Copyright 2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://github.com/robbyrussell/${PN}.git"
|
||||
EGIT_COMMIT="c3b072eace1ce19a48e36c2ead5932ae2d2e06d9"
|
||||
inherit git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A ready-to-use zsh configuration with plugins"
|
||||
HOMEPAGE="https://github.com/robbyrussell/oh-my-zsh"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="ZSH"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
PROPERTIES="live"
|
||||
|
||||
RDEPEND="app-shells/zsh"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
ZSH_EDEST="${EPREFIX}${ZSH_DEST}"
|
||||
ZSH_TEMPLATE="templates/zshrc.zsh-template"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/${ZSH_TEMPLATE}'
|
||||
or copy a modification of that file to your ~/.zshrc
|
||||
If you just want to try, enter the above command in your zsh."
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
for i in "${S}"/tools/*install* "${S}"/tools/*upgrade*
|
||||
do test -f "${i}" && : >"${i}"
|
||||
done
|
||||
|
||||
sed -i -e 's!^ZSH=.*$!ZSH='"${ZSH_EDEST}"'!' \
|
||||
-e 's!\(^export ZSH=.*$\)!# \1\nexport ZSH='"${ZSH_DEST}"'!' \
|
||||
-e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||
"${S}/${ZSH_TEMPLATE}"
|
||||
|
||||
sed -i -e 's!~/.oh-my-zsh!'"${ZSH_EDEST}"'!' \
|
||||
"${S}/plugins/dirpersist/dirpersist.plugin.zsh"
|
||||
|
||||
sed -i -e '/zstyle.*cache/d' "${S}/lib/completion.zsh"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${ZSH_DEST}"
|
||||
doins -r *
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
2
app-shells/zsh-autosuggestions/Manifest
Normal file
2
app-shells/zsh-autosuggestions/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
EBUILD zsh-autosuggestions-20171017.ebuild 818 SHA256 5c88e6001cb45cbdedb49c0b8cc333f4423c46b01a8ec2b0eccd8adecf254929 SHA512 52c018349d9eaa2d1c35ab8d057109450036a914b8fde1947780ec3f447f9079f174ef5bf105551c1435536bb903dedbc18658ba4c22c32e679e56752157b355 WHIRLPOOL d98f5884e286a97bfe416fb35d52478b4ddfd525b250ac428ed28ca86c828884af43e4c6063993d7df233b540ec7d515dd065bbcee092f17319e422abf1e154d
|
||||
EBUILD zsh-autosuggestions-20171217.ebuild 818 SHA256 d136614ed20e51c1fad5098cc32c39da242866a43fb44ee4838cbff61fe2a14a SHA512 fc75d2850306c633c1871f12b595b714e8886df25b02adeb883d4d03d4f0bf7d8826abc3901af20326954acacd5a9b7d410b77ece4c110553a7d9fc7f2d271a2 WHIRLPOOL b26a31227eba9ca36aa8ae210cd31c5c0e1e5f3ec28e28949e7d9add76a72dddc49fd077cf13aac26ee3d5d10f2932498427c78532ca3d3023a2d08ff2e9c358
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Fish shell like fast/unobtrusive autosuggestions for zsh"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-autosuggestions"
|
||||
EGIT_COMMIT="d6d9a469819c2bddb4d4f1d0d353070af96226e2"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="${HOMEPAGE}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-shells/zsh"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/zsh-autosuggestions.zsh'"
|
||||
|
||||
src_install() {
|
||||
insinto "${ZSH_DEST}"
|
||||
doins -r *
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Fish shell like fast/unobtrusive autosuggestions for zsh"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-autosuggestions"
|
||||
EGIT_COMMIT="c7d4a85031c101ef9bce0018096622087894dd09"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="${HOMEPAGE}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-shells/zsh"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/zsh-autosuggestions.zsh'"
|
||||
|
||||
src_install() {
|
||||
insinto "${ZSH_DEST}"
|
||||
doins -r *
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
2
app-shells/zsh-syntax-highlighting/Manifest
Normal file
2
app-shells/zsh-syntax-highlighting/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
EBUILD zsh-syntax-highlighting-20171017.ebuild 973 SHA256 b9168317da38e603486753f05ab8d01229a1d098516a99fbd0d57083722eb158 SHA512 892117516875ff761fcba5f5f1ea4098071cb9f1ad1fc2284444126f746cb86d9a73de73f3df6da2fb8e0dd2c21c92abf44693fbc5d62f2c13e2c358ee40acf5 WHIRLPOOL 8baa3301feced544ce4cb0cafdccdda00d813364aa6b0a8dca9efe21ac87e2bcba9f2834d3c887ad1a6de6ba561f653b5d38119a50fa23e19f334f46da024d0b
|
||||
EBUILD zsh-syntax-highlighting-20171217.ebuild 973 SHA256 638a3c0fe414fde2e99b9a464d7891f4db67ae5adf128a31393015d8076adb97 SHA512 2daab8ed426727002d59fd787d39a48f3242e5b4207e7bfe0db7289bd6a51ef38291ba6bf761e99533aa4fac00e93de32a7832ee6325e98c91ef83f2a597cfc1 WHIRLPOOL 3e510e3c309d1bc0c77b0e8ab1f600ec340fb54d9a0bc9adf008e41f2301d7da2d6c796d2ad43a6d76d484bd99f475e65efd2b2607f754ebb5ffb54089cb5670
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Fish shell like fast/unobtrusive autosuggestions for zsh"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="${HOMEPAGE}"
|
||||
EGIT_COMMIT="c41356c3f62328122c091b6624cdfc22c62214a4"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-shells/zsh"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/zsh-syntax-highlighting.zsh'"
|
||||
|
||||
MAKE_ARGS=(
|
||||
"SHARE_DIR=${ED}/usr/share/zsh/site-contrib/${PN}"
|
||||
"DOC_DIR=${ED}/usr/share/doc/${PF}"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake "${MAKE_ARGS[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${MAKE_ARGS[@]}" install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils git-r3 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Fish shell like fast/unobtrusive autosuggestions for zsh"
|
||||
HOMEPAGE="https://github.com/zsh-users/zsh-syntax-highlighting"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="${HOMEPAGE}"
|
||||
EGIT_COMMIT="b07ada1255b74c25fbc96901f2b77dc4bd81de1a"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-shells/zsh"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
ZSH_DEST="/usr/share/zsh/site-contrib/${PN}"
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
|
||||
DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add to your ~/.zshrc
|
||||
source '${ZSH_DEST}/zsh-syntax-highlighting.zsh'"
|
||||
|
||||
MAKE_ARGS=(
|
||||
"SHARE_DIR=${ED}/usr/share/zsh/site-contrib/${PN}"
|
||||
"DOC_DIR=${ED}/usr/share/doc/${PF}"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake "${MAKE_ARGS[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${MAKE_ARGS[@]}" install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
elog "${DOC_CONTENTS}"
|
||||
}
|
3
app-vim/lightline/Manifest
Normal file
3
app-vim/lightline/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
EBUILD lightline-20171018-r1.ebuild 1211 SHA256 4b4fbf03dae4a1b6cf37e9cb2828aa0bec3c6a68c2af6e4a4ac1fd60dc4f9542 SHA512 257e209939a85718ec8eb27a664d6bbfcf880cb7486fe564e724747ea1336610a0877cdb67c6ba4e7405ce9f7e4554d1cb1980ed5817c100fa964bb78a69d547 WHIRLPOOL 4a864918a645b81369575b5329842eafa8543b63f5792281b469901a6f505017379ed24780be37606010e27ebe259757a336146ee767f1c0e9b0f629fba8a1ff
|
||||
EBUILD lightline-20171216-r1.ebuild 1211 SHA256 7919984fdc79becd3d032f732c8a01bd5a6bb2467a1c190854becdd054b411f8 SHA512 56a4ba25719379906c7b194ddcedef28b9647eeb62c843bff27491e4280aee83a6c726f56af816ab375ea6dd7001c149c2747e6e85de12c004925b82b36d3f3b WHIRLPOOL 314234758cf46973f10c90d21d4ef3bd823b4408bbbf8d7c4318e5bcfd4c8ba2743ec4b8122d0bddbf0ff903a33f04e4419ad73bbb3d899b2b7dc8ebebcbfdd1
|
||||
MISC README.md 78 SHA256 38ed5e614fc2246f819671c612fdb3a4b1f153a4879f8f69813e2e20deb3b5ed SHA512 d843934c1db4d8aa3fd2c53a0add06cb642b8e5132af7178dce7776bc2de181c37128c1999c939ec6103ba467b824b78fdd8fe3594667d0c95d4197fa6ad3a5f WHIRLPOOL 2f0df423aad3294af26c9ce47f1af9e4f61950099ea09ed2a6da90431210504abac21ec4c6dffaee8f31bbc78ece3cf9b91f00f613282a9393dc38ec64ece6ca
|
2
app-vim/lightline/README.md
Normal file
2
app-vim/lightline/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
## For both vim and neovim
|
||||
packaged so that it works with both vim and neovim
|
47
app-vim/lightline/lightline-20171018-r1.ebuild
Normal file
47
app-vim/lightline/lightline-20171018-r1.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin git-r3
|
||||
|
||||
|
||||
EGIT_REPO_URI="https://github.com/itchyny/lightline.vim.git"
|
||||
EGIT_COMMIT="89b32d170405b9085bed9cfb6bc4bab8cd8bd81c"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
PROPERTIES="live"
|
||||
|
||||
DESCRIPTION="vim plugin: A light and configurable statusline/tabline"
|
||||
HOMEPAGE="https://github.com/itchyny/lightline.vim/"
|
||||
LICENSE="vim.org"
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS="You may have to update \$TERM in your environment,
|
||||
see https://github.com/itchyny/lightline.vim"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nvim/runtime
|
||||
doins -r autoload
|
||||
doins -r doc
|
||||
doins -r plugin
|
||||
vim-plugin_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${DOC_CONTENTS}"
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
47
app-vim/lightline/lightline-20171216-r1.ebuild
Normal file
47
app-vim/lightline/lightline-20171216-r1.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin git-r3
|
||||
|
||||
|
||||
EGIT_REPO_URI="https://github.com/itchyny/lightline.vim.git"
|
||||
EGIT_COMMIT="b19faca129f7921766c0a32a7c378dc89a61e590"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
PROPERTIES="live"
|
||||
|
||||
DESCRIPTION="vim plugin: A light and configurable statusline/tabline"
|
||||
HOMEPAGE="https://github.com/itchyny/lightline.vim/"
|
||||
LICENSE="vim.org"
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
DISABLE_AUTOFORMATTING="true"
|
||||
DOC_CONTENTS="You may have to update \$TERM in your environment,
|
||||
see https://github.com/itchyny/lightline.vim"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nvim/runtime
|
||||
doins -r autoload
|
||||
doins -r doc
|
||||
doins -r plugin
|
||||
vim-plugin_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${DOC_CONTENTS}"
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
echo -n "Updating neovim (nvim) help tags..."
|
||||
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
|
||||
echo "done. "
|
||||
}
|
2
app-vim/neocomplete/Manifest
Normal file
2
app-vim/neocomplete/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
EBUILD neocomplete-20171018.ebuild 733 SHA256 e609b3090e458decf49d9e8fade6a8e9a49311ba04e2fb46ebc524b8631c9aa8 SHA512 9cd84179168cd67708533492c70e0b58629bd4531961c9920ad6483e2a0938a77d5f0ccbed819be8b2338697fd54a0842abb2668d6c9ca074d319a62ed0561fa WHIRLPOOL 719539d9a4c07f76b2b232fd35b51b1f3a39cc72e78527a5afa8bc57e11e151e454e8e3be0eec3c8070dab8a2f4c0306da7167c3af57236ffe51a2a921d8272b
|
||||
EBUILD neocomplete-20171216.ebuild 733 SHA256 d6e7bbb120acced4895aa3883c752aac41fcb5e481d49c025a0960883d96e809 SHA512 167680636449b47e2b377424208cbf034b38819194401ea91e204bb4ecd83d883eeb59eaeb6c83e4624e4b3203d0daa8adaf086647c39bef9174fbaced0baed6 WHIRLPOOL f7fabf9a2f2faa9c19c307ffda19f70b863231f253c17c310bba1190862553112eb8bf3ada8ccb569b69bb6e2980b0ca6647816d1a8d6dd1b8fa75572e74d9e3
|
37
app-vim/neocomplete/neocomplete-20171018.ebuild
Normal file
37
app-vim/neocomplete/neocomplete-20171018.ebuild
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin git-r3
|
||||
|
||||
|
||||
DESCRIPTION="vim plugin: Next generation completion framework after neocomplcache"
|
||||
HOMEPAGE="https://github.com/Shougo/neocomplete.vim"
|
||||
EGIT_REPO_URI="https://github.com/Shougo/neocomplete.vim.git"
|
||||
EGIT_COMMIT="970cba438d3baf8239ccaaf53105bf880732507f"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| (
|
||||
>app-editors/vim-7.3.885[lua]
|
||||
>app-editors/gvim-7.3.885[lua] )
|
||||
!app-vim/neocomplcache"
|
||||
|
||||
VIM_PLUGIN_HELPFILES=""
|
||||
VIM_PLUGIN_HELPTEXT=""
|
||||
VIM_PLUGIN_HELPURI=""
|
||||
VIM_PLUGIN_MESSAGES=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
egit_clean
|
||||
vim-plugin_src_install
|
||||
}
|
37
app-vim/neocomplete/neocomplete-20171216.ebuild
Normal file
37
app-vim/neocomplete/neocomplete-20171216.ebuild
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin git-r3
|
||||
|
||||
|
||||
DESCRIPTION="vim plugin: Next generation completion framework after neocomplcache"
|
||||
HOMEPAGE="https://github.com/Shougo/neocomplete.vim"
|
||||
EGIT_REPO_URI="https://github.com/Shougo/neocomplete.vim.git"
|
||||
EGIT_COMMIT="46791e7692e07384a089d125c5c536246698d04c"
|
||||
SRC_URI=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| (
|
||||
>app-editors/vim-7.3.885[lua]
|
||||
>app-editors/gvim-7.3.885[lua] )
|
||||
!app-vim/neocomplcache"
|
||||
|
||||
VIM_PLUGIN_HELPFILES=""
|
||||
VIM_PLUGIN_HELPTEXT=""
|
||||
VIM_PLUGIN_HELPURI=""
|
||||
VIM_PLUGIN_MESSAGES=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
egit_clean
|
||||
vim-plugin_src_install
|
||||
}
|
4
app-vim/vimscripts-autoclose/Manifest
Normal file
4
app-vim/vimscripts-autoclose/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
DIST vimscripts-autoclose-1.2.tar.gz 3634 SHA256 c72434927ba80ed09f0f4ba9f3b1eaba0fa26b02c4cc6944fcb05b0371c78388 SHA512 3c99453b9b31c3e0247006240876dca65483a7e19b8249166a64ac2698e043771b3cd98f2b40d6117809e88a02ade32c35c2d89691896b829b8807805a36eb48 WHIRLPOOL cc448fdf581146fd9599083b5709be6ce1f8b4531886f5ee87b7fcc91e3ce563c6392224492e9d296c4109ed9c5c6320ec6b9ff4d9ac61b7a288824418083d41
|
||||
EBUILD vimscripts-autoclose-1.2-r1.ebuild 576 SHA256 7ffac50f5e718aa2e3eb18fb9e609ee94a85b8dff65cc155076f29589bf7e98b SHA512 578f6e516ffeb2c760242f7a8fbe6af72087ab1c86f5a1932683d025bc6b65284f255096a5f0d57c04696b06dff711805a317304050ad583959ad425ea214488 WHIRLPOOL d774f551f9b71f50d15a8f5e4f79e3ec6025a21a2bfbe3fccdb4860ee8a35f4ab357f45538a3d4c1cd3c80d5f16f4b38729f7e0dcbfc1b1188e7075c310b57ef
|
||||
MISC README.md 232 SHA256 992212861189cedd249f6ab4b126208c168a49bc6b0a083636225f5c915427ac SHA512 58327cc73d4152c5f7f8725c9b72b75f431d2e5b2052f699df158d44c0d6be76055e83a205e21fcad97b85d6d205a7f8f64c3177e8f43c86f0a29d5fd1872e12 WHIRLPOOL b0d340a1133ed689fa629ef2840589fc909d414abfe3bd85703cf48552845bb1d702db89995deb97d6be459d2d35b19516581845f9fa2743bf5c65f983d05a44
|
||||
MISC metadata.xml 364 SHA256 54220218540bd2ed904fc31938fdedd7d11523e4c7d1338e42f726fddd42d1b5 SHA512 2fad62c2c82b5721bf9f435194fe5277fecf55805da356af2d2a38421b3a3de682b7c0997bd72e72621b24c8cba657f6c09eb5a88cca3f9706d2fdc830399991 WHIRLPOOL 33e164f762cb7cafc970756f39fd9bdf635f0f3913f98a8c0c8e582307f1e003d0896f27f9e068db58057c96487a049c3ec8fd26e9f4e427a33a2cfca1515f50
|
8
app-vim/vimscripts-autoclose/README.md
Normal file
8
app-vim/vimscripts-autoclose/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
I prefer this autoclose plugin
|
||||
https://github.com/vim-scripts/AutoClose
|
||||
instead of
|
||||
https://github.com/Townk/vim-autoclose
|
||||
|
||||
It's just personal preference
|
||||
## For both vim and neovim
|
||||
packaged so that it works with both vim and neovim
|
12
app-vim/vimscripts-autoclose/metadata.xml
Normal file
12
app-vim/vimscripts-autoclose/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>trenttdually@gmail.com</email>
|
||||
<name>Trent Palmer</name>
|
||||
<name>TrentSPalmer</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">vim-scripts/AutoClose</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils vim-plugin
|
||||
|
||||
DESCRIPTION="vimscripts plugin: open-close pair of characters"
|
||||
HOMEPAGE="https://github.com/vim-scripts/AutoClose"
|
||||
SRC_URI="https://github.com/vim-scripts/AutoClose/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${WORKDIR}"
|
||||
mv AutoClose-1.2 "${P}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nvim/runtime
|
||||
doins -r plugin
|
||||
vim-plugin_src_install
|
||||
}
|
5
app-vim/youcompleteme/Manifest
Normal file
5
app-vim/youcompleteme/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
EBUILD youcompleteme-20171020.ebuild 5205 SHA256 c5514d8c8761bbd023600f94c6ef69b41115d73daf4c3eb18ee8afb258a5ff4a SHA512 f89c26368caa7c8d758126dbd41d3d22d74490e1c3c153a8568ecae65a5f4d861b2709d22c56aaf08869969f9fb155d2d26f2f8d6d2677365197119b86335730 WHIRLPOOL ba3eff3f02ffbb345b67ba4c368aff11ae7d5a78f94f659b5a43f916b3bed439926dde3c19163e85953585fb9e095dbac902da50414128085d262afba2201870
|
||||
EBUILD youcompleteme-20171216.ebuild 5205 SHA256 3d47de77cd691ad60afa09ed4a402757f1e82ea963babf3788d8ab2643732628 SHA512 7f84437a972668201d64e7100873a8c6e6ef73dd060195dbb0e9afd4ce676114d3cabe8b7887c84f5229bbfe621f5e717f9832864b096feed7612cd08da27e5e WHIRLPOOL cef1aaf8223bed068297d8022dbf1099a5d8d44f2a7d4c320b912fac188597bed00dda52edc826a48965950fcdf9d10ae04c4e93b4168df227ba1748413e7c8f
|
||||
EBUILD youcompleteme-99999999-r1.ebuild 5150 SHA256 b5347df1d3b68ceb03c76531a64cf9dd5a04ade69a5c9c60b332aab752986772 SHA512 bac4ee666dc83136dcb935907121a926a778395b280b657ba4afccf388de2d88cfa589302a45ef50f8a34140490d189f4b82006a7162852666db639f15608821 WHIRLPOOL 3416f4fa875915f1087fb9e864e783682f3b8e8c24a7fa967763ccb532723d3590bd0e67ec6157baf9c756a0b18c3f6755e12fff439efe23a5fff5500a709f9c
|
||||
MISC README.md 1017 SHA256 b5741d484ae2b303937e0bd50ca913dd367dd846d1b211bada7db583541f1a57 SHA512 fb8d02d90df215addc2b13e60975a3d1e41d3cca945294ca1a3013ab337b7dcd834151aabb7712036fb13189a53e69b14a531110cc3820431416cd620404d08f WHIRLPOOL 0f832da37bf55242f006dff821648d68f3ce4329031e5fd1eb56fd57ded3769b86f83d65ac247f81636cfe5b8dc39e9ca97669ae4baa393c75f9a0d98822d901
|
||||
MISC metadata.xml 372 SHA256 e3dd72be40b227af12daab42f7c3e887c7cf5f204833873384a155e8bcd065e9 SHA512 3afacd989d495928012e5a1b1c2bb6d14209cbcb1e347a24c1c0881c758642cc8457ee7b6202b8d129e3f08dc21492792715fc5452f8ffc33f719da9a447fdac WHIRLPOOL 2f70b46a70e97e9f8ecec4bf6d5fea40669fa1f92335362a45321f8b3f414228faa2d4152e52846bfbe92d1d659086d1f34bf42970d206a27fcbdeaefa4c9ea9
|
25
app-vim/youcompleteme/README.md
Normal file
25
app-vim/youcompleteme/README.md
Normal file
@ -0,0 +1,25 @@
|
||||
## Waht is this?
|
||||
This is essentially a fork from
|
||||
https://github.com/stefantalpalaru/gentoo-overlay/tree/master/app-vim/youcompleteme
|
||||
|
||||
## Why?
|
||||
but with the ability to turn on all the options for vim-youcompleteme plugin with
|
||||
use flags, adding the use flags mono, go, rust, and nodejs
|
||||
|
||||
## Handy tips!
|
||||
if you're building in a headless environment, you can add `dev-lang/mono minimal`
|
||||
to package.use
|
||||
|
||||
if you're building in a container, mono wants kernel sources and a config. You
|
||||
can install gentoo-sources, generate the host's kernel config with
|
||||
`zcat /proc/config.gz` or `cat /boot/config-some-version`, and output that to
|
||||
/usr/src/linux/.config on the container.
|
||||
|
||||
### Rust
|
||||
added app-vim/rust-vim as dependancy for USE="rust",
|
||||
[additional info](http://blog.jwilm.io/youcompleteme-rust/)
|
||||
|
||||
## Test drive?
|
||||
[Here's a Gist](https://gist.github.com/TrentSPalmer/a929dfdb0cdb7dd946d313bde708900e)
|
||||
with instructions for how to quickly spin up an nspawn container to do some test building,
|
||||
if you are into that sort of thing.
|
11
app-vim/youcompleteme/metadata.xml
Normal file
11
app-vim/youcompleteme/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="clang">Enable semantic support for C-family languages using <pkg>sys-devel/clang</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
193
app-vim/youcompleteme/youcompleteme-20171020.ebuild
Normal file
193
app-vim/youcompleteme/youcompleteme-20171020.ebuild
Normal file
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils cmake-utils git-r3 multilib python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: a code-completion engine for Vim"
|
||||
HOMEPAGE="https://valloric.github.io/YouCompleteMe/"
|
||||
EGIT_REPO_URI="https://github.com/Valloric/YouCompleteMe.git"
|
||||
EGIT_COMMIT="cd4172746279fbe177e18e7731a92ede8054e598"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="clang doc test mono go rust nodejs"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
clang? ( >=sys-devel/clang-3.8:= )
|
||||
mono? ( dev-lang/mono )
|
||||
go? ( dev-lang/go )
|
||||
rust? ( dev-lang/rust
|
||||
app-vim/rust-vim
|
||||
)
|
||||
nodejs? ( net-libs/nodejs )
|
||||
dev-libs/boost[python,threads,${PYTHON_USEDEP}]
|
||||
|| (
|
||||
app-editors/vim[python,${PYTHON_USEDEP}]
|
||||
app-editors/gvim[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/future[${PYTHON_USEDEP}]
|
||||
dev-python/jedi[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/sh[${PYTHON_USEDEP}]
|
||||
dev-python/waitress[${PYTHON_USEDEP}]
|
||||
virtual/python-futures[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-cpp/gmock
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
CMAKE_USE_DIR=${S}/third_party/ycmd/cpp
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
if ! use test ; then
|
||||
sed -i '/^add_subdirectory( tests )/d' third_party/ycmd/cpp/ycm/CMakeLists.txt || die
|
||||
fi
|
||||
for third_party_module in pythonfutures; do
|
||||
rm -r "${S}"/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
|
||||
done
|
||||
# Argparse is included in python 2.7
|
||||
for third_party_module in argparse bottle python-future requests waitress; do
|
||||
rm -r "${S}"/third_party/ycmd/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
|
||||
done
|
||||
rm -r "${S}"/third_party/ycmd/third_party/JediHTTP/vendor || die "Failed to remove third_party/ycmd/third_party/JediHTTP/vendor"
|
||||
rm -r "${S}"/third_party/ycmd/cpp/BoostParts || die "Failed to remove bundled boost"
|
||||
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_CLANG_COMPLETER="$(usex clang)"
|
||||
-DUSE_SYSTEM_LIBCLANG="$(usex clang)"
|
||||
-DUSE_SYSTEM_BOOST=ON
|
||||
-DUSE_SYSTEM_GMOCK=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use rust;
|
||||
then
|
||||
cd "${S}"/third_party/ycmd/third_party/racerd || die "no dir third_party/racerd"
|
||||
cargo build --release || die "cargo build failed"
|
||||
fi
|
||||
|
||||
if use mono;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer" || die "failed cd to OmniSharpServer"
|
||||
xbuild /property:Configuration=Release || die "xbuild command failed"
|
||||
fi
|
||||
|
||||
if use go;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/gocode" || die "failed cd to gocode"
|
||||
go build || die "failed to go build gocode"
|
||||
cd "${S}/third_party/ycmd/third_party/godef" || die "failed cd to godef"
|
||||
go build || die "failed to go build godef"
|
||||
fi
|
||||
|
||||
if use nodejs;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/tern_runtime" || die "no dir third_party/tern_runtime"
|
||||
npm install --production --python=python2 || die "npm install failed"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/third_party/ycmd/cpp/ycm/tests"
|
||||
LD_LIBRARY_PATH="${EROOT}"/usr/$(get_libdir)/llvm \
|
||||
./ycm_core_tests || die
|
||||
|
||||
cd "${S}"/python/ycm
|
||||
|
||||
local dirs=( "${S}"/third_party/*/ "${S}"/third_party/ycmd/third_party/*/ )
|
||||
local -x PYTHONPATH=${PYTHONPATH}:$(IFS=:; echo "${dirs[*]}")
|
||||
|
||||
nosetests --verbose || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
|
||||
if use rust;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/racerd" || die "racerd target wasn't built"
|
||||
for f in $(ls -a | tail -n +3 | grep -v target)
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/racerd/target/release" || die "racerd target wasn't built"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^racerd$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use mono;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^OmniSharp$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer/OmniSharp"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^bin$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use go;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/gocode"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^gocode$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/godef"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^godef$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
use doc && dodoc *.md third_party/ycmd/*.md
|
||||
rm -r *.md *.sh *.py* *.ini *.yml COPYING.txt ci third_party/ycmd/cpp third_party/ycmd/ci third_party/ycmd/ycmd/tests third_party/ycmd/examples/samples || die
|
||||
rm -r third_party/ycmd/{*.md,*.sh,*.yml,.coveragerc,.gitignore,.gitmodules,.travis.yml,build.*,*.txt,run_tests.*,*.ini,update*,Vagrantfile} || die
|
||||
find python -name *test* -exec rm -rf {} + || die
|
||||
egit_clean
|
||||
use clang && (rm third_party/ycmd/libclang.so* || die)
|
||||
|
||||
vim-plugin_src_install
|
||||
|
||||
python_optimize "${ED}"
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
193
app-vim/youcompleteme/youcompleteme-20171216.ebuild
Normal file
193
app-vim/youcompleteme/youcompleteme-20171216.ebuild
Normal file
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils cmake-utils git-r3 multilib python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: a code-completion engine for Vim"
|
||||
HOMEPAGE="https://valloric.github.io/YouCompleteMe/"
|
||||
EGIT_REPO_URI="https://github.com/Valloric/YouCompleteMe.git"
|
||||
EGIT_COMMIT="290dd94721d1bc97fab4f2e975a0cf6258abfbac"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="clang doc test mono go rust nodejs"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
clang? ( >=sys-devel/clang-3.8:= )
|
||||
mono? ( dev-lang/mono )
|
||||
go? ( dev-lang/go )
|
||||
rust? ( dev-lang/rust
|
||||
app-vim/rust-vim
|
||||
)
|
||||
nodejs? ( net-libs/nodejs )
|
||||
dev-libs/boost[python,threads,${PYTHON_USEDEP}]
|
||||
|| (
|
||||
app-editors/vim[python,${PYTHON_USEDEP}]
|
||||
app-editors/gvim[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/future[${PYTHON_USEDEP}]
|
||||
dev-python/jedi[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/sh[${PYTHON_USEDEP}]
|
||||
dev-python/waitress[${PYTHON_USEDEP}]
|
||||
virtual/python-futures[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-cpp/gmock
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
CMAKE_USE_DIR=${S}/third_party/ycmd/cpp
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
if ! use test ; then
|
||||
sed -i '/^add_subdirectory( tests )/d' third_party/ycmd/cpp/ycm/CMakeLists.txt || die
|
||||
fi
|
||||
for third_party_module in pythonfutures; do
|
||||
rm -r "${S}"/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
|
||||
done
|
||||
# Argparse is included in python 2.7
|
||||
for third_party_module in argparse bottle python-future requests waitress; do
|
||||
rm -r "${S}"/third_party/ycmd/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
|
||||
done
|
||||
rm -r "${S}"/third_party/ycmd/third_party/JediHTTP/vendor || die "Failed to remove third_party/ycmd/third_party/JediHTTP/vendor"
|
||||
rm -r "${S}"/third_party/ycmd/cpp/BoostParts || die "Failed to remove bundled boost"
|
||||
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_CLANG_COMPLETER="$(usex clang)"
|
||||
-DUSE_SYSTEM_LIBCLANG="$(usex clang)"
|
||||
-DUSE_SYSTEM_BOOST=ON
|
||||
-DUSE_SYSTEM_GMOCK=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use rust;
|
||||
then
|
||||
cd "${S}"/third_party/ycmd/third_party/racerd || die "no dir third_party/racerd"
|
||||
cargo build --release || die "cargo build failed"
|
||||
fi
|
||||
|
||||
if use mono;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer" || die "failed cd to OmniSharpServer"
|
||||
xbuild /property:Configuration=Release || die "xbuild command failed"
|
||||
fi
|
||||
|
||||
if use go;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/gocode" || die "failed cd to gocode"
|
||||
go build || die "failed to go build gocode"
|
||||
cd "${S}/third_party/ycmd/third_party/godef" || die "failed cd to godef"
|
||||
go build || die "failed to go build godef"
|
||||
fi
|
||||
|
||||
if use nodejs;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/tern_runtime" || die "no dir third_party/tern_runtime"
|
||||
npm install --production --python=python2 || die "npm install failed"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/third_party/ycmd/cpp/ycm/tests"
|
||||
LD_LIBRARY_PATH="${EROOT}"/usr/$(get_libdir)/llvm \
|
||||
./ycm_core_tests || die
|
||||
|
||||
cd "${S}"/python/ycm
|
||||
|
||||
local dirs=( "${S}"/third_party/*/ "${S}"/third_party/ycmd/third_party/*/ )
|
||||
local -x PYTHONPATH=${PYTHONPATH}:$(IFS=:; echo "${dirs[*]}")
|
||||
|
||||
nosetests --verbose || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
|
||||
if use rust;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/racerd" || die "racerd target wasn't built"
|
||||
for f in $(ls -a | tail -n +3 | grep -v target)
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/racerd/target/release" || die "racerd target wasn't built"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^racerd$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use mono;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^OmniSharp$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer/OmniSharp"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^bin$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use go;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/gocode"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^gocode$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/godef"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^godef$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
use doc && dodoc *.md third_party/ycmd/*.md
|
||||
rm -r *.md *.sh *.py* *.ini *.yml COPYING.txt ci third_party/ycmd/cpp third_party/ycmd/ci third_party/ycmd/ycmd/tests third_party/ycmd/examples/samples || die
|
||||
rm -r third_party/ycmd/{*.md,*.sh,*.yml,.coveragerc,.gitignore,.gitmodules,.travis.yml,build.*,*.txt,run_tests.*,*.ini,update*,Vagrantfile} || die
|
||||
find python -name *test* -exec rm -rf {} + || die
|
||||
egit_clean
|
||||
use clang && (rm third_party/ycmd/libclang.so* || die)
|
||||
|
||||
vim-plugin_src_install
|
||||
|
||||
python_optimize "${ED}"
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
192
app-vim/youcompleteme/youcompleteme-99999999-r1.ebuild
Normal file
192
app-vim/youcompleteme/youcompleteme-99999999-r1.ebuild
Normal file
@ -0,0 +1,192 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils cmake-utils git-r3 multilib python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: a code-completion engine for Vim"
|
||||
HOMEPAGE="https://valloric.github.io/YouCompleteMe/"
|
||||
EGIT_REPO_URI="https://github.com/Valloric/YouCompleteMe.git"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="clang doc test mono go rust nodejs"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
clang? ( >=sys-devel/clang-3.8:= )
|
||||
mono? ( dev-lang/mono )
|
||||
go? ( dev-lang/go )
|
||||
rust? ( dev-lang/rust
|
||||
app-vim/rust-vim
|
||||
)
|
||||
nodejs? ( net-libs/nodejs )
|
||||
dev-libs/boost[python,threads,${PYTHON_USEDEP}]
|
||||
|| (
|
||||
app-editors/vim[python,${PYTHON_USEDEP}]
|
||||
app-editors/gvim[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/bottle[${PYTHON_USEDEP}]
|
||||
dev-python/future[${PYTHON_USEDEP}]
|
||||
dev-python/jedi[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/sh[${PYTHON_USEDEP}]
|
||||
dev-python/waitress[${PYTHON_USEDEP}]
|
||||
virtual/python-futures[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-cpp/gmock
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
CMAKE_USE_DIR=${S}/third_party/ycmd/cpp
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
if ! use test ; then
|
||||
sed -i '/^add_subdirectory( tests )/d' third_party/ycmd/cpp/ycm/CMakeLists.txt || die
|
||||
fi
|
||||
for third_party_module in pythonfutures; do
|
||||
rm -r "${S}"/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
|
||||
done
|
||||
# Argparse is included in python 2.7
|
||||
for third_party_module in argparse bottle python-future requests waitress; do
|
||||
rm -r "${S}"/third_party/ycmd/third_party/${third_party_module} || die "Failed to remove third party module ${third_party_module}"
|
||||
done
|
||||
rm -r "${S}"/third_party/ycmd/third_party/JediHTTP/vendor || die "Failed to remove third_party/ycmd/third_party/JediHTTP/vendor"
|
||||
rm -r "${S}"/third_party/ycmd/cpp/BoostParts || die "Failed to remove bundled boost"
|
||||
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_CLANG_COMPLETER="$(usex clang)"
|
||||
-DUSE_SYSTEM_LIBCLANG="$(usex clang)"
|
||||
-DUSE_SYSTEM_BOOST=ON
|
||||
-DUSE_SYSTEM_GMOCK=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use rust;
|
||||
then
|
||||
cd "${S}"/third_party/ycmd/third_party/racerd || die "no dir third_party/racerd"
|
||||
cargo build --release || die "cargo build failed"
|
||||
fi
|
||||
|
||||
if use mono;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer" || die "failed cd to OmniSharpServer"
|
||||
xbuild /property:Configuration=Release || die "xbuild command failed"
|
||||
fi
|
||||
|
||||
if use go;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/gocode" || die "failed cd to gocode"
|
||||
go build || die "failed to go build gocode"
|
||||
cd "${S}/third_party/ycmd/third_party/godef" || die "failed cd to godef"
|
||||
go build || die "failed to go build godef"
|
||||
fi
|
||||
|
||||
if use nodejs;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/tern_runtime" || die "no dir third_party/tern_runtime"
|
||||
npm install --production --python=python2 || die "npm install failed"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/third_party/ycmd/cpp/ycm/tests"
|
||||
LD_LIBRARY_PATH="${EROOT}"/usr/$(get_libdir)/llvm \
|
||||
./ycm_core_tests || die
|
||||
|
||||
cd "${S}"/python/ycm
|
||||
|
||||
local dirs=( "${S}"/third_party/*/ "${S}"/third_party/ycmd/third_party/*/ )
|
||||
local -x PYTHONPATH=${PYTHONPATH}:$(IFS=:; echo "${dirs[*]}")
|
||||
|
||||
nosetests --verbose || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
|
||||
if use rust;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/racerd" || die "racerd target wasn't built"
|
||||
for f in $(ls -a | tail -n +3 | grep -v target)
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/racerd/target/release" || die "racerd target wasn't built"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^racerd$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use mono;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^OmniSharp$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/OmniSharpServer/OmniSharp"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^bin$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use go;
|
||||
then
|
||||
cd "${S}/third_party/ycmd/third_party/gocode"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^gocode$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
cd "${S}/third_party/ycmd/third_party/godef"
|
||||
for f in $(ls -a | tail -n +3 | grep -v '^godef$')
|
||||
do
|
||||
rm -rf "${f}"
|
||||
done
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
use doc && dodoc *.md third_party/ycmd/*.md
|
||||
rm -r *.md *.sh *.py* *.ini *.yml COPYING.txt ci third_party/ycmd/cpp third_party/ycmd/ci third_party/ycmd/ycmd/tests third_party/ycmd/examples/samples || die
|
||||
rm -r third_party/ycmd/{*.md,*.sh,*.yml,.coveragerc,.gitignore,.gitmodules,.travis.yml,build.*,*.txt,run_tests.*,*.ini,update*,Vagrantfile} || die
|
||||
find python -name *test* -exec rm -rf {} + || die
|
||||
egit_clean
|
||||
use clang && (rm third_party/ycmd/libclang.so* || die)
|
||||
|
||||
vim-plugin_src_install
|
||||
|
||||
python_optimize "${ED}"
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user