summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2018-05-16 14:40:23 -0600
committerDenis Dupeyron <calchan@gentoo.org>2018-05-16 14:42:32 -0600
commit1aa4c56d9cf29a30c1f1f8ae65da52d924b8c907 (patch)
tree47a1955a2924d6b604b6cd37e363701434a4e5a8 /dev-python/jira
parentgames-action/bzflag: Fix plugins directory and --with-SDL (diff)
downloadgentoo-1aa4c56d9cf29a30c1f1f8ae65da52d924b8c907.tar.gz
gentoo-1aa4c56d9cf29a30c1f1f8ae65da52d924b8c907.tar.bz2
gentoo-1aa4c56d9cf29a30c1f1f8ae65da52d924b8c907.zip
dev-python/jira: fixed bug 655854, added kerberos authentication
Diffstat (limited to 'dev-python/jira')
-rw-r--r--dev-python/jira/jira-1.0.14-r1.ebuild39
-rw-r--r--dev-python/jira/metadata.xml2
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/jira/jira-1.0.14-r1.ebuild b/dev-python/jira/jira-1.0.14-r1.ebuild
new file mode 100644
index 000000000000..70df2a7ab9b2
--- /dev/null
+++ b/dev-python/jira/jira-1.0.14-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,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="filemagic 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}]
+ filemagic? ( 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 )"
diff --git a/dev-python/jira/metadata.xml b/dev-python/jira/metadata.xml
index 59bf90305a69..20544ce8d992 100644
--- a/dev-python/jira/metadata.xml
+++ b/dev-python/jira/metadata.xml
@@ -19,6 +19,8 @@
<use>
<flag name="filemagic">Include filemagic support (for identifying uploaded filetypes)</flag>
<flag name="ipython">Include Interactive Python (IPython)</flag>
+ <flag name="jirashell">Include dependencies for jirashell (ipython, oauthlib)</flag>
+ <flag name="kerberos">Support Kerberos authentication</flag>
<flag name="oauth">Support OAuth authentication</flag>
</use>
</pkgmetadata>