commit: 98a2b3a0810d741eb1e4a8e944f7c83b2eac705b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 22 22:23:24 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 22:24:30 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98a2b3a0
dev-python/b2sdk: add 2.10.3
Dropped a lot of workarounds \o/
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/b2sdk/Manifest | 1 +
dev-python/b2sdk/b2sdk-2.10.3.ebuild | 49 ++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 6408646a030b..8450f70eb1db 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,2 +1,3 @@
DIST b2sdk-2.10.1.gh.tar.gz 423901 BLAKE2B
13695181133e0df9a313cc0352f10f3d7dd5b301c87f6edce1ef88292eee2fdf78a48d79a8a3690c43abeb6dac3193955371260aa126bb9b0bcd1f0a67f99f4c
SHA512
c2c74bd1ae33801ef2f3a13781a423efd10843283a2b976ccbf4baac80a586be2b827f862fa1d0d8b7bdcd662c75a37b4687b162672421a040c74ca47fb272c5
DIST b2sdk-2.10.2.gh.tar.gz 431919 BLAKE2B
5afc6b1d832b449551d1093e788c0ff518dc589c9d968555fa72ad4684d14f9f64681a6f78a55cc125aaf43416202b390eecbef246067d2bb948f730aa564e7f
SHA512
633715c57bc61d1fa55bf86ab9ad838099f8670aab0b76a82c979ed79d2feac106daf8a067123733ff74c08f77d1cf35377057c18c29c0705d5f902b759a7b69
+DIST b2sdk-2.10.3.gh.tar.gz 564677 BLAKE2B
7fdebd6ae25ef1dab33c1d2f8e223d7ac32d3d2551cc528ac63b09d4017cb4cad1900ebdb35bd736094372238dff70a6fe7d13c707193ee0086da16e5ed6b6d9
SHA512
fc2ce069f044c13e46899c4599ee4ab3b0859f0812938b5376ab35577e2cdfa575c7fd823d38b1ffdb681dd2a21122733dbe8ad033a6a958c386d77d8869a198
diff --git a/dev-python/b2sdk/b2sdk-2.10.3.ebuild
b/dev-python/b2sdk/b2sdk-2.10.3.ebuild
new file mode 100644
index 000000000000..e213cb994606
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-2.10.3.ebuild
@@ -0,0 +1,49 @@
+# 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="
+ 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