app-vim/automatictexplugin: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 12:11:20 +0000 (13:11 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:17:23 +0000 (17:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-vim/automatictexplugin/automatictexplugin-12.5-r2.ebuild [moved from app-vim/automatictexplugin/automatictexplugin-12.5-r1.ebuild with 73% similarity]

similarity index 73%
rename from app-vim/automatictexplugin/automatictexplugin-12.5-r1.ebuild
rename to app-vim/automatictexplugin/automatictexplugin-12.5-r2.ebuild
index d3a67dadea3a546859626a51895b69542dc14f66..d32b783b6b13b799ae382e8428a625cd27c1f019 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,11 +17,17 @@ S=${WORKDIR}
 
 VIM_PLUGIN_HELPFILES="automatic-tex-plugin.txt"
 
-RDEPEND="|| ( app-editors/vim[python,${PYTHON_USEDEP}] app-editors/gvim[python,${PYTHON_USEDEP}] )
+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
-       dev-python/psutil[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/psutil[${PYTHON_MULTI_USEDEP}]
+       ')
        dev-tex/latexmk
        dev-tex/detex
        virtual/tex-base