From 35259218d956ce88a0bb4d8a6bd472e6ed862cfa Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 18 Aug 2021 01:15:21 +0500 Subject: [PATCH] app-vim/themis: initial import Signed-off-by: Anna (cybertailor) Vyalkova --- app-vim/themis/Manifest | 1 + app-vim/themis/metadata.xml | 8 ++++++++ app-vim/themis/themis-1.5.5.ebuild | 33 ++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 app-vim/themis/Manifest create mode 100644 app-vim/themis/metadata.xml create mode 100644 app-vim/themis/themis-1.5.5.ebuild diff --git a/app-vim/themis/Manifest b/app-vim/themis/Manifest new file mode 100644 index 0000000000..d7ceef8ae0 --- /dev/null +++ b/app-vim/themis/Manifest @@ -0,0 +1 @@ +DIST themis-1.5.5.tar.gz 54661 BLAKE2B bcd04d5134095c37369188b4e656ac8372a4d5acf351fb5748bb0ec027b2db4f32d26c68018b0691963df400f34ef7b4a39ca84f9400609313b5f61afef6869b SHA512 fc9169215a2213c42db7eb0548dd637ebf06c42ba287a980fa561e8c0f4dea3eee9f4b10c811d4dfebeeacb4bce1aea0d10872eff05b19316d3d4e9774fe6b32 diff --git a/app-vim/themis/metadata.xml b/app-vim/themis/metadata.xml new file mode 100644 index 0000000000..c8b0192e7e --- /dev/null +++ b/app-vim/themis/metadata.xml @@ -0,0 +1,8 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + diff --git a/app-vim/themis/themis-1.5.5.ebuild b/app-vim/themis/themis-1.5.5.ebuild new file mode 100644 index 0000000000..b658992ba6 --- /dev/null +++ b/app-vim/themis/themis-1.5.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vim-plugin + +DESCRIPTION="A testing framework for Vim script" +HOMEPAGE="https://github.com/thinca/vim-themis" +SRC_URI="https://github.com/thinca/vim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/vim-${P}" + +LICENSE="ZLIB" +KEYWORDS="~amd64 ~x86" + +VIM_PLUGIN_HELPFILES="themis" + +src_prepare() { + default + +} + +src_test() { + bash ./bin/themis || die +} + +src_install() { + rm -r examples test || die + vim-plugin_src_install + + dosym -r /usr/share/vim/vimfiles/bin/themis /usr/bin/themis + fperms +x /usr/share/vim/vimfiles/bin/themis +}