From 25f64b605c938a190ea78b8d2415df8df09bcbdd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Apr 2025 17:17:45 -0700 Subject: [PATCH] python3-pychromecast: Upgrade to 14.0.7 Apply a backport to fix build with setuptools 0.78.x Signed-off-by: Khem Raj --- ...s-requirement-from-78.0-65.6-to-65.6.patch | 28 +++++++++++++++++++ ....0.6.bb => python3-pychromecast_14.0.7.bb} | 4 +-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch rename meta-python/recipes-devtools/python/{python3-pychromecast_14.0.6.bb => python3-pychromecast_14.0.7.bb} (69%) diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch new file mode 100644 index 0000000000..d659af8116 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch @@ -0,0 +1,28 @@ +From 74c841c0fc3ffc13842f3544502f66f16e751a0f Mon Sep 17 00:00:00 2001 +From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> +Date: Mon, 31 Mar 2025 14:26:50 +0200 +Subject: [PATCH] Update setuptools requirement from <78.0,>=65.6 to + >=65.6,<79.0 (#1047) + +Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. +- [Release notes](https://github.com/pypa/setuptools/releases) +- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) +- [Commits](https://github.com/pypa/setuptools/compare/v65.6.0...v78.1.0) + +Upstream-Status: Backport [https://github.com/home-assistant-libs/pychromecast/pull/1047] +Signed-off-by: Khem Raj +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 5aa8df7..34f5dc0 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=65.6,<78.0", "wheel>=0.37.1,<0.46.0"] ++requires = ["setuptools>=65.6,<79.0", "wheel>=0.37.1,<0.46.0"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.6.bb b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb similarity index 69% rename from meta-python/recipes-devtools/python/python3-pychromecast_14.0.6.bb rename to meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb index fcb40d62bc..7bae0721db 100644 --- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.6.bb +++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb @@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/balloob/pychromecast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" -#SRC_URI += "file://0001-Allow-newer-version-of-wheel-and-setuptools.patch" -SRC_URI[sha256sum] = "8af91af4fb62d9d6e4df1832c6503dda74afb14c7726ede1ff863e178deb3f9a" +SRC_URI += "file://0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch" +SRC_URI[sha256sum] = "7abbae80a2c9e05b93b1a7b8b4d771bbc764d88fd5e56a566f46ac1bd3f93848" inherit pypi python_setuptools_build_meta