commit: 07f1c1f9dc2e714de83592f18a276f08350e26ac
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 3 05:31:34 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 3 05:58:12 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f1c1f9
dev-python/b2sdk: Bump to 2.10.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/b2sdk/Manifest | 1 +
dev-python/b2sdk/b2sdk-2.10.4.ebuild | 52 ++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 31e590ae423e..f40431c4474b 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1 +1,2 @@
DIST b2sdk-2.10.3.gh.tar.gz 564677 BLAKE2B
7fdebd6ae25ef1dab33c1d2f8e223d7ac32d3d2551cc528ac63b09d4017cb4cad1900ebdb35bd736094372238dff70a6fe7d13c707193ee0086da16e5ed6b6d9
SHA512
fc2ce069f044c13e46899c4599ee4ab3b0859f0812938b5376ab35577e2cdfa575c7fd823d38b1ffdb681dd2a21122733dbe8ad033a6a958c386d77d8869a198
+DIST b2sdk-2.10.4.gh.tar.gz 564873 BLAKE2B
a6b06e110d725907568e27e15e8ea76636632ad6f2ca36a45587fa8596c0bdcd387f631ea2c2289e8865e20a0d475bc2c278d9471d2e24a4303932c4bbee0dfa
SHA512
9854882551d3a4adf558cf914f1afbdd50ca89ac33b3c89731474e78a55e34bbc7b0a2a23d1f794c55254b714cd6f50553dbb82dbdb2e9ccfaa8c61cb14c41ec
diff --git a/dev-python/b2sdk/b2sdk-2.10.4.ebuild
b/dev-python/b2sdk/b2sdk-2.10.4.ebuild
new file mode 100644
index 000000000000..9a37e8be3291
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-2.10.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{12..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Library to access Backblaze B2 cloud storage"
+HOMEPAGE="
+ https://github.com/Backblaze/b2-sdk-python
+ https://pypi.org/project/b2sdk/
+"
+# No tests in sdist
+SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
+S="${WORKDIR}"/b2-sdk-python-${PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# pydantic can be used but it has a fallback
+RDEPEND="
+ >=dev-python/annotated-types-0.5.0[${PYTHON_USEDEP}]
+ >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+ >=dev-python/tenacity-9.1.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ dev-python/responses[${PYTHON_USEDEP}]
+ >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ # Requires network access and real API keys
+ test/integration/test_bucket.py
+ test/integration/test_download.py
+ test/integration/test_file_version_attributes.py
+ test/integration/test_sync.py
+ test/integration/test_upload.py
+ test/integration/test_raw_api.py
+)
+
+EPYTEST_PLUGINS=( pytest-{lazy-fixtures,mock,timeout} )
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}