dev-python/jira: USE=filemagic → magic, to match global
authorMichał Górny <mgorny@gentoo.org>
Mon, 19 Aug 2019 20:06:45 +0000 (22:06 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 25 Sep 2019 17:33:04 +0000 (19:33 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/12749
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/jira/jira-1.0.14-r2.ebuild [new file with mode: 0644]

diff --git a/dev-python/jira/jira-1.0.14-r2.ebuild b/dev-python/jira/jira-1.0.14-r2.ebuild
new file mode 100644 (file)
index 0000000..321f0c8
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+inherit distutils-r1
+
+DESCRIPTION="Python library for interacting with the JIRA REST API"
+HOMEPAGE="https://jira.readthedocs.io/en/latest/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="magic jirashell kerberos oauth"
+
+DEPEND="
+       >=dev-python/pbr-3.0[${PYTHON_USEDEP}]
+       dev-python/pytest-runner[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       "
+RDEPEND="
+       dev-python/defusedxml[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       dev-python/requests-toolbelt[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+       magic? ( dev-python/filemagic[${PYTHON_USEDEP}] )
+       jirashell? (
+               dev-python/ipython[${PYTHON_USEDEP}]
+               dev-python/requests-oauthlib[${PYTHON_USEDEP}]
+       )
+       kerberos? ( $(python_gen_cond_dep 'dev-python/requests-kerberos[${PYTHON_USEDEP}]' -3) )
+       oauth? (
+               || ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
+               dev-python/requests-oauthlib[${PYTHON_USEDEP}]
+       )
+       "
+
+REQUIRED_USE="kerberos? ( !python_targets_python2_7 )"