From b4b479e4effc6a93fcea8a98ae6f03fa99f7be49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 13:18:10 +0100 Subject: [PATCH] app-vim/vimoutliner: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- ...outliner-0.3.6-r2.ebuild => vimoutliner-0.3.6-r3.ebuild} | 4 +++- ...0301-r1.ebuild => vimoutliner-0.4.0_p20180301-r2.ebuild} | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) rename app-vim/vimoutliner/{vimoutliner-0.3.6-r2.ebuild => vimoutliner-0.3.6-r3.ebuild} (94%) rename app-vim/vimoutliner/{vimoutliner-0.4.0_p20180301-r1.ebuild => vimoutliner-0.4.0_p20180301-r2.ebuild} (90%) diff --git a/app-vim/vimoutliner/vimoutliner-0.3.6-r2.ebuild b/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild similarity index 94% rename from app-vim/vimoutliner/vimoutliner-0.3.6-r2.ebuild rename to app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild index 4168f3a1c1b7..517d6a36c565 100644 --- a/app-vim/vimoutliner/vimoutliner-0.3.6-r2.ebuild +++ b/app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild @@ -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 diff --git a/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r1.ebuild b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild similarity index 90% rename from app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r1.ebuild rename to app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild index 91f8bce967ca..c6da5e2e298a 100644 --- a/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r1.ebuild +++ b/app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild @@ -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() { -- 2.26.2