dev-python/jira: allow dev-python/pycryptodome as well as dev-python/pycrypto, Bug #611568

Gentoo-Bug: https://bugs.gentoo.org/611568
Gentoo-Bug: https://bugs.gentoo.org/611596
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Austin English
2017-12-13 17:00:50 -06:00
parent fa14f90a9e
commit aab162ef39

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2017 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 ipython oauth"
DEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-toolbelt[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
filemagic? ( dev-python/filemagic[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
oauth? (
|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
)
"