summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 13:12:19 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:17:25 +0100
commit0d984f20f5e8f42513700cf6e1312ed91ab03242 (patch)
tree67915a3059d52b1455aa32aae530791db67f74c6 /app-vim
parentapp-vim/automatictexplugin: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-0d984f20f5e8f42513700cf6e1312ed91ab03242.tar.gz
gentoo-0d984f20f5e8f42513700cf6e1312ed91ab03242.tar.bz2
gentoo-0d984f20f5e8f42513700cf6e1312ed91ab03242.zip
app-vim/colorv: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-vim')
-rw-r--r--app-vim/colorv/colorv-3.0.2-r2.ebuild (renamed from app-vim/colorv/colorv-3.0.2-r1.ebuild)15
1 files changed, 10 insertions, 5 deletions
diff --git a/app-vim/colorv/colorv-3.0.2-r1.ebuild b/app-vim/colorv/colorv-3.0.2-r2.ebuild
index 7f371d403d8d..2f7155bb1008 100644
--- a/app-vim/colorv/colorv-3.0.2-r1.ebuild
+++ b/app-vim/colorv/colorv-3.0.2-r2.ebuild
@@ -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