From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/b2sdk/Manifest | 3 +++ dev-python/b2sdk/b2sdk-2.10.4.ebuild | 52 ++++++++++++++++++++++++++++++++++++ dev-python/b2sdk/b2sdk-2.11.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++ dev-python/b2sdk/b2sdk-2.12.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++ dev-python/b2sdk/metadata.xml | 14 ++++++++++ 5 files changed, 173 insertions(+) create mode 100644 dev-python/b2sdk/Manifest create mode 100644 dev-python/b2sdk/b2sdk-2.10.4.ebuild create mode 100644 dev-python/b2sdk/b2sdk-2.11.0.ebuild create mode 100644 dev-python/b2sdk/b2sdk-2.12.0.ebuild create mode 100644 dev-python/b2sdk/metadata.xml (limited to 'dev-python/b2sdk') diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest new file mode 100644 index 000000000000..721cdd0d6414 --- /dev/null +++ b/dev-python/b2sdk/Manifest @@ -0,0 +1,3 @@ +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 +DIST b2sdk-2.12.0.gh.tar.gz 491790 BLAKE2B 07fb95e44751e48f20da5df8baf81235eed128c655e5993cf38cf78c26201328d377e50d3a243e7a8a3609e01f6a5a86bab3dc20f2b38feff89ce7aa697213f5 SHA512 cf1d37112dc5b6059bab5f6f5d970a29cfc89a9825ad6044c107d5f7a0a38024c7851e3d72b41a1c750d86bcd25d1234d37aabcddc9c77692e67abcd8b4df622 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..ab5e92078f78 --- /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_{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.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} diff --git a/dev-python/b2sdk/b2sdk-2.11.0.ebuild b/dev-python/b2sdk/b2sdk-2.11.0.ebuild new file mode 100644 index 000000000000..ab5e92078f78 --- /dev/null +++ b/dev-python/b2sdk/b2sdk-2.11.0.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_{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.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} diff --git a/dev-python/b2sdk/b2sdk-2.12.0.ebuild b/dev-python/b2sdk/b2sdk-2.12.0.ebuild new file mode 100644 index 000000000000..af03776e4f71 --- /dev/null +++ b/dev-python/b2sdk/b2sdk-2.12.0.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_{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/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} diff --git a/dev-python/b2sdk/metadata.xml b/dev-python/b2sdk/metadata.xml new file mode 100644 index 000000000000..1c13aca8ace5 --- /dev/null +++ b/dev-python/b2sdk/metadata.xml @@ -0,0 +1,14 @@ + + + + + sam@gentoo.org + Sam James + + + python@gentoo.org + Python + + + baldeagleos-repo + -- cgit v1.3