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 <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Trevor Gamblin 2025-05-22 08:46:05 -04:00 committed by Khem Raj
parent 44222d0e84
commit 06ff6f94cf
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 90 additions and 1 deletions

View File

@ -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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
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

View File

@ -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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
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

View File

@ -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