app-vim/editorconfig-vim: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 12:14:01 +0000 (13:14 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:17:27 +0000 (17:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild

index a3f80d6cb8c4d1015b9b80392c5e14281bcc2d59..006508da113a358680cbea51491883049a771557 100644 (file)
@@ -17,10 +17,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
        ${PYTHON_DEPS}
-       dev-python/editorconfig-core-py[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/editorconfig-core-py[${PYTHON_MULTI_USEDEP}]
+       ')
        || (
-               app-editors/vim[python,${PYTHON_USEDEP}]
-               app-editors/gvim[python,${PYTHON_USEDEP}]
+               app-editors/vim[python,${PYTHON_SINGLE_USEDEP}]
+               app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}]
        )"
 RDEPEND="${DEPEND}"