diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-11-25 23:33:13 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2023-11-25 23:33:13 +0500 |
commit | 7412f4ce2da15278dee06b9e7cab6401502171ce (patch) | |
tree | 38787be65264a746fc47729893bda171ae7aacf8 /app-vim | |
parent | app-admin/i2pd-tools: add 2023.09.06, drop 0.2023.03.12 (diff) | |
download | guru-7412f4ce2da15278dee06b9e7cab6401502171ce.tar.gz guru-7412f4ce2da15278dee06b9e7cab6401502171ce.tar.bz2 guru-7412f4ce2da15278dee06b9e7cab6401502171ce.zip |
app-vim/yats: add 2023.08.24
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'app-vim')
-rw-r--r-- | app-vim/yats/Manifest | 1 | ||||
-rw-r--r-- | app-vim/yats/yats-2023.08.24.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-vim/yats/Manifest b/app-vim/yats/Manifest index dc842f107..7d0a5b13e 100644 --- a/app-vim/yats/Manifest +++ b/app-vim/yats/Manifest @@ -1 +1,2 @@ DIST yats-2022.08.26.tar.gz 218153 BLAKE2B 0733327d3e329ee8492ac084613eaaa002e48aded81496f0eaddbabfc0f40f2d097e761e850c32594467cc1d71ca498ed265a3102c906b6f903254e2868beb8f SHA512 4bf429edf27bbd199030d79e1273ad6aeb52b53a5d4ead79951b6fb488e0f5f98a4c5b65808a5f02362b649ae71c28841cfbb5d76e6bec0dfd195a908d55591f +DIST yats-2023.08.24.tar.gz 220267 BLAKE2B aa42e65d3ddce06b0166a5d694d2303f1f046f6e5e0257234022684f2b80e537ceb4254c9c819aaffde0b0a272e56efb3ef2faf26652097329cb210b6e5e6fc8 SHA512 73dc6b04609682097918577ab89aad2f355ab9b6d8eba92685348ba0918503577604bc7e9b4041962f17e56eb2cc6b4e9f07d252d55a88ae543cec3b7570453d diff --git a/app-vim/yats/yats-2023.08.24.ebuild b/app-vim/yats/yats-2023.08.24.ebuild new file mode 100644 index 000000000..bb9a1191d --- /dev/null +++ b/app-vim/yats/yats-2023.08.24.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit vim-plugin + +MY_PN="${PN}.vim" +COMMIT="2b6950c7143790e6930b8cf32d60c6858a50d47c" +DESCRIPTION="vim plugin: Yet Another TypeScript Syntax" +HOMEPAGE="https://github.com/HerringtonDarkholme/yats.vim" +SRC_URI="https://github.com/HerringtonDarkholme/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${COMMIT}" + +LICENSE="vim" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + ${RDEPEND} + >app-vim/vader-0.3.0 + ) +" + +DOCS=( CHANGES.markdown README.md ) + +src_prepare() { + default + + # failing tests + rm test/tsx.indent.vader || die +} + +src_compile() { + : +} + +src_test() { + cd test || die + + unset DISPLAY + local -x TERM="xterm" + + vim -eu "${FILESDIR}"/vimrc -c "Vader! ./*.vader" || die +} + +src_install() { + vim-plugin_src_install ctags UltiSnips +} |