commit: 423c4146d35d52ce521d0398e7d4bca209d438d7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 12:18:46 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:17:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423c4146
app-vim/vimpress: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{vimpress-3.2.0.ebuild => vimpress-3.2.0-r1.ebuild} | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/app-vim/vimpress/vimpress-3.2.0.ebuild
b/app-vim/vimpress/vimpress-3.2.0-r1.ebuild
similarity index 62%
rename from app-vim/vimpress/vimpress-3.2.0.ebuild
rename to app-vim/vimpress/vimpress-3.2.0-r1.ebuild
index 863178d710d..e7e8ba8673d 100644
--- a/app-vim/vimpress/vimpress-3.2.0.ebuild
+++ b/app-vim/vimpress/vimpress-3.2.0-r1.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=5
@@ -12,9 +12,15 @@ LICENSE="vim"
KEYWORDS="amd64 x86"
IUSE=""
-RDEPEND="|| ( app-editors/vim[python,${PYTHON_USEDEP}]
app-editors/gvim[python,${PYTHON_USEDEP}] )
+RDEPEND="
+ || (
+ app-editors/vim[python,${PYTHON_SINGLE_USEDEP}]
+ app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}]
+ )
${PYTHON_DEPS}
- dev-python/markdown[${PYTHON_USEDEP}]"
+ $(python_gen_cond_dep '
+ dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+ ')"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
VIM_PLUGIN_HELPFILES="${PN}.txt"