blob: 8441bb66179622f7b8aba9aef00490134e08dad0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# By eroen, 2013
# Distributed under the terms of the ISC licence
# $Header: $
EAPI=5
PYTHON_COMPAT="python2_7"
#VIM_PLUGIN_VIM_VERSION="7.0"
inherit python-single-r1 vim-plugin git-2
DESCRIPTION="Collaborative Editing for Vim"
HOMEPAGE="https://github.com/FredKSchott/CoVim"
LICENSE="MIT"
IUSE=""
SRC_URI=
EGIT_REPO_URI="git://github.com/FredKSchott/CoVim.git"
if ! [[ ${PV} == 99999999 ]]; then
KEYWORDS="~amd64"
EGIT_COMMIT=410a0a1f69c4c52555e6ee95e8b94ec1e8779351
fi
VIM_PLUGIN_HELPFILES="CoVim"
VIM_PLUGIN_HELPTEXT=""
VIM_PLUGIN_HELPURI=""
VIM_PLUGIN_MESSAGES=""
LDEPEND="
${PYTHON_DEPS}
dev-python/twisted-core
app-editors/vim[python,${PYTHON_USEDEP}]"
RDEPEND="${LDEPEND}"
src_prepare() {
python_fix_shebang plugin/CoVimServer.py
rm LICENSE
}
src_install() {
vim-plugin_src_install
chmod ugo+x "${D}"/usr/share/vim/vimfiles/plugin/CoVimServer.py || die
}
|