From 25f64b605c938a190ea78b8d2415df8df09bcbdd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Apr 2025 17:17:45 -0700 Subject: python3-pychromecast: Upgrade to 14.0.7 Apply a backport to fix build with setuptools 0.78.x Signed-off-by: Khem Raj --- ...ptools-requirement-from-78.0-65.6-to-65.6.patch | 28 ++++++++++++++++++++++ .../python/python3-pychromecast_14.0.6.bb | 15 ------------ .../python/python3-pychromecast_14.0.7.bb | 15 ++++++++++++ 3 files changed, 43 insertions(+), 15 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch delete mode 100644 meta-python/recipes-devtools/python/python3-pychromecast_14.0.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb 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.6.bb deleted file mode 100644 index fcb40d62bc..0000000000 --- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.6.bb +++ /dev/null @@ -1,15 +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-Allow-newer-version-of-wheel-and-setuptools.patch" -SRC_URI[sha256sum] = "8af91af4fb62d9d6e4df1832c6503dda74afb14c7726ede1ff863e178deb3f9a" - -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.7.bb b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb new file mode 100644 index 0000000000..7bae0721db --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb @@ -0,0 +1,15 @@ +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-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch" +SRC_URI[sha256sum] = "7abbae80a2c9e05b93b1a7b8b4d771bbc764d88fd5e56a566f46ac1bd3f93848" + +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