From: Michał Górny Date: Mon, 27 Jan 2020 06:43:02 +0000 (+0100) Subject: dev-python/paste: Use python_gen_cond_dep X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af69341175a7ae1eeb9c58599a74c61ae1d0499f;p=gentoo.git dev-python/paste: Use python_gen_cond_dep Signed-off-by: Michał Górny --- diff --git a/dev-python/paste/paste-3.2.3.ebuild b/dev-python/paste/paste-3.2.3.ebuild index eb9f07e5598b..1c8b18ca69e2 100644 --- a/dev-python/paste/paste-3.2.3.ebuild +++ b/dev-python/paste/paste-3.2.3.ebuild @@ -22,8 +22,10 @@ IUSE="flup openid" RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}] >=dev-python/six-1.4.0[${PYTHON_USEDEP}] - flup? ( dev-python/flup[$(python_gen_usedep 'python2*')] ) - openid? ( dev-python/python-openid[$(python_gen_usedep 'python2*')] )" + flup? ( + $(python_gen_cond_dep 'dev-python/flup[${PYTHON_USEDEP}]' -2) ) + openid? ( + $(python_gen_cond_dep 'dev-python/python-openid[${PYTHON_USEDEP}]' -2) )" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}"