summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-05 10:47:09 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-05 11:13:52 +0100
commitfec686fb8aedcb8bc90f7a2a931bb89ace88d32a (patch)
tree9a162c5c869d559bde5804a1306d8c86ba10d733 /dev-python/requests-kerberos
parentdev-python/pyproj: Bump to 3.0.1 (diff)
downloadgentoo-fec686fb8aedcb8bc90f7a2a931bb89ace88d32a.tar.gz
gentoo-fec686fb8aedcb8bc90f7a2a931bb89ace88d32a.tar.bz2
gentoo-fec686fb8aedcb8bc90f7a2a931bb89ace88d32a.zip
dev-python/requests-kerberos: Add missing cryptography dep
Closes: https://bugs.gentoo.org/774303 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/requests-kerberos')
-rw-r--r--dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild
index 5c364f10e60a..7fc7fc968c67 100644
--- a/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild
+++ b/dev-python/requests-kerberos/requests-kerberos-0.12.0-r1.ebuild
@@ -17,11 +17,16 @@ KEYWORDS="amd64 x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
-RDEPEND=">=dev-python/requests-1.1.0[${PYTHON_USEDEP}]
- || ( >=dev-python/pykerberos-1.1.8[${PYTHON_USEDEP}] <dev-python/pykerberos-2[${PYTHON_USEDEP}] )"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+RDEPEND="
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ >=dev-python/requests-1.1.0[${PYTHON_USEDEP}]
+ || (
+ <dev-python/pykerberos-2[${PYTHON_USEDEP}]
+ >=dev-python/pykerberos-1.1.8[${PYTHON_USEDEP}]
+ )"
+BDEPEND="
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
python_test() {
- ${PYTHON} tests/test_requests_kerberos.py || die
+ "${EPYTHON}" tests/test_requests_kerberos.py -v || die
}