public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-vim/rainbow/files/, app-vim/rainbow/
@ 2021-08-17 21:32 Anna Vyalkova
  0 siblings, 0 replies; only message in thread
From: Anna Vyalkova @ 2021-08-17 21:32 UTC (permalink / raw
  To: gentoo-commits

commit:     df38767006cd2df0c5f2d68fe71783928014d9d5
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Aug 17 21:31:29 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Aug 17 21:31:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df387670

app-vim/rainbow: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-vim/rainbow/Manifest                       |  1 +
 app-vim/rainbow/files/README.gentoo            |  8 +++++++
 app-vim/rainbow/metadata.xml                   |  8 +++++++
 app-vim/rainbow/rainbow-3.4.0_p20200528.ebuild | 29 ++++++++++++++++++++++++++
 4 files changed, 46 insertions(+)

diff --git a/app-vim/rainbow/Manifest b/app-vim/rainbow/Manifest
new file mode 100644
index 000000000..e4db4d297
--- /dev/null
+++ b/app-vim/rainbow/Manifest
@@ -0,0 +1 @@
+DIST rainbow-3.4.0_p20200528.tar.gz 14901 BLAKE2B c6e5f2ab3fc16fe0cf2e00429027416d516a08ada49fb24207f8f0a410b3b29ffee6f6eab74f8f8f8be6425e28dc61fe52d994dc020b457c10aa0b4524b6ab68 SHA512 e91e0b969d46dc2507cfcdfd8e9ceea26e863ecf2a532b51129744e961c383c24d63e2a213cfffbad22c278d65652aff9c97afcfe6f271ffd60d9a57305a0948

diff --git a/app-vim/rainbow/files/README.gentoo b/app-vim/rainbow/files/README.gentoo
new file mode 100644
index 000000000..bccf810dd
--- /dev/null
+++ b/app-vim/rainbow/files/README.gentoo
@@ -0,0 +1,8 @@
+CMakeLists.txt syntax highlighting is broken with rainbow enabled.
+Add this to your vimrc to work around the bug:
+
+let g:rainbow_conf = {
+\   'separately': {
+\       'cmake': 0,
+\   }
+\}

diff --git a/app-vim/rainbow/metadata.xml b/app-vim/rainbow/metadata.xml
new file mode 100644
index 000000000..c8b0192e7
--- /dev/null
+++ b/app-vim/rainbow/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/rainbow/rainbow-3.4.0_p20200528.ebuild b/app-vim/rainbow/rainbow-3.4.0_p20200528.ebuild
new file mode 100644
index 000000000..99ee0ff97
--- /dev/null
+++ b/app-vim/rainbow/rainbow-3.4.0_p20200528.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit readme.gentoo-r1 vim-plugin
+
+COMMIT="4d15633cdaf61602e1d9fd216a77fc02e0881b2d"
+DESCRIPTION="vim plugin: Rainbow Parentheses Improved"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=4176
+https://github.com/luochen1990/rainbow"
+SRC_URI="https://github.com/luochen1990/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+
+VIM_PLUGIN_HELPFILES="rainbow"
+
+src_install() {
+	rm -r tests || die
+	vim-plugin_src_install
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	vim-plugin_pkg_postinst
+	readme.gentoo_print_elog
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-17 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-17 21:32 [gentoo-commits] repo/proj/guru:dev commit in: app-vim/rainbow/files/, app-vim/rainbow/ Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox