commit: 4a34d08a1e16280ddc5da09cc921c2acb3ea60f3
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Jul 8 08:35:36 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 8 08:36:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a34d08a
dev-python/b2sdk: treeclean, moved to ::gentoo
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/b2sdk/Manifest | 2 -
dev-python/b2sdk/b2sdk-2.3.0.ebuild | 52 --------------------
dev-python/b2sdk/b2sdk-2.8.1.ebuild | 48 -------------------
.../b2sdk/files/b2sdk-2.3.0-lazy-fixtures.patch | 56 ----------------------
dev-python/b2sdk/metadata.xml | 17 -------
5 files changed, 175 deletions(-)
diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
deleted file mode 100644
index 5fa9af4893..0000000000
--- a/dev-python/b2sdk/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST b2sdk-2.3.0.tar.gz 390949 BLAKE2B
e14c9fc56b7ed66350b8d73456dd50b0f6fdb40d7a6fe73cf7950afcb25bb5257a63bb361d8cbca99116b4999a2b0195967b4e08aff5ca9aaf5c16e4b4b532eb
SHA512
29ba07581d0e587b413396f128d7fe14f8ac25ea0553eef69e1c428823690974d9373db727321f9838886a07946c36defdd5bae24d31266751d6b1a2f05968c6
-DIST b2sdk-2.8.1.tar.gz 404058 BLAKE2B
69a74d995a7ff91f252676edfbe274e6239ec70f95ccaf5f357fd13f482dea433074b471bd06fc1ee7f88bdc964d3dd5571441491dcfa333f8101eeb8b9b3ad8
SHA512
20cc8b4f28f010588965a5ca6300b41d914ecdba57f28ab0719c4ad52293d41e5c62648a178a5202614cdc65f22a9e48c5dd966a682daa98be07fdb04235f318
diff --git a/dev-python/b2sdk/b2sdk-2.3.0.ebuild
b/dev-python/b2sdk/b2sdk-2.3.0.ebuild
deleted file mode 100644
index d454921011..0000000000
--- a/dev-python/b2sdk/b2sdk-2.3.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517="pdm-backend"
-PYTHON_COMPAT=( python3_{11..12} )
-inherit distutils-r1
-
-DESCRIPTION="The client library for BackBlaze's B2 product"
-HOMEPAGE="https://github.com/Backblaze/b2-sdk-python"
-SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
-
-S="${WORKDIR}/b2-sdk-python-${PV}"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-export PDM_BUILD_SCM_VERSION=${PV}
-
-RDEPEND="
- $(python_gen_cond_dep '
- >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
- >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
- ')
-"
-
-distutils_enable_tests pytest
-
-# tqdm dependency is temporary, see
-# https://github.com/Backblaze/b2-sdk-python/issues/489
-BDEPEND+=" test? (
- $(python_gen_cond_dep '
- >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
- dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
- >=dev-python/tqdm-4.66.2[${PYTHON_USEDEP}]
- ')
-)"
-
-PATCHES=(
- # migrate from pytest-lazy-fixture to pytest-lazy-fixtures
- "${FILESDIR}/${P}-lazy-fixtures.patch"
-)
-
-# These tests seem to require some b2 authentication (they're integration tests
-# so this is not unreasonable)
-EPYTEST_DESELECT=(
- # These integration tests require an actual connection to backblaze,
which
- # can't typically work in the sandbox
- test/integration
-)
diff --git a/dev-python/b2sdk/b2sdk-2.8.1.ebuild
b/dev-python/b2sdk/b2sdk-2.8.1.ebuild
deleted file mode 100644
index 8e70de4f50..0000000000
--- a/dev-python/b2sdk/b2sdk-2.8.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517="pdm-backend"
-PYTHON_COMPAT=( python3_{11..13} )
-inherit distutils-r1
-
-DESCRIPTION="The client library for BackBlaze's B2 product"
-HOMEPAGE="https://github.com/Backblaze/b2-sdk-python"
-SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
-
-S="${WORKDIR}/b2-sdk-python-${PV}"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-export PDM_BUILD_SCM_VERSION=${PV}
-
-RDEPEND="
- $(python_gen_cond_dep '
- >=dev-python/annotated-types-0.7.0[${PYTHON_USEDEP}]
- >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
- >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
- ')
-"
-
-distutils_enable_tests pytest
-
-# tqdm dependency is temporary, see
-# https://github.com/Backblaze/b2-sdk-python/issues/489
-BDEPEND+=" test? (
- $(python_gen_cond_dep '
- >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
- dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
- >=dev-python/tqdm-4.66.2[${PYTHON_USEDEP}]
- ')
-)"
-
-# These tests seem to require some b2 authentication (they're integration tests
-# so this is not unreasonable)
-EPYTEST_DESELECT=(
- # These integration tests require an actual connection to backblaze,
which
- # can't typically work in the sandbox
- test/integration
-)
diff --git a/dev-python/b2sdk/files/b2sdk-2.3.0-lazy-fixtures.patch
b/dev-python/b2sdk/files/b2sdk-2.3.0-lazy-fixtures.patch
deleted file mode 100644
index 0a94287843..0000000000
--- a/dev-python/b2sdk/files/b2sdk-2.3.0-lazy-fixtures.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-Migrate from pytest-lazy-fixture to pytest-lazy-fixtures.
-https://github.com/Backblaze/b2-sdk-python/issues/484
---- a/test/unit/account_info/fixtures.py
-+++ b/test/unit/account_info/fixtures.py
-@@ -11,6 +11,7 @@ from __future__ import annotations
-
- import pytest
- from apiver_deps import InMemoryAccountInfo, SqliteAccountInfo
-+from pytest_lazy_fixtures import lf
-
-
- @pytest.fixture
-@@ -84,8 +85,8 @@ def sqlite_account_info(sqlite_account_info_factory):
-
- @pytest.fixture(
- params=[
-- pytest.lazy_fixture('in_memory_account_info_factory'),
-- pytest.lazy_fixture('sqlite_account_info_factory'),
-+ lf('in_memory_account_info_factory'),
-+ lf('sqlite_account_info_factory'),
- ]
- )
- def account_info_factory(request):
-@@ -94,8 +95,8 @@ def account_info_factory(request):
-
- @pytest.fixture(
- params=[
-- pytest.lazy_fixture('in_memory_account_info'),
-- pytest.lazy_fixture('sqlite_account_info'),
-+ lf('in_memory_account_info'),
-+ lf('sqlite_account_info'),
- ]
- )
- def account_info(request):
---- a/test/unit/test_cache.py
-+++ b/test/unit/test_cache.py
-@@ -13,7 +13,7 @@ from dataclasses import dataclass
-
- import pytest
- from apiver_deps import AuthInfoCache, DummyCache, InMemoryAccountInfo,
InMemoryCache
--from pytest_lazyfixture import lazy_fixture
-+from pytest_lazy_fixtures import lf
-
-
- @pytest.fixture
-@@ -32,8 +32,8 @@ def auth_info_cache():
-
-
- @pytest.fixture(
-- scope="class", params=[lazy_fixture('in_memory_cache'),
-- lazy_fixture('auth_info_cache')]
-+ params=[lf('in_memory_cache'),
-+ lf('auth_info_cache')]
- )
- def cache(request):
- return request.param
diff --git a/dev-python/b2sdk/metadata.xml b/dev-python/b2sdk/metadata.xml
deleted file mode 100644
index 5cdee8c4ce..0000000000
--- a/dev-python/b2sdk/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>[email protected]</email>
- <name>Wolfgang E. Sanyer</name>
- </maintainer>
- <longdescription lang="en">
- The command-line tool that gives easy access to all of the
capabilities
- of B2 Cloud Storage.
-
- This program provides command-line access to the B2 service.
- </longdescription>
- <upstream>
- <remote-id type="github">Backblaze/b2-sdk-python</remote-id>
- </upstream>
-</pkgmetadata>