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

similarity index 76%
rename from app-vim/colorv/colorv-3.0.2-r1.ebuild
rename to app-vim/colorv/colorv-3.0.2-r2.ebuild
index 7f371d403d8d29879b4181e54e7213db6a951684..2f7155bb1008f7e4b254dd4dd6bf58a3f723649e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,10 +19,15 @@ VIM_PLUGIN_HELPFILES="${PN}.txt"
 
 RDEPEND="
        ${PYTHON_DEPS}
-       || (
-               app-editors/vim[python,${PYTHON_USEDEP}]
-               ( app-editors/gvim[python,${PYTHON_USEDEP}] dev-python/pygtk:2[${PYTHON_USEDEP}] )
-       )"
+       $(python_gen_cond_dep '
+               || (
+                       app-editors/vim[python,${PYTHON_SINGLE_USEDEP}]
+                       (
+                               app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}]
+                               dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
+                       )
+               )
+       ')"
 
 src_prepare() {
        eapply_user