app-vim/python-syntax: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-08-16 13:06:54 +05:00
parent eac339cb71
commit 2f0d8485b3
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit vim-plugin
COMMIT="2cc00ba72929ea5f9456a26782db57fb4cc56a65"
DESCRIPTION="vim plugin: Enhanced Python syntax highlighting"
HOMEPAGE="https://github.com/vim-python/python-syntax"
SRC_URI="https://github.com/vim-python/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="python-syntax.txt"
DOCS=( AUTHORS README.md )
src_install() {
einstalldocs
insinto /usr/share/vim/vimfiles/
doins -r doc
doins -r syntax
}