mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/b2sdk: Bump to 2.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST b2sdk-2.10.4.gh.tar.gz 564873 BLAKE2B a6b06e110d725907568e27e15e8ea76636632ad6f2ca36a45587fa8596c0bdcd387f631ea2c2289e8865e20a0d475bc2c278d9471d2e24a4303932c4bbee0dfa SHA512 9854882551d3a4adf558cf914f1afbdd50ca89ac33b3c89731474e78a55e34bbc7b0a2a23d1f794c55254b714cd6f50553dbb82dbdb2e9ccfaa8c61cb14c41ec
|
||||
DIST b2sdk-2.11.0.gh.tar.gz 564361 BLAKE2B 5f0645a23c924c4dec1e851e602b782b8ea7203e667c160520ec7019a8c3500440149ab11c94084ee0aad59d185fbff90f64fc7d4b40d8d47099e7311f3d8437 SHA512 53e511824dcb95e7aa70866ddb75a7b1abd780031b87021f65874d2cb18c527414ad19f291bc87788d8a801aa20f1a676ba27972e56ae76b15766de756163f50
|
||||
|
||||
52
dev-python/b2sdk/b2sdk-2.11.0.ebuild
Normal file
52
dev-python/b2sdk/b2sdk-2.11.0.ebuild
Normal file
@@ -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}
|
||||
Reference in New Issue
Block a user