From 06ff6f94cf1d757a186fb4d33344d702f6bf82ad Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Thu, 22 May 2025 08:46:05 -0400 Subject: python3-pychromecast: fix build with setuptools 80.x Backport two patches to fix the pyproject.toml versions around setuptools. Once the next version of pychromecast is out, these should be removable. Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- ...ptools-requirement-from-79.0-65.6-to-65.6.patch | 42 ++++++++++++++++++++++ ...ptools-requirement-from-80.0-65.6-to-65.6.patch | 42 ++++++++++++++++++++++ .../python/python3-pychromecast_14.0.7.bb | 7 +++- 3 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch create mode 100644 meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch new file mode 100644 index 0000000000..b0d4a88c8e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch @@ -0,0 +1,42 @@ +From ef27075e087e139921b99729a4ec7683e42c5c4a Mon Sep 17 00:00:00 2001 +From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> +Date: Mon, 21 Apr 2025 16:34:55 +0200 +Subject: [PATCH] Update setuptools requirement from <79.0,>=65.6 to + >=65.6,<80.0 (#1056) + +Upstream-Status: Backport [https://github.com/home-assistant-libs/pychromecast/commit/ef27075e087e139921b99729a4ec7683e42c5c4a] + +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...v79.0.0) + +--- +updated-dependencies: +- dependency-name: setuptools + dependency-version: 79.0.0 + dependency-type: direct:production +... + +Signed-off-by: dependabot[bot] +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> + +Signed-off-by: Trevor Gamblin +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 34f5dc0..88d67fe 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=65.6,<79.0", "wheel>=0.37.1,<0.46.0"] ++requires = ["setuptools>=65.6,<80.0", "wheel>=0.37.1,<0.46.0"] + build-backend = "setuptools.build_meta" + + [project] +-- +2.39.5 + diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch new file mode 100644 index 0000000000..8630c1632d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch @@ -0,0 +1,42 @@ +From 7017a1db10a21ed97b79800e31a2f7c70abbffc3 Mon Sep 17 00:00:00 2001 +From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> +Date: Mon, 28 Apr 2025 16:43:13 +0200 +Subject: [PATCH] Update setuptools requirement from <80.0,>=65.6 to + >=65.6,<81.0 (#1060) + +Upstream-Status: Backport [https://github.com/home-assistant-libs/pychromecast/commit/7017a1db10a21ed97b79800e31a2f7c70abbffc3] + +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...v80.0.0) + +--- +updated-dependencies: +- dependency-name: setuptools + dependency-version: 80.0.0 + dependency-type: direct:production +... + +Signed-off-by: dependabot[bot] +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> + +Signed-off-by: Trevor Gamblin +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 88d67fe..d5a518c 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=65.6,<80.0", "wheel>=0.37.1,<0.46.0"] ++requires = ["setuptools>=65.6,<81.0", "wheel>=0.37.1,<0.46.0"] + build-backend = "setuptools.build_meta" + + [project] +-- +2.39.5 + 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 index 7bae0721db..260f6395b7 100644 --- a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb +++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.7.bb @@ -3,7 +3,12 @@ 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 += "\ + file://0001-Update-setuptools-requirement-from-78.0-65.6-to-65.6.patch \ + file://0001-Update-setuptools-requirement-from-79.0-65.6-to-65.6.patch \ + file://0001-Update-setuptools-requirement-from-80.0-65.6-to-65.6.patch \ +" + SRC_URI[sha256sum] = "7abbae80a2c9e05b93b1a7b8b4d771bbc764d88fd5e56a566f46ac1bd3f93848" inherit pypi python_setuptools_build_meta -- cgit v1.2.3-54-g00ecf