summaryrefslogtreecommitdiff
path: root/app-vim/tlib/tlib-1.27.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-07 02:37:34 +0000
committerSam James <sam@gentoo.org>2021-12-07 02:37:42 +0000
commit389ef1b556f11f4dae6cd873fcf2afc11372983e (patch)
tree552ac03842adb7faf96a70d01aee51b84ef0f370 /app-vim/tlib/tlib-1.27.ebuild
parentd78afba3452e95939f85b26eb0096cd16f5a6281 (diff)
downloadgentoo-389ef1b556f11f4dae6cd873fcf2afc11372983e.tar.gz
gentoo-389ef1b556f11f4dae6cd873fcf2afc11372983e.tar.bz2
gentoo-389ef1b556f11f4dae6cd873fcf2afc11372983e.zip
app-vim/tlib: add 1.27
Also includes a patch (not in 1.27) from upstream git that fixes compatibility with newer vim. Closes: https://bugs.gentoo.org/828429 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-vim/tlib/tlib-1.27.ebuild')
-rw-r--r--app-vim/tlib/tlib-1.27.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-vim/tlib/tlib-1.27.ebuild b/app-vim/tlib/tlib-1.27.ebuild
new file mode 100644
index 000000000000..aac06503bc74
--- /dev/null
+++ b/app-vim/tlib/tlib-1.27.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vim-plugin
+
+MY_PN=${PN}_vim
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="vim plugin: a library of utility functions"
+HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=1863 https://github.com/tomtom/tlib_vim"
+SRC_URI="https://github.com/tomtom/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+VIM_PLUGIN_HELPFILES="${PN}.txt"
+
+DOCS=( README CHANGES.TXT )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-error-E1208-vim-8.2.3141.patch
+)
+
+src_prepare() {
+ default
+ rm -r test samples || die
+}