diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-08-18 01:33:53 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-08-18 01:51:33 +0500 |
commit | be5b0ef05daa9efc2c62f163981602c459b7f93d (patch) | |
tree | 06361834a8adf05df99692b2f763d326a7f6ab54 /app-vim | |
parent | app-vim/apkbuild-vim: initial import (diff) | |
download | guru-be5b0ef05daa9efc2c62f163981602c459b7f93d.tar.gz guru-be5b0ef05daa9efc2c62f163981602c459b7f93d.tar.bz2 guru-be5b0ef05daa9efc2c62f163981602c459b7f93d.zip |
app-vim/nerdtree-git: initial import
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'app-vim')
-rw-r--r-- | app-vim/nerdtree-git/Manifest | 1 | ||||
-rw-r--r-- | app-vim/nerdtree-git/metadata.xml | 8 | ||||
-rw-r--r-- | app-vim/nerdtree-git/nerdtree-git-20210728.ebuild | 35 |
3 files changed, 44 insertions, 0 deletions
diff --git a/app-vim/nerdtree-git/Manifest b/app-vim/nerdtree-git/Manifest new file mode 100644 index 000000000..6b137c7b8 --- /dev/null +++ b/app-vim/nerdtree-git/Manifest @@ -0,0 +1 @@ +DIST nerdtree-git-20210728.tar.gz 13956 BLAKE2B 3fad11da3bab522e64ef750424cd3910c52587a972cdd612f5d63576282376eb0a0888794c0fd71bc63c8fdcef71a681b0c7a37f0ac27328f5d4c635100ce49d SHA512 d0c2428533ef1ae217c278b8fc9eafba78c16536a1dbcd4cb3503a5ee917ff939d4a52003014878b790a5c6b0b7cb1d26bca54e6f8693325552bdf117d8513f5 diff --git a/app-vim/nerdtree-git/metadata.xml b/app-vim/nerdtree-git/metadata.xml new file mode 100644 index 000000000..c8b0192e7 --- /dev/null +++ b/app-vim/nerdtree-git/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> +</pkgmetadata> diff --git a/app-vim/nerdtree-git/nerdtree-git-20210728.ebuild b/app-vim/nerdtree-git/nerdtree-git-20210728.ebuild new file mode 100644 index 000000000..9d7e2afc6 --- /dev/null +++ b/app-vim/nerdtree-git/nerdtree-git-20210728.ebuild @@ -0,0 +1,35 @@ +# 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 +} |