summaryrefslogtreecommitdiff
path: root/dev-python/apache-libcloud/apache-libcloud-3.9.1.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/apache-libcloud/apache-libcloud-3.9.1.ebuild
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/apache-libcloud/apache-libcloud-3.9.1.ebuild')
-rw-r--r--dev-python/apache-libcloud/apache-libcloud-3.9.1.ebuild72
1 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/apache-libcloud/apache-libcloud-3.9.1.ebuild b/dev-python/apache-libcloud/apache-libcloud-3.9.1.ebuild
new file mode 100644
index 000000000000..d666b86eeeee
--- /dev/null
+++ b/dev-python/apache-libcloud/apache-libcloud-3.9.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+PYTHON_REQ_USE="ssl(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Unified Interface to the Cloud - python support libs"
+HOMEPAGE="
+ https://libcloud.apache.org/
+ https://github.com/apache/libcloud/
+ https://pypi.org/project/apache-libcloud/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86"
+IUSE="examples"
+
+# Includes optional driver dependencies that are also test dependencies.
+RDEPEND="
+ >=dev-python/cryptography-44.0.2[${PYTHON_USEDEP}]
+ dev-python/fasteners[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/requests-mock[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ if use examples; then
+ mkdir examples || die
+ mv example_*.py examples || die
+ fi
+
+ # needed for tests
+ cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO
+ libcloud/test/test_init.py::TestUtils::test_init_once_and_debug_mode
+ libcloud/test/common/test_openstack_identity.py::OpenStackIdentityConnectionTestCase::test_token_expiration_and_force_reauthenti
+ )
+ local EPYTEST_IGNORE=(
+ libcloud/test/benchmarks
+ # broken by modern paramiko
+ libcloud/test/compute/test_ssh_client.py
+ )
+
+ local -x NO_INTERNET=1
+ epytest
+}
+
+src_install() {
+ use examples && dodoc -r examples
+ distutils-r1_src_install
+}