From 4a68e4691b418ceac53660399b874f796fd723c4 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 5 Jul 2024 13:29:04 +0300 Subject: app-vim/iris: EAPI=8, enable py3.11, py3.12 Closes: https://bugs.gentoo.org/896652 Closes: https://bugs.gentoo.org/929373 Signed-off-by: Arthur Zamarin --- app-vim/iris/iris-1.0.0-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++ app-vim/iris/iris-1.0.0.ebuild | 38 -------------------------------------- 2 files changed, 34 insertions(+), 38 deletions(-) create mode 100644 app-vim/iris/iris-1.0.0-r1.ebuild delete mode 100644 app-vim/iris/iris-1.0.0.ebuild (limited to 'app-vim/iris') diff --git a/app-vim/iris/iris-1.0.0-r1.ebuild b/app-vim/iris/iris-1.0.0-r1.ebuild new file mode 100644 index 000000000000..c085f852da3e --- /dev/null +++ b/app-vim/iris/iris-1.0.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit vim-plugin python-r1 + +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" +S="${WORKDIR}/iris.vim-${PV}" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/imapclient[${PYTHON_USEDEP}] +" + +DOCS=( README.md CHANGELOG.md ) + +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/iris-1.0.0.ebuild b/app-vim/iris/iris-1.0.0.ebuild deleted file mode 100644 index 984316d0a73f..000000000000 --- a/app-vim/iris/iris-1.0.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -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" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -KEYWORDS="~amd64 ~x86" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-python/imapclient[${PYTHON_USEDEP}] -" - -DOCS=( README.md CHANGELOG.md ) - -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 -} -- cgit v1.2.3-65-gdbad