Files
guru/app-vim/nerdtree-git/nerdtree-git-20210728.ebuild
Anna (cybertailor) Vyalkova be5b0ef05d app-vim/nerdtree-git: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2021-08-18 01:51:33 +05:00

36 lines
752 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vim-plugin
COMMIT="ff9b14f14dceecb6c08cb05053ad649c3b6ac250"
DESCRIPTION="vim plugin: display git status flags in NERDTree"
HOMEPAGE="https://github.com/Xuyuanp/nerdtree-git-plugin"
SRC_URI="https://github.com/Xuyuanp/${PN}-plugin/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-plugin-${COMMIT}"
LICENSE="WTFPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
app-vim/nerdtree
dev-vcs/git
"
BDEPEND="test? (
${RDEPEND}
app-vim/themis
)"
src_test() {
themis ./tests --runtimepath "${EPREFIX}"/usr/share/vim/vimfiles || die
}
src_install() {
rm -r tests || die
vim-plugin_src_install
}