commit: 83cb732725aec655fa326b66654f361b50a35602
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 3 09:52:31 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 4 17:13:24 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83cb7327
dev-python/jira: Restrict jirashell to py3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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 321f0c84d12..69e2892abc7 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 )"