summaryrefslogtreecommitdiff
path: root/dev-python/apache-libcloud
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-07 19:13:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-07 19:13:18 +0000
commit63cc2c766bddbc62e012b702853544b13e1d9612 (patch)
treed1a813acde1218348da28db4415bf9bb9cd81705 /dev-python/apache-libcloud
parentbd8f31291641f6114c228c3d0381a13a04169e93 (diff)
downloadbaldeagleos-repo-63cc2c766bddbc62e012b702853544b13e1d9612.tar.gz
baldeagleos-repo-63cc2c766bddbc62e012b702853544b13e1d9612.tar.xz
baldeagleos-repo-63cc2c766bddbc62e012b702853544b13e1d9612.zip
Adding metadata
Diffstat (limited to 'dev-python/apache-libcloud')
-rw-r--r--dev-python/apache-libcloud/Manifest1
-rw-r--r--dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild69
-rw-r--r--dev-python/apache-libcloud/files/apache-libcloud-3.8.0-pytest-8.2.patch25
3 files changed, 0 insertions, 95 deletions
diff --git a/dev-python/apache-libcloud/Manifest b/dev-python/apache-libcloud/Manifest
index c6a7ed5bb88f..85bc1f6e4ec0 100644
--- a/dev-python/apache-libcloud/Manifest
+++ b/dev-python/apache-libcloud/Manifest
@@ -1,2 +1 @@
-DIST apache-libcloud-3.8.0.tar.gz 2457665 BLAKE2B 39a6f3f99d3b685150e9a5ec198da705e0c8a3fed7da1300a734fe69310f888401da6683a8ea4b3fe042776a19ebff28f7c82921f29ebc91349a3c1a24e60e20 SHA512 ef221c79be2adf22bbd9fa739c619fa8c0afb493a410bf36a6cf2b3ad5cb18b61f552a1d98400b9152c790e3a88ca504848e03bae1fe8a14b94f72f9b7358f50
DIST apache_libcloud-3.9.0.tar.gz 2579758 BLAKE2B 642f8a61ac0f61cdfb6213bda7fd1cea5c5258a9ed758ae596848d6c32297c5f4f37800b86e8b99525db1e3ff2f07988e6a1a6bc5f396588dad81158abb53514 SHA512 dd803435ab5a33492dc54ccd0799a718167912cdbd772a2e532efc360208b19908323c58c9d728ff5792c2172f9f27ba5c5e09945171021bcc1b8980ca472824
diff --git a/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild b/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild
deleted file mode 100644
index 932bcbde2f7a..000000000000
--- a/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..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"
-
-RDEPEND="
- dev-python/pyopenssl[${PYTHON_USEDEP}]
- >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- >=dev-python/cryptography-2.6.1[${PYTHON_USEDEP}]
- dev-python/requests-mock[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- local PATCHES=(
- # https://github.com/apache/libcloud/pull/2014
- "${FILESDIR}/${P}-pytest-8.2.patch"
- )
-
- 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
- )
-
- local -x NO_INTERNET=1
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest
-}
-
-src_install() {
- use examples && dodoc -r examples
- distutils-r1_src_install
-}
diff --git a/dev-python/apache-libcloud/files/apache-libcloud-3.8.0-pytest-8.2.patch b/dev-python/apache-libcloud/files/apache-libcloud-3.8.0-pytest-8.2.patch
deleted file mode 100644
index 03917b0dac75..000000000000
--- a/dev-python/apache-libcloud/files/apache-libcloud-3.8.0-pytest-8.2.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 0b69d0bf23b6c2edb1e2002f47ff2df0080e96d9 Mon Sep 17 00:00:00 2001
-From: Steve Kowalik <steven@wedontsleep.org>
-Date: Thu, 6 Jun 2024 12:25:15 +1000
-Subject: [PATCH] Mark MockHttp as not for collection by pytest
-
-pytest 8.2.0 contains a regression that will collect non-test classes,
-so as to be explicit about it, mark MockHttp (and therefore all of its
-children classes) as not to be collected.
----
- libcloud/test/__init__.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/libcloud/test/__init__.py b/libcloud/test/__init__.py
-index d45c82c84d..d0da40c74a 100644
---- a/libcloud/test/__init__.py
-+++ b/libcloud/test/__init__.py
-@@ -97,6 +97,8 @@ class MockHttp(LibcloudConnection):
-
- (int status, str body, dict headers, str reason)
- """
-+ # pytest may collect this class, and we don't need or want that
-+ __test__ = False
-
- type = None
- use_param = None # will use this param to namespace the request function