Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/vimpress/
Date: Sun, 09 Feb 2020 16:18:23
Message-Id: 1581265057.423c4146d35d52ce521d0398e7d4bca209d438d7.mgorny@gentoo
1 commit: 423c4146d35d52ce521d0398e7d4bca209d438d7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 12:18:46 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:17:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423c4146
7
8 app-vim/vimpress: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../{vimpress-3.2.0.ebuild => vimpress-3.2.0-r1.ebuild} | 12 +++++++++---
13 1 file changed, 9 insertions(+), 3 deletions(-)
14
15 diff --git a/app-vim/vimpress/vimpress-3.2.0.ebuild b/app-vim/vimpress/vimpress-3.2.0-r1.ebuild
16 similarity index 62%
17 rename from app-vim/vimpress/vimpress-3.2.0.ebuild
18 rename to app-vim/vimpress/vimpress-3.2.0-r1.ebuild
19 index 863178d710d..e7e8ba8673d 100644
20 --- a/app-vim/vimpress/vimpress-3.2.0.ebuild
21 +++ b/app-vim/vimpress/vimpress-3.2.0-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=5
28 @@ -12,9 +12,15 @@ LICENSE="vim"
29 KEYWORDS="amd64 x86"
30 IUSE=""
31
32 -RDEPEND="|| ( app-editors/vim[python,${PYTHON_USEDEP}] app-editors/gvim[python,${PYTHON_USEDEP}] )
33 +RDEPEND="
34 + || (
35 + app-editors/vim[python,${PYTHON_SINGLE_USEDEP}]
36 + app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}]
37 + )
38 ${PYTHON_DEPS}
39 - dev-python/markdown[${PYTHON_USEDEP}]"
40 + $(python_gen_cond_dep '
41 + dev-python/markdown[${PYTHON_MULTI_USEDEP}]
42 + ')"
43 REQUIRED_USE=${PYTHON_REQUIRED_USE}
44
45 VIM_PLUGIN_HELPFILES="${PN}.txt"