diff mbox series

[meta-python,5/5] python3-bleak: Upgrade 3.0.1 -> 3.0.2

Message ID 20260615151316.3273340-5-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/5] python3-langtable: Upgrade 0.0.70 -> 0.0.71 | expand

Commit Message

Leon Anavi June 15, 2026, 3:13 p.m. UTC
Upgrade to release 3.0.2:

- Changed default value of BlueZNotifyArgs.use_start_notify to True.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...leak-Support-newer-uv_build-versions.patch | 30 +++++++++++++++++++
 ...-bleak_3.0.1.bb => python3-bleak_3.0.2.bb} | 14 ++++++---
 2 files changed, 40 insertions(+), 4 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
 rename meta-python/recipes-devtools/python/{python3-bleak_3.0.1.bb => python3-bleak_3.0.2.bb} (67%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch b/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
new file mode 100644
index 0000000000..bead8f3be6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-bleak/0001-bleak-Support-newer-uv_build-versions.patch
@@ -0,0 +1,30 @@ 
+From 2e0994321b57e547a3c1f7e1f225e55ca007e45f Mon Sep 17 00:00:00 2001
+From: Leon Anavi <leon.anavi@konsulko.com>
+Date: Mon, 15 Jun 2026 17:53:47 +0300
+Subject: [PATCH] bleak: Support newer uv_build versions
+
+Support newer uv_build versions
+
+Upstream-Status: Submitted [https://github.com/hbldh/bleak/pull/2001]
+
+Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 3224afc..4be6da7 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -66,7 +66,7 @@ dev = [
+ ]
+ 
+ [build-system]
+-requires = ["uv_build>=0.10.9,<0.11.0"]
++requires = ["uv_build>=0.10.9,<0.12.0"]
+ build-backend = "uv_build"
+ 
+ [tool.uv.build-backend]
+-- 
+2.47.3
+
diff --git a/meta-python/recipes-devtools/python/python3-bleak_3.0.1.bb b/meta-python/recipes-devtools/python/python3-bleak_3.0.2.bb
similarity index 67%
rename from meta-python/recipes-devtools/python/python3-bleak_3.0.1.bb
rename to meta-python/recipes-devtools/python/python3-bleak_3.0.2.bb
index 89f7c973d5..c84b6bbc8d 100644
--- a/meta-python/recipes-devtools/python/python3-bleak_3.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-bleak_3.0.2.bb
@@ -3,13 +3,19 @@  HOMEPAGE = "https://github.com/hbldh/bleak"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
 
-SRCREV = "3f967abe9ef454bd494055612a067f2128944df2"
-PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S};tag=v${PV}"
-
-SRC_URI:append = " file://run-ptest"
+SRC_URI:append = " \
+	file://run-ptest \
+	file://0001-bleak-Support-newer-uv_build-versions.patch \
+"
 
 inherit pypi python_poetry_core ptest-python-pytest
 
+SRC_URI[sha256sum] = "c2229cb8238d5876b4bd05c74bf7a1aea1f88da39d2e51ac9dfd5cc319d5265f"
+
+DEPENDS += "\
+	python3-uv-build-native \
+"
+
 RDEPENDS:${PN}-ptest += " \
 	python3-asyncio \
 	python3-pytest-asyncio \