From 6889cd0e5ef1d5c2594a98db9dfe66e6b0a11bdd Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Thu, 19 Mar 2026 20:40:24 +0100 Subject: python3-pychromecast: upgrade 14.0.9 -> 14.0.10 Beside the below changelog, it also allows compiling with the latest Setuptools. Drop patches which became obsolete. Changes: - Ensure cec info is none if not supported - Add some fast pre-commit checks - Switch to ruff for checks and formatting - add D24f-J09 to const.py - Update const.py to include Lenovo Smart Display 10 - Avoid logging graceful disconnect as error - Fix datetime deprecation Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- ...uired-version-to-0.46.1-for-python3-wheel.patch | 23 ---------------------- .../0002-allow-newer-wheel.patch | 22 --------------------- .../python/python3-pychromecast_14.0.10.bb | 14 +++++++++++++ .../python/python3-pychromecast_14.0.9.bb | 18 ----------------- 4 files changed, 14 insertions(+), 63 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch deleted file mode 100644 index 655b9c08c7..0000000000 --- a/meta-python/recipes-devtools/python/python3-pychromecast/0001-bump-required-version-to-0.46.1-for-python3-wheel.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 672b0501526fc7c91725236fc37db82794096832 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 1 Jul 2025 23:14:08 -0700 -Subject: [PATCH] bump required version to 0.46.1 for python3-wheel - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index d5a518c..a6a159d 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.0"] -+requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.2"] - build-backend = "setuptools.build_meta" - - [project] diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch deleted file mode 100644 index 456feb6010..0000000000 --- a/meta-python/recipes-devtools/python/python3-pychromecast/0002-allow-newer-wheel.patch +++ /dev/null @@ -1,22 +0,0 @@ -From e11eb34d1196a9dc35fef213aeffdfd8e6e29f44 Mon Sep 17 00:00:00 2001 -From: Tom Geelen -Date: Sun, 8 Feb 2026 19:14:09 +0100 -Subject: [PATCH] allow newer wheel - -Signed-off-by: Tom Geelen -Upstream-Status: Pending ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 4c98630..75a15da 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.2"] -+requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.4"] - build-backend = "setuptools.build_meta" - - [project] diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb new file mode 100644 index 0000000000..cdd85a550f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb @@ -0,0 +1,14 @@ +SUMMARY = "Library for Python 3.6+ to communicate with the Google Chromecast." +HOMEPAGE = "https://github.com/balloob/pychromecast" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" + +SRC_URI[sha256sum] = "f05a1c8d727d4f104c8c731688053033e05157f2ab81bc8eef50ec0c62f9373c" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += "\ + python3-zeroconf (>=0.131.0) \ + python3-protobuf (>=4.25.2) \ + python3-casttube (>=0.2.1) \ +" diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb deleted file mode 100644 index 6f88684f8b..0000000000 --- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.9.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Library for Python 3.6+ to communicate with the Google Chromecast." -HOMEPAGE = "https://github.com/balloob/pychromecast" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" - -SRC_URI += "file://0001-bump-required-version-to-0.46.1-for-python3-wheel.patch \ - file://0002-allow-newer-wheel.patch \ - " - -SRC_URI[sha256sum] = "fe78841b0b04aa107d08aed216e91ab9cfb54b11d089d382be4e987e3631d4a6" - -inherit pypi python_setuptools_build_meta - -RDEPENDS:${PN} += "\ - python3-zeroconf (>=0.131.0) \ - python3-protobuf (>=4.25.2) \ - python3-casttube (>=0.2.1) \ -" -- cgit v1.2.3-54-g00ecf