summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gmail.com>2021-08-02 20:44:20 +0300
committerMichał Górny <mgorny@gentoo.org>2021-08-05 20:07:15 +0200
commit68296fbadc09d379ed204e58cac2d7a491ed099c (patch)
tree165099533303a290c19a33ccace40d863ca0f580
parentdev-python/lockfile: enable py3.10 (diff)
downloadgentoo-68296fbadc09d379ed204e58cac2d7a491ed099c.tar.gz
gentoo-68296fbadc09d379ed204e58cac2d7a491ed099c.tar.bz2
gentoo-68296fbadc09d379ed204e58cac2d7a491ed099c.zip
dev-python/libcloud: enable py3.10, add dep dev-python/pyopenssl
pyopenssl is used in file libcloud/loadbalancer/drivers/nttcis.py Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/libcloud/libcloud-3.3.0.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-python/libcloud/libcloud-3.3.0.ebuild b/dev-python/libcloud/libcloud-3.3.0.ebuild
index eae3be8212e2..0c5711501b8b 100644
--- a/dev-python/libcloud/libcloud-3.3.0.ebuild
+++ b/dev-python/libcloud/libcloud-3.3.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="ssl(+)"
inherit distutils-r1
@@ -18,11 +18,11 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="examples"
-RDEPEND=">=dev-python/requests-2.5.0[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-BDEPEND+="
+RDEPEND="
+ dev-python/pyopenssl[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.5.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
test? (
>=dev-python/cryptography-2.6.1[${PYTHON_USEDEP}]
dev-python/lockfile[${PYTHON_USEDEP}]
@@ -31,6 +31,8 @@ BDEPEND+="
)
"
+distutils_enable_tests pytest
+
python_prepare_all() {
if use examples; then
mkdir examples || die