From: Michał Górny Date: Tue, 3 Dec 2019 09:52:31 +0000 (+0100) Subject: dev-python/jira: Restrict jirashell to py3 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=83cb732725aec655fa326b66654f361b50a35602;p=gentoo.git dev-python/jira: Restrict jirashell to py3 Signed-off-by: Michał Górny --- diff --git a/dev-python/jira/jira-1.0.14-r2.ebuild b/dev-python/jira/jira-1.0.14-r2.ebuild index 321f0c84d12c..69e2892abc75 100644 --- a/dev-python/jira/jira-1.0.14-r2.ebuild +++ b/dev-python/jira/jira-1.0.14-r2.ebuild @@ -13,6 +13,8 @@ LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" IUSE="magic jirashell kerberos oauth" +REQUIRED_USE="kerberos? ( !python_targets_python2_7 ) + jirashell? ( || ( $(python_gen_useflags -3) ) )" DEPEND=" >=dev-python/pbr-3.0[${PYTHON_USEDEP}] @@ -26,8 +28,10 @@ RDEPEND=" dev-python/six[${PYTHON_USEDEP}] magic? ( dev-python/filemagic[${PYTHON_USEDEP}] ) jirashell? ( - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/requests-oauthlib[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + ' -3) ) kerberos? ( $(python_gen_cond_dep 'dev-python/requests-kerberos[${PYTHON_USEDEP}]' -3) ) oauth? ( @@ -35,5 +39,3 @@ RDEPEND=" dev-python/requests-oauthlib[${PYTHON_USEDEP}] ) " - -REQUIRED_USE="kerberos? ( !python_targets_python2_7 )"