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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C53D815820A for ; Mon, 07 Jul 2025 21:40:16 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B0DEF341E95 for ; Mon, 07 Jul 2025 21:40:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9B7121102F2; Mon, 07 Jul 2025 21:40:15 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 8C9201102F2 for ; Mon, 07 Jul 2025 21:40:15 +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 3C228341E8C for ; Mon, 07 Jul 2025 21:40:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A06292E04 for ; Mon, 07 Jul 2025 21:40:13 +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: <1751924341.c7510ba79def65833e9258dc329f51a43d651cff.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.9.4.ebuild dev-python/b2sdk/metadata.xml X-VCS-Directories: dev-python/b2sdk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c7510ba79def65833e9258dc329f51a43d651cff X-VCS-Branch: master Date: Mon, 07 Jul 2025 21:40:13 +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: 9ce2981e-107d-4469-a6a7-75033abf4bb5 X-Archives-Hash: d945082086f2a889cd0d4be307a0407a commit: c7510ba79def65833e9258dc329f51a43d651cff Author: Sam James gentoo org> AuthorDate: Mon Jul 7 21:37:57 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jul 7 21:39:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7510ba7 dev-python/b2sdk: new package, add 2.9.4 As noted in the bug, can't add it as a dep to duplicity (though perhaps we could really; would be worth maybe talking more about optional runtime deps vs Python, as optfeature isn't perfect for this as it doesn't guarantee matching impls, but that's a discussion for another day), just an optfeature at some point. Closes: https://bugs.gentoo.org/657466 Signed-off-by: Sam James gentoo.org> dev-python/b2sdk/Manifest | 1 + dev-python/b2sdk/b2sdk-2.9.4.ebuild | 46 +++++++++++++++++++++++++++++++++++++ dev-python/b2sdk/metadata.xml | 17 ++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest new file mode 100644 index 000000000000..e3328c58a8fe --- /dev/null +++ b/dev-python/b2sdk/Manifest @@ -0,0 +1 @@ +DIST b2sdk-2.9.4.gh.tar.gz 412163 BLAKE2B 8bb3273ff9bc73de76466845e165f3d9b16f1cff19ea88758162cfa21320e8670bb816e7ad21190e54a450c6088d749388c3864f206a6ed31c07a7f1c2a599f1 SHA512 b14d373ea5d68406660a8c461bc5e9c31ee0ef672fc80d79d21b3a64b1ac1c56366c58f330d7b57e4b376b7b87bb1c84efed1e73b2e8a958ec725e8bdb9342f3 diff --git a/dev-python/b2sdk/b2sdk-2.9.4.ebuild b/dev-python/b2sdk/b2sdk-2.9.4.ebuild new file mode 100644 index 000000000000..d74443d9884a --- /dev/null +++ b/dev-python/b2sdk/b2sdk-2.9.4.ebuild @@ -0,0 +1,46 @@ +# 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="B2 Python SDK" +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/logfury[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}] + dev-python/tqdm[${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 +) + +distutils_enable_tests pytest diff --git a/dev-python/b2sdk/metadata.xml b/dev-python/b2sdk/metadata.xml new file mode 100644 index 000000000000..d5c18767198e --- /dev/null +++ b/dev-python/b2sdk/metadata.xml @@ -0,0 +1,17 @@ + + + + + sam@gentoo.org + Sam James + + + python@gentoo.org + Python + + + + b2sdk + Backblaze/b2-sdk-python + +