Files
guru/app-vim/nerdtree-git/nerdtree-git-20210818.ebuild
Anna (cybertailor) Vyalkova 055bb176b3 app-vim/nerdtree-git: add 20210818, drop 20210728
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2021-09-30 11:18:53 +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="e1fe727127a813095854a5b063c15e955a77eafb"
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
}