From 83cb732725aec655fa326b66654f361b50a35602 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 3 Dec 2019 10:52:31 +0100 Subject: [PATCH] dev-python/jira: Restrict jirashell to py3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/jira/jira-1.0.14-r2.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 )" -- 2.26.2