diff --git a/app-vim/iris/Manifest b/app-vim/iris/Manifest new file mode 100644 index 0000000000000..7d93223a466cc --- /dev/null +++ b/app-vim/iris/Manifest @@ -0,0 +1 @@ +DIST iris-1.0.0.tar.gz 15607 BLAKE2B f78155c7cdfce046c48f9a29ca2855212ebd5d7f5aabd7b3a605ca8257b1a99e6d0c005c3641f69a33f6d3b2335b2a68da9653c2487b4f5863ba96cc3323ee10 SHA512 0b8b74935c2844dbb874e18683fd65602820c13dfc50cc73425ac80440f898432eb1eb4af6e3b73cef5733ea9e7c1aa97d19f67e6d1a277592c359519dcc418c diff --git a/app-vim/iris/iris-1.0.0.ebuild b/app-vim/iris/iris-1.0.0.ebuild new file mode 100644 index 0000000000000..8e10bcffdb968 --- /dev/null +++ b/app-vim/iris/iris-1.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_7,3_8} ) + +inherit vim-plugin python-r1 + +MY_PN="iris.vim" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="vim plugin: mail client for vim" +HOMEPAGE="https://github.com/soywod/iris.vim" +SRC_URI="https://github.com/soywod/iris.vim/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + dev-python/imapclient + ${PYTHON_DEPS}" + +S="${WORKDIR}/${MY_P}" + +src_install() { + mv api.py iris-api || die + mv idle.py iris-idle || die + sed -e 's#api\.py#iris-api#g;' -i autoload/iris/api.vim || die + sed -e 's#idle\.py#iris-idle#g;' -i autoload/iris/idle.vim || die + python_foreach_impl python_doscript iris-api + python_foreach_impl python_doscript iris-idle + + vim-plugin_src_install +} diff --git a/app-vim/iris/metadata.xml b/app-vim/iris/metadata.xml new file mode 100644 index 0000000000000..8ecaaddf71477 --- /dev/null +++ b/app-vim/iris/metadata.xml @@ -0,0 +1,14 @@ + + + + + vim@gentoo.org + Gentoo Vim Project + + + monsieurp@gentoo.org + + + soywod/iris.vim + +