Skip to contentSkip to conversation

python3-zeroconf: Add recipe

PATCH New Leon Anavi 1 participant 3 messages Jun 15, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-zeroconf: Add recipe

This is a pure Python multicast DNS service discovery library. Compatible with Bonjour/Avahi.

Version 0.31.0 brings:

- Separated cache loading from I/O in ServiceInfo and fixed cache lookup

---
 .../python/python3-zeroconf_0.31.0.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-zeroconf_0.31.0.bb
meta-python/recipes-devtools/python/python3-zeroconf_0.31.0.bb new file +12 -0
new file mode 100644
index 0000000000..cb4c03329d
@@ -0,0 +1,12 @@
+SUMMARY = "Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
+HOMEPAGE = "https://github.com/jstasiak/python-zeroconf"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
+
+SRC_URI[sha256sum] = "53a180248471c6f81bd1fffcbce03ed93d7d8eaf10905c9121ac1ea996d19844"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-ifaddr \
+"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/3 python3-pychromecast: Upgrade 9.1.2 -> 9.2.0

Upgrade to release 9.2.0:

- Add support for BBC Sounds and iPlayer apps
- Add known_hosts to additional discovery functions
- Update examples
- get_chromcasts() copy device list before iteration

---
 ...romecast_9.1.2.bb => python3-pychromecast_9.2.0.bb} | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pychromecast_9.1.2.bb => python3-pychromecast_9.2.0.bb} (52%)
meta-python/recipes-devtools/python/python3-pychromecast_9.2.0.bb renamed from meta-python/recipes-devtools/python/python3-pychromecast_9.1.2.bb +9 -1
similarity index 52%
rename from meta-python/recipes-devtools/python/python3-pychromecast_9.1.2.bb
rename to meta-python/recipes-devtools/python/python3-pychromecast_9.2.0.bb
index c392261ade..ebe11241c9 100644
@@ -3,8 +3,16 @@ HOMEPAGE = "https://github.com/balloob/pychromecast"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
 
-SRC_URI[sha256sum] = "907656cea46d39d0e93ec815979578ef4fb6f655fd8bf4e88e6421fcd7824e85"
+SRC_URI[sha256sum] = "6d34593575cf77565df47af4c75dd47c6a65831ec18a8c10b5367b2f1c172f0a"
 
 PYPI_PACKAGE = "PyChromecast"
 
 inherit pypi setuptools3
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-zeroconf \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-requests \
+    ${PYTHON_PN}-protobuf \
+"
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/3 python3-ifaddr: Fix RDEPENDS

In reply to Leon Anavi

Add ctypes to the runtime dependencies.

---
 meta-python/recipes-devtools/python/python3-ifaddr_0.1.7.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-ifaddr_0.1.7.bb +4 -0
index 4fff7d1e58..6d4fab3c98 100644
@@ -8,3 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8debe8d42320ec0ff24665319b625a5e"
 SRC_URI[sha256sum] = "1f9e8a6ca6f16db5a37d3356f07b6e52344f6f9f7e806d618537731669eb1a94"
 
 inherit pypi setuptools3
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-ctypes \
+"
Signature · 1 line
2.17.1