public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/b2sdk/
@ 2025-07-07 21:40 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2025-07-07 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     c7510ba79def65833e9258dc329f51a43d651cff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  7 21:37:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>sam@gentoo.org</email>
+		<name>Sam James</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+		<name>Python</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">b2sdk</remote-id>
+		<remote-id type="github">Backblaze/b2-sdk-python</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/b2sdk/
@ 2025-07-07 22:35 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2025-07-07 22:35 UTC (permalink / raw
  To: gentoo-commits

commit:     fd925d8db6c9e14a47de4fdc8299b07021b119a6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  7 22:33:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul  7 22:34:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd925d8d

dev-python/b2sdk: update DESCRIPTION

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/b2sdk/b2sdk-2.9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/b2sdk/b2sdk-2.9.4.ebuild b/dev-python/b2sdk/b2sdk-2.9.4.ebuild
index d74443d9884a..84c82d6ea940 100644
--- a/dev-python/b2sdk/b2sdk-2.9.4.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.9.4.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{11..13} )
 
 inherit distutils-r1 pypi
 
-DESCRIPTION="B2 Python SDK"
+DESCRIPTION="Library to access Backblaze B2 cloud storage"
 HOMEPAGE="
 	https://github.com/Backblaze/b2-sdk-python
 	https://pypi.org/project/b2sdk/


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/b2sdk/
@ 2025-07-08 19:35 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2025-07-08 19:35 UTC (permalink / raw
  To: gentoo-commits

commit:     628668305c272d05eb402315de2baa071ace8650
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  8 19:34:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  8 19:34:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62866830

dev-python/b2sdk: handle SCM

Git hook again..

Closes: https://bugs.gentoo.org/959712
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/b2sdk/b2sdk-2.9.4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/b2sdk/b2sdk-2.9.4.ebuild b/dev-python/b2sdk/b2sdk-2.9.4.ebuild
index 84c82d6ea940..6a5a8c61da1c 100644
--- a/dev-python/b2sdk/b2sdk-2.9.4.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.9.4.ebuild
@@ -43,4 +43,6 @@ EPYTEST_IGNORE=(
 	test/integration/test_raw_api.py
 )
 
+export PDM_BUILD_SCM_VERSION=${PV}
+
 distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/b2sdk/
@ 2025-07-15  8:59 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2025-07-15  8:59 UTC (permalink / raw
  To: gentoo-commits

commit:     ec91250e9359412d3582dfc3da8f2ddb67c96244
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 08:57:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 08:57:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec91250e

dev-python/b2sdk: add missing dev-python/annotated-types dep

Also, add minimum version reqs while here (even if it shouldn't matter
for these, to allow easier comparison).

Closes: https://bugs.gentoo.org/960228
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/b2sdk/{b2sdk-2.9.4.ebuild => b2sdk-2.9.4-r1.ebuild} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-python/b2sdk/b2sdk-2.9.4.ebuild b/dev-python/b2sdk/b2sdk-2.9.4-r1.ebuild
similarity index 84%
rename from dev-python/b2sdk/b2sdk-2.9.4.ebuild
rename to dev-python/b2sdk/b2sdk-2.9.4-r1.ebuild
index 6a5a8c61da1c..ae5aac23dc86 100644
--- a/dev-python/b2sdk/b2sdk-2.9.4.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.9.4-r1.ebuild
@@ -23,13 +23,14 @@ KEYWORDS="~amd64"
 
 # pydantic can be used but it has a fallback
 RDEPEND="
-	dev-python/logfury[${PYTHON_USEDEP}]
-	dev-python/requests[${PYTHON_USEDEP}]
+	>=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}]
 "
 BDEPEND="
 	test? (
 		dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
-		dev-python/tqdm[${PYTHON_USEDEP}]
+		>=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
 	)
 "
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/b2sdk/
@ 2025-08-18  1:01 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2025-08-18  1:01 UTC (permalink / raw
  To: gentoo-commits

commit:     9e89c09a35134d0ad6f9221cfe281dc897199fb2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 18 00:59:58 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 18 01:00:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e89c09a

dev-python/b2sdk: add 2.10.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/b2sdk/Manifest            |  1 +
 dev-python/b2sdk/b2sdk-2.10.0.ebuild | 54 ++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index e3328c58a8fe..aa6c4224fa75 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.9.4.gh.tar.gz 412163 BLAKE2B 8bb3273ff9bc73de76466845e165f3d9b16f1cff19ea88758162cfa21320e8670bb816e7ad21190e54a450c6088d749388c3864f206a6ed31c07a7f1c2a599f1 SHA512 b14d373ea5d68406660a8c461bc5e9c31ee0ef672fc80d79d21b3a64b1ac1c56366c58f330d7b57e4b376b7b87bb1c84efed1e73b2e8a958ec725e8bdb9342f3

diff --git a/dev-python/b2sdk/b2sdk-2.10.0.ebuild b/dev-python/b2sdk/b2sdk-2.10.0.ebuild
new file mode 100644
index 000000000000..0cedf8c363ec
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-2.10.0.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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-18  1:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-08 19:35 [gentoo-commits] repo/gentoo:master commit in: dev-python/b2sdk/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-08-18  1:01 Sam James
2025-07-15  8:59 Sam James
2025-07-07 22:35 Sam James
2025-07-07 21:40 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox