app-vim/vimoutliner: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 12:18:10 +0000 (13:18 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:17:36 +0000 (17:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-vim/vimoutliner/vimoutliner-0.3.6-r3.ebuild [moved from app-vim/vimoutliner/vimoutliner-0.3.6-r2.ebuild with 94% similarity]
app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r2.ebuild [moved from app-vim/vimoutliner/vimoutliner-0.4.0_p20180301-r1.ebuild with 90% similarity]

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 4168f3a1c1b7e3f875d03a378cc801a62d2ed9b9..517d6a36c565213efd3ebedd8a95f39ce1cbf864 100644 (file)
@@ -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
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 91f8bce967cacfc488af7eef4c7112cb61ca7ca6..c6da5e2e298ac8a81a6c5757125327118f113803 100644 (file)
@@ -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() {