app-vim/vimoutliner: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-02-09 17:17:36 +01:00
parent 3b7c9eb479
commit b4b479e4ef
2 changed files with 7 additions and 3 deletions
@@ -21,7 +21,9 @@ VIM_PLUGIN_MESSAGES="filetype"
PATCHES=( "${FILESDIR}/${P}-fix-shebangs.patch" )
RDEPEND="${PYTHON_DEPS}
dev-python/autopep8[${PYTHON_USEDEP}]"
$(python_gen_cond_dep '
dev-python/autopep8[${PYTHON_MULTI_USEDEP}]
')"
pkg_setup() {
python-single-r1_pkg_setup
@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,7 +23,9 @@ VIM_PLUGIN_HELPFILES="vimoutliner"
VIM_PLUGIN_MESSAGES="filetype"
RDEPEND="${PYTHON_DEPS}
dev-python/autopep8[${PYTHON_USEDEP}]"
$(python_gen_cond_dep '
dev-python/autopep8[${PYTHON_MULTI_USEDEP}]
')"
DEPEND="${RDEPEND}"
src_prepare() {