summaryrefslogtreecommitdiff
path: root/dev-python/b2sdk/b2sdk-2.13.2.ebuild
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-22 03:06:05 -0500
committerCrucible <crucible@localhost>2026-10-22 03:06:05 -0500
commit8745052a18eff33c0cf88b44cb2873be00384fd2 (patch)
tree077c2ec585f0fed99440175984def046ea1ba287 /dev-python/b2sdk/b2sdk-2.13.2.ebuild
parentbd550809cdcc8002624ac8e88cfca8703c81d32e (diff)
downloadsrcux-8745052a18eff33c0cf88b44cb2873be00384fd2.tar.gz
srcux-8745052a18eff33c0cf88b44cb2873be00384fd2.tar.xz
srcux-8745052a18eff33c0cf88b44cb2873be00384fd2.zip
Publish srcux candidate 0000000788-20261022-030227
Diffstat (limited to 'dev-python/b2sdk/b2sdk-2.13.2.ebuild')
-rw-r--r--dev-python/b2sdk/b2sdk-2.13.2.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/b2sdk/b2sdk-2.13.2.ebuild b/dev-python/b2sdk/b2sdk-2.13.2.ebuild
new file mode 100644
index 000000000000..4a89df5755bf
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-2.13.2.ebuild
@@ -0,0 +1,48 @@
+# 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/certifi-2026.10.19[${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}