From df63256616d577a22b3e53a4c6e1b5d9a2aaf2f6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 7 Nov 2020 19:42:18 +0000 Subject: More modern gitgutter --- app-vim/gitgutter/Manifest | 3 +++ app-vim/gitgutter/gitgutter-20201031.ebuild | 30 +++++++++++++++++++++++++++++ app-vim/gitgutter/metadata.xml | 11 +++++++++++ 3 files changed, 44 insertions(+) create mode 100644 app-vim/gitgutter/Manifest create mode 100644 app-vim/gitgutter/gitgutter-20201031.ebuild create mode 100644 app-vim/gitgutter/metadata.xml diff --git a/app-vim/gitgutter/Manifest b/app-vim/gitgutter/Manifest new file mode 100644 index 0000000..9d70da6 --- /dev/null +++ b/app-vim/gitgutter/Manifest @@ -0,0 +1,3 @@ +DIST gitgutter-20201031.tar.gz 599172 BLAKE2B 92e13a465431105c3f531ad7319455017a183ae9097fc6fec785feae0fc501a5017e1e8cf0cf718630d06486ec966f9d819da92ec9c93cc7ce6d573b2bb57b9e SHA512 94d48dc0a8f27d59f93fe5f179df4ea3e38022e2cd03989d454ec97c8bfef6880f75679ec6c247074e1bd435afe60f94e5736e99932226f1bf505981c7522a5f +EBUILD gitgutter-20201031.ebuild 779 BLAKE2B 26424593758f3df59344ada55d3801e7a117b60e738806ff3bf6756d1181418017c7e63121736cb003e57bef1cf5b08419bd464b637db4e519e1331a47692bc2 SHA512 d6d1d29917d3419b6c3248203bdb977312f50ba7d55f1d65e0b7d14842ee60c8430085d15756db31367fc3bca5f95c7910829c4e35626e2370e7048975f7343b +MISC metadata.xml 346 BLAKE2B 89acd12a36beb7b027e42b7f094bba4e229e345ad6f0024bbd3e550784459975aff10e88f5de53de3f2150000b7349ee97348723110a43130b213404292b562a SHA512 4ada20b8f4f308445854b0e0ab229271a603e38370675691790dce0303ca4c2a7f00b247363b0f13bcebe78397fd3ebbbd157403260664171b548b8964da7a0a diff --git a/app-vim/gitgutter/gitgutter-20201031.ebuild b/app-vim/gitgutter/gitgutter-20201031.ebuild new file mode 100644 index 0000000..5bee858 --- /dev/null +++ b/app-vim/gitgutter/gitgutter-20201031.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit vim-plugin + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/airblade/vim-gitgutter.git" + inherit git-r3 +else + inherit vcs-snapshot + COMMIT_HASH="696a6ed389e5b54c8bf480f44ee4e8fc59e6f903" + SRC_URI="https://github.com/airblade/vim-gitgutter/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="vim plugin: shows a git diff in the sign column and stages/reverts hunks" +HOMEPAGE="https://github.com/airblade/vim-gitgutter/" +LICENSE="MIT" +VIM_PLUGIN_HELPFILES="${PN}.txt" + +RDEPEND="dev-vcs/git" + +src_prepare() { + default + + # remove unwanted files + rm LICENCE README* screenshot.png || die + rm -r test || die +} diff --git a/app-vim/gitgutter/metadata.xml b/app-vim/gitgutter/metadata.xml new file mode 100644 index 0000000..8a1caee --- /dev/null +++ b/app-vim/gitgutter/metadata.xml @@ -0,0 +1,11 @@ + + + + + vim@gentoo.org + Gentoo Vim Project + + + airblade/vim-gitgutter + + -- cgit v1.2.3