From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 396E4158088 for ; Sun, 26 Oct 2025 01:40:37 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 23BB43419A8 for ; Sun, 26 Oct 2025 01:40:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1CFD011056D; Sun, 26 Oct 2025 01:40:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0765011056D for ; Sun, 26 Oct 2025 01:40:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9934341415 for ; Sun, 26 Oct 2025 01:40:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F20E2CDD for ; Sun, 26 Oct 2025 01:40:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1761442678.f9322a3f5788dbb47c987f60b1624a18665355c5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/b2sdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/b2sdk/Manifest dev-python/b2sdk/b2sdk-2.10.1.ebuild X-VCS-Directories: dev-python/b2sdk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f9322a3f5788dbb47c987f60b1624a18665355c5 X-VCS-Branch: master Date: Sun, 26 Oct 2025 01:40:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0ab4a61e-0eaf-491d-b91f-7b77fead44fd X-Archives-Hash: 983975d2ec12075571833b965ecf4030 commit: f9322a3f5788dbb47c987f60b1624a18665355c5 Author: Sam James gentoo org> AuthorDate: Sun Oct 26 01:37:58 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 26 01:37:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9322a3f dev-python/b2sdk: add 2.10.1 Signed-off-by: Sam James gentoo.org> dev-python/b2sdk/Manifest | 1 + dev-python/b2sdk/b2sdk-2.10.1.ebuild | 54 ++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest index c7a7a2886f2b..c20b47305908 100644 --- a/dev-python/b2sdk/Manifest +++ b/dev-python/b2sdk/Manifest @@ -1 +1,2 @@ DIST b2sdk-2.10.0.gh.tar.gz 423479 BLAKE2B 04dc1c347817ef537c6c6a217e69baa0e54d0dce75601926c785f6dd43a402b30e3936e1062e7da988d3aac143b5541ed5e35f49b0175f1440a94018605794af SHA512 16bdd1d5bcc503fd1262ebe92518adfff77981370598d06044dd1ab8e8bccb6ae1d5072831a13bf58bf9571fada076e1c5389c5472f2b9e1617a734e946200f4 +DIST b2sdk-2.10.1.gh.tar.gz 423901 BLAKE2B 13695181133e0df9a313cc0352f10f3d7dd5b301c87f6edce1ef88292eee2fdf78a48d79a8a3690c43abeb6dac3193955371260aa126bb9b0bcd1f0a67f99f4c SHA512 c2c74bd1ae33801ef2f3a13781a423efd10843283a2b976ccbf4baac80a586be2b827f862fa1d0d8b7bdcd662c75a37b4687b162672421a040c74ca47fb272c5 diff --git a/dev-python/b2sdk/b2sdk-2.10.1.ebuild b/dev-python/b2sdk/b2sdk-2.10.1.ebuild new file mode 100644 index 000000000000..0cedf8c363ec --- /dev/null +++ b/dev-python/b2sdk/b2sdk-2.10.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{11..13} ) + +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/pytest-lazy-fixtures[${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 + # ... and they fail to import w/ pytest-8.4.1 anyway because of + # pytest_plugins at non-top-level. + test/integration +) +EPYTEST_PLUGINS=( pytest-{lazy-fixtures,mock,timeout} ) + +export PDM_BUILD_SCM_VERSION=${PV} + +distutils_enable_tests pytest