Skip to contentSkip to conversation

python3-aiohue: Integrate the hue control python module

PATCH In review Andrei Gherzan 2 participants 4 messages Mar 2, 2021 – Mar 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-aiohue: Integrate the hue control python module

From: Andrei Gherzan <[email protected]>

---
 recipes-devtools/python/python3-aiohue_2.2.0.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 recipes-devtools/python/python3-aiohue_2.2.0.bb
recipes-devtools/python/python3-aiohue_2.2.0.bb new file +12 -0
new file mode 100644
index 000000000..a2a7363f6
@@ -0,0 +1,12 @@
+DESCRIPTION = "Asynchronous library to control Philips Hue"
+HOMEPAGE = "https://pypi.org/project/aiohue/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+# No license file available but the license is specified in PKG-INFO and setup.py.
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
+
+SRC_URI[sha256sum] = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "${PYTHON_PN}-aiohttp"
Signature · 1 line
2.30.1
#1 lore raw

PATCH 2/2 python3-aiohue: Integrate the SONOS control HomeAssistant module

From: Andrei Gherzan <[email protected]>

---
 recipes-devtools/python/python3-pysonos_0.0.40.bb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 recipes-devtools/python/python3-pysonos_0.0.40.bb
recipes-devtools/python/python3-pysonos_0.0.40.bb new file +15 -0
new file mode 100644
index 000000000..dbfa0dff5
@@ -0,0 +1,15 @@
+DESCRIPTION = "A SoCo fork with fixes for Home Assistant "
+HOMEPAGE = "https://pypi.org/project/pysonos/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=07b0e2ca9ac77cd65cd4edf2e13367ea"
+
+SRC_URI[sha256sum] = "3fed94dffbca5807d39d000d1415fe8d7dfc1032ba92a33d0b577eb2e98a81f3"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "\
+	${PYTHON_PN}-ifaddr \
+	${PYTHON_PN}-requests \
+	${PYTHON_PN}-xmltodict \
+	"
Signature · 1 line
2.30.1
#2 lore raw
In reply to Andrei Gherzan

can you send a followup to add these new packages to packagegroup-meta-python as well ?

Quoted 31 lines · Andrei Gherzan

From: Andrei Gherzan <[email protected]>

---
  recipes-devtools/python/python3-aiohue_2.2.0.bb | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 recipes-devtools/python/python3-aiohue_2.2.0.bb

recipes-devtools/python/python3-aiohue_2.2.0.bb new file +12 -0
new file mode 100644
index 000000000..a2a7363f6
@@ -0,0 +1,12 @@
+DESCRIPTION = "Asynchronous library to control Philips Hue"
+HOMEPAGE = "https://pypi.org/project/aiohue/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+# No license file available but the license is specified in PKG-INFO and setup.py.
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
+
+SRC_URI[sha256sum] = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "${PYTHON_PN}-aiohttp"
#3 lore raw
Quoted 2 lines · Khem Raj

can you send a followup to add these new packages to packagegroup-meta-python as well ?

Sure, it is now part of a v2 including all the 6 patches I've sent. https://lists.openembedded.org/g/openembedded-devel/message/89832

I have:
* fixed a typo in git log of https://lists.openembedded.org/g/openembedded-devel/message/89807
* added commit to include the new modules in packagegroup-meta-python
* consolidated all 6 patches as part of the same series (hopefully making things a bit easier)

Andrei