From 37fee71233effdb3f3b12c557d427bb2748b7dd9 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 7 Feb 2020 13:11:20 +0100 Subject: app-vim/automatictexplugin: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../automatictexplugin-12.5-r1.ebuild | 34 ------------------ .../automatictexplugin-12.5-r2.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 34 deletions(-) delete mode 100644 app-vim/automatictexplugin/automatictexplugin-12.5-r1.ebuild create mode 100644 app-vim/automatictexplugin/automatictexplugin-12.5-r2.ebuild (limited to 'app-vim') diff --git a/app-vim/automatictexplugin/automatictexplugin-12.5-r1.ebuild b/app-vim/automatictexplugin/automatictexplugin-12.5-r1.ebuild deleted file mode 100644 index d3a67dadea3a..000000000000 --- a/app-vim/automatictexplugin/automatictexplugin-12.5-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -inherit python-single-r1 vim-plugin - -MY_P="AutomaticTexPlugin_${PV}" -DESCRIPTION="vim plugin: a comprehensive plugin for editing LaTeX files" -HOMEPAGE="http://atp-vim.sourceforge.net/" -SRC_URI="mirror://sourceforge/atp-vim/releases/${MY_P}.tar.gz" -LICENSE="GPL-3" -KEYWORDS="amd64 x86" - -S=${WORKDIR} - -VIM_PLUGIN_HELPFILES="automatic-tex-plugin.txt" - -RDEPEND="|| ( app-editors/vim[python,${PYTHON_USEDEP}] app-editors/gvim[python,${PYTHON_USEDEP}] ) - !app-vim/vim-latex - app-vim/align - app-text/wdiff - dev-python/psutil[${PYTHON_USEDEP}] - dev-tex/latexmk - dev-tex/detex - virtual/tex-base - ${PYTHON_DEPS}" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -src_prepare() { - python_fix_shebang . -} diff --git a/app-vim/automatictexplugin/automatictexplugin-12.5-r2.ebuild b/app-vim/automatictexplugin/automatictexplugin-12.5-r2.ebuild new file mode 100644 index 000000000000..d32b783b6b13 --- /dev/null +++ b/app-vim/automatictexplugin/automatictexplugin-12.5-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 vim-plugin + +MY_P="AutomaticTexPlugin_${PV}" +DESCRIPTION="vim plugin: a comprehensive plugin for editing LaTeX files" +HOMEPAGE="http://atp-vim.sourceforge.net/" +SRC_URI="mirror://sourceforge/atp-vim/releases/${MY_P}.tar.gz" +LICENSE="GPL-3" +KEYWORDS="amd64 x86" + +S=${WORKDIR} + +VIM_PLUGIN_HELPFILES="automatic-tex-plugin.txt" + +RDEPEND=" + || ( + app-editors/vim[python,${PYTHON_SINGLE_USEDEP}] + app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}] + ) + !app-vim/vim-latex + app-vim/align + app-text/wdiff + $(python_gen_cond_dep ' + dev-python/psutil[${PYTHON_MULTI_USEDEP}] + ') + dev-tex/latexmk + dev-tex/detex + virtual/tex-base + ${PYTHON_DEPS}" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +src_prepare() { + python_fix_shebang . +} -- cgit v1.2.3-65-gdbad