summaryrefslogtreecommitdiff
path: root/dev-python/b2sdk
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-15 03:04:39 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-15 03:04:39 -0500
commitc012d247f03a893c117c88f73bcf6cb6494dcd22 (patch)
tree89fc51e9b45239a8e4233e466f4746f81ec6718f /dev-python/b2sdk
parentd09313d7f2546bde376a20ff739a5e90cb229e25 (diff)
downloadbaldeagleos-repo-c012d247f03a893c117c88f73bcf6cb6494dcd22.tar.gz
baldeagleos-repo-c012d247f03a893c117c88f73bcf6cb6494dcd22.tar.xz
baldeagleos-repo-c012d247f03a893c117c88f73bcf6cb6494dcd22.zip
Adding metadata
Diffstat (limited to 'dev-python/b2sdk')
-rw-r--r--dev-python/b2sdk/Manifest1
-rw-r--r--dev-python/b2sdk/b2sdk-2.13.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index fc4cf285ad98..f5483080f393 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1 +1,2 @@
DIST b2sdk-2.12.0.gh.tar.gz 491790 BLAKE2B 07fb95e44751e48f20da5df8baf81235eed128c655e5993cf38cf78c26201328d377e50d3a243e7a8a3609e01f6a5a86bab3dc20f2b38feff89ce7aa697213f5 SHA512 cf1d37112dc5b6059bab5f6f5d970a29cfc89a9825ad6044c107d5f7a0a38024c7851e3d72b41a1c750d86bcd25d1234d37aabcddc9c77692e67abcd8b4df622
+DIST b2sdk-2.13.0.gh.tar.gz 497308 BLAKE2B c34f4144bd54305668f041a61a77b08871857ad08746e4deeaa83ca499ba09d985c4fcfa86d761c589248258296bd24a21093e7b52cad45296d011001fe62e22 SHA512 7e615a1fa43ff1288d5f34ea7530dc0ed90195db331f21eeaa26f32083a27fdbc5d18c81f30a591d7d10c84637af24bcc67db2597b23a8697ba04001c2c23923
diff --git a/dev-python/b2sdk/b2sdk-2.13.0.ebuild b/dev-python/b2sdk/b2sdk-2.13.0.ebuild
new file mode 100644
index 000000000000..1c369300e6f9
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-2.13.0.ebuild
@@ -0,0 +1,47 @@
+# 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_{13..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.33.0[${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
+)
+
+EPYTEST_PLUGINS=( pytest-{lazy-fixtures,mock,timeout} )
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}