commit: 68296fbadc09d379ed204e58cac2d7a491ed099c
Author: Arthur Zamarin <arthurzam <AT> gmail <DOT> com>
AuthorDate: Mon Aug 2 17:44:20 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 5 18:07:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68296fba
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 <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/libcloud/libcloud-3.3.0.ebuild | 14 ++++++++------
1 file 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 eae3be8212e..0c5711501b8 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