* [gentoo-commits] repo/proj/guru:dev commit in: app-vim/yats/files/, app-vim/yats/
@ 2022-10-29 2:26 Anna Vyalkova
0 siblings, 0 replies; only message in thread
From: Anna Vyalkova @ 2022-10-29 2:26 UTC (permalink / raw
To: gentoo-commits
commit: 395d28d57a875ffa2c73d0bf59eb55935c19f810
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Oct 29 01:22:07 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Oct 29 02:18:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=395d28d5
app-vim/yats: new package, add 2022.08.26
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-vim/yats/Manifest | 1 +
app-vim/yats/files/vimrc | 7 ++++++
app-vim/yats/metadata.xml | 11 +++++++++
app-vim/yats/yats-2022.08.26.ebuild | 48 +++++++++++++++++++++++++++++++++++++
4 files changed, 67 insertions(+)
diff --git a/app-vim/yats/Manifest b/app-vim/yats/Manifest
new file mode 100644
index 000000000..dc842f107
--- /dev/null
+++ b/app-vim/yats/Manifest
@@ -0,0 +1 @@
+DIST yats-2022.08.26.tar.gz 218153 BLAKE2B 0733327d3e329ee8492ac084613eaaa002e48aded81496f0eaddbabfc0f40f2d097e761e850c32594467cc1d71ca498ed265a3102c906b6f903254e2868beb8f SHA512 4bf429edf27bbd199030d79e1273ad6aeb52b53a5d4ead79951b6fb488e0f5f98a4c5b65808a5f02362b649ae71c28841cfbb5d76e6bec0dfd195a908d55591f
diff --git a/app-vim/yats/files/vimrc b/app-vim/yats/files/vimrc
new file mode 100644
index 000000000..868d58314
--- /dev/null
+++ b/app-vim/yats/files/vimrc
@@ -0,0 +1,7 @@
+set nocompatible
+filetype off
+
+let &rtp = '..,/usr/share/vader,'.$VIMRUNTIME
+
+filetype plugin indent on
+syntax enable
diff --git a/app-vim/yats/metadata.xml b/app-vim/yats/metadata.xml
new file mode 100644
index 000000000..e29c45a2d
--- /dev/null
+++ b/app-vim/yats/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">HerringtonDarkholme/yats.vim</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-vim/yats/yats-2022.08.26.ebuild b/app-vim/yats/yats-2022.08.26.ebuild
new file mode 100644
index 000000000..916c111dc
--- /dev/null
+++ b/app-vim/yats/yats-2022.08.26.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit vim-plugin
+
+MY_PN="${PN}.vim"
+COMMIT="4bf3879055847e675335f1c3050bd2dd11700c7e"
+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
+ rm Makefile || die
+
+ # failing tests
+ rm test/tsx.indent.vader || die
+}
+
+src_test() {
+ cd test || die
+
+ unset DISPLAY
+ export TERM=xterm
+
+ vim -eu "${FILESDIR}"/vimrc -c 'Vader! ./*.vader' || die
+}
+
+src_install() {
+ vim-plugin_src_install ctags UltiSnips
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-29 2:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29 2:26 [gentoo-commits] repo/proj/guru:dev commit in: app-vim/yats/files/, app-vim/yats/ Anna Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox