1 |
commit: af69341175a7ae1eeb9c58599a74c61ae1d0499f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 27 06:43:02 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 27 07:22:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af693411 |
7 |
|
8 |
dev-python/paste: Use python_gen_cond_dep |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/paste/paste-3.2.3.ebuild | 6 ++++-- |
13 |
1 file changed, 4 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/paste/paste-3.2.3.ebuild b/dev-python/paste/paste-3.2.3.ebuild |
16 |
index eb9f07e5598..1c8b18ca69e 100644 |
17 |
--- a/dev-python/paste/paste-3.2.3.ebuild |
18 |
+++ b/dev-python/paste/paste-3.2.3.ebuild |
19 |
@@ -22,8 +22,10 @@ IUSE="flup openid" |
20 |
|
21 |
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}] |
22 |
>=dev-python/six-1.4.0[${PYTHON_USEDEP}] |
23 |
- flup? ( dev-python/flup[$(python_gen_usedep 'python2*')] ) |
24 |
- openid? ( dev-python/python-openid[$(python_gen_usedep 'python2*')] )" |
25 |
+ flup? ( |
26 |
+ $(python_gen_cond_dep 'dev-python/flup[${PYTHON_USEDEP}]' -2) ) |
27 |
+ openid? ( |
28 |
+ $(python_gen_cond_dep 'dev-python/python-openid[${PYTHON_USEDEP}]' -2) )" |
29 |
DEPEND="${RDEPEND}" |
30 |
|
31 |
S="${WORKDIR}/${MY_P}" |