summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools
diff options
context:
space:
mode:
authorTom Geelen <t.f.g.geelen@gmail.com>2024-04-08 19:31:41 +0000
committerKhem Raj <raj.khem@gmail.com>2024-04-14 08:38:38 -0700
commit8afc375ae07abfd906c9945def414e7c03a72ac9 (patch)
tree464ca2ae12778142d72f42b5bc2fb6e920c644ce /meta-python/recipes-devtools
parent4704a41652a231c7ecc0e8bb907c8672932895e6 (diff)
downloadmeta-openembedded-8afc375ae07abfd906c9945def414e7c03a72ac9.tar.gz
python3-chromecast: upgrade 13.1.0 -> 14.0.0
The python package has enabled to option to build it via python_setuptools_build_meta. Therefore the recipe is updated accordingly. Also cleaned up the list of runtime dependencies which according to the package should no longer be needed. The difference between v2 and v3 is the addition of the upstream status in the included patch. Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
-rw-r--r--meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch22
-rw-r--r--meta-python/recipes-devtools/python/python3-pychromecast_13.1.0.bb20
-rw-r--r--meta-python/recipes-devtools/python/python3-pychromecast_14.0.0.bb17
3 files changed, 39 insertions, 20 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch
new file mode 100644
index 0000000000..8825615de9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pychromecast/0001-Allow-newer-version-of-wheel-and-setuptools.patch
@@ -0,0 +1,22 @@
1From e82caffe51b37c211f7f0cd60002fbc6b4e48d03 Mon Sep 17 00:00:00 2001
2From: Tom Geelen <t.f.g.geelen@gmail.com>
3Date: Sun, 7 Apr 2024 22:39:35 +0000
4Subject: [PATCH] Allow newer version of wheel and setuptools
5
6Upstream-Status: Pending
7Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
8---
9 pyproject.toml | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/pyproject.toml b/pyproject.toml
13index 0f19c71..d0ecf11 100644
14--- a/pyproject.toml
15+++ b/pyproject.toml
16@@ -1,5 +1,5 @@
17 [build-system]
18-requires = ["setuptools~=65.6", "wheel~=0.37.1"]
19+requires = ["setuptools>=65.6", "wheel>=0.37.1"]
20 build-backend = "setuptools.build_meta"
21
22 [project]
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_13.1.0.bb b/meta-python/recipes-devtools/python/python3-pychromecast_13.1.0.bb
deleted file mode 100644
index 30add4d2f1..0000000000
--- a/meta-python/recipes-devtools/python/python3-pychromecast_13.1.0.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "Library for Python 3.6+ to communicate with the Google Chromecast."
2HOMEPAGE = "https://github.com/balloob/pychromecast"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
5
6SRC_URI[sha256sum] = "08e61a8b54bd2119d3c9ab1ec0136d3d8563aa97e0a3b57841588b9be60c2676"
7
8PYPI_PACKAGE = "PyChromecast"
9
10inherit pypi setuptools3
11
12RDEPENDS:${PN} += " \
13 python3-logging \
14 python3-zeroconf \
15 python3-json \
16 python3-requests \
17 python3-protobuf \
18 python3-compression \
19 python3-casttube \
20"
diff --git a/meta-python/recipes-devtools/python/python3-pychromecast_14.0.0.bb b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.0.bb
new file mode 100644
index 0000000000..be5a3a97e7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pychromecast_14.0.0.bb
@@ -0,0 +1,17 @@
1SUMMARY = "Library for Python 3.6+ to communicate with the Google Chromecast."
2HOMEPAGE = "https://github.com/balloob/pychromecast"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
5
6SRC_URI += "file://0001-Allow-newer-version-of-wheel-and-setuptools.patch"
7SRC_URI[sha256sum] = "dc4f8b052e760a978da9b2568b79020cb79af608a026465f07544cffe43973cf"
8
9PYPI_PACKAGE = "PyChromecast"
10
11inherit pypi python_setuptools_build_meta
12
13RDEPENDS:${PN} += "\
14 python3-zeroconf (>=0.131.0) \
15 python3-protobuf (>=4.25.2) \
16 python3-casttube (>=0.2.1) \
17"