Skip to contentSkip to conversation

python3-ifaddr: Integrate a dependency of pysonos

PATCH Superseded Andrei Gherzan 3 participants 10 messages Mar 3, 2021 – Mar 5, 2021

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/6 python3-ifaddr: Integrate a dependency of pysonos

From: Andrei Gherzan <[email protected]>

---
 .../python3-ifaddr/python3-ifaddr_0.1.7.bb             | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 recipes-connectivity/python3-ifaddr/python3-ifaddr_0.1.7.bb
recipes-connectivity/python3-ifaddr/python3-ifaddr_0.1.7.bb new file +10 -0
new file mode 100644
index 000000000..cd7cd2803
@@ -0,0 +1,10 @@
+DESCRIPTION = "Cross-platform network interface and IP address enumeration \
+library"
+HOMEPAGE = "https://pypi.org/project/ifaddr/"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI[sha256sum] = "d3a63a039c82b08a1171b003eafa62c6f128aa4eaa1ce7a55a9401b48f9ad926"
+
+inherit pypi setuptools3
Signature · 1 line
2.30.1
#1 lore raw

PATCH v2 2/6 python3-pysonos: 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

PATCH v2 3/6 python3-aiohue: Integrate the hue control python module

In reply to 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"
Signature · 1 line
2.30.1
#3 lore raw

Re: [oe] [meta-python][PATCH v2 3/6] python3-aiohue: Integrate the hue control python module

Quoted 5 lines · Andrei Gherzan

[Please note: This e-mail is from an EXTERNAL e-mail address]

From: Andrei Gherzan <[email protected]>

The path here looks off. The recipe is at recipes-devtools/python/python3-aiohue_2.2.0.bb when it should be at meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb. Can you submit a v3 with the path fixed? Please check any other recipes you have added.

Trevor

Quoted 29 lines
---
  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 -1
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"
--

2.30.1

#4 lore raw

Re: [oe] [meta-python][PATCH v2 3/6] python3-aiohue: Integrate the hue control python module

Quoted 4 lines · Trevor Gamblin
Quoted 1 line · Andrei Gherzan

[Please note: This e-mail is from an EXTERNAL e-mail address]

From: Andrei Gherzan <[email protected]>

Quoted 1 line

The path here looks off. The recipe is at recipes-devtools/python/python3-aiohue_2.2.0.bb when it should be at meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb. Can you submit a v3 with the path fixed? Please check any other recipes you have added.

For a second I was just confused of how could this have happened. But the explanation was simple (git am from another layer that doesn't have multiple layers at its root). Send v3.

---
Andrei

#5 lore raw

Re: [oe] [meta-python][PATCH v2 3/6] python3-aiohue: Integrate the hue control python module

Quoted 6 lines · Andrei Gherzan
Quoted 5 lines · Trevor Gamblin
Quoted 2 lines · Andrei Gherzan

[Please note: This e-mail is from an EXTERNAL e-mail address]

Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

From: Andrei Gherzan<[email protected]> <mailto:[email protected]>

The path here looks off. The recipe is at recipes-devtools/python/python3-aiohue_2.2.0.bb when it should be at meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb. Can you submit a v3 with the path fixed? Please check any other recipes you have added.

For a second I was just confused of how could this have happened. But the explanation was simple (git am from another layer that doesn't have multiple layers at its root). Send v3.

yeah its a problem with monolithic trees where layers are fudged. something like git submodules can give you best of both worlds where you have monolithic view but preserves layers as well.

Quoted 7 lines

---
Andrei

#6 lore raw

Re: [oe] [meta-python][PATCH v2 3/6] python3-aiohue: Integrate the hue control python module

Quoted 19 lines · Khem Raj
Quoted 16 lines · Andrei Gherzan
Quoted 15 lines · Trevor Gamblin
Quoted 5 lines · Andrei Gherzan

[Please note: This e-mail is from an EXTERNAL e-mail address]

From: Andrei Gherzan<[email protected]> <mailto:[email protected]>

The path here looks off. The recipe is at recipes-devtools/python/python3-aiohue_2.2.0.bb when it should be at meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb. Can you submit a v3 with the path fixed? Please check any other recipes you have added.

Quoted 7 lines
Quoted 3 lines

For a second I was just confused of how could this have happened. But the explanation was simple (git am from another layer that doesn't have multiple layers at its root). Send v3.

yeah its a problem with monolithic trees where layers are fudged. something like git submodules can give you best of both worlds where you have monolithic view but preserves layers as well.

If the layers stay in the same scope (like meta-oe) I don't mind the monolithic approach as you don't have to deal with the aggregation in that case.

#7 lore raw

PATCH v2 4/6 packagegroup-meta-python: Add new modules (aiohue, ifaddr, pysonos)

In reply to Andrei Gherzan
---
 .../recipes-core/packagegroups/packagegroup-meta-python.bb     | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +3 -0
index 635dee194..6323e17c6 100644
@@ -21,6 +21,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-aiofiles \
     python3-aiohttp \
     python3-aiohttp-jinja2 \
+    python3-aiohue \
     python3-alembic \
     python3-ansi2html \
     python3-ansicolors \
@@ -167,6 +168,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-idna \
     python3-idna \
     python3-idna-ssl \
+    python3-ifaddr \
     python3-imageio \
     python3-incremental \
     python3-inflection \
@@ -320,6 +322,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-pyscaffold \
     python3-pyserial \
     python3-pysocks \
+    python3-pysonos \
     python3-pystache \
     python3-pystemd \
     python3-pytest-asyncio \
Signature · 1 line
2.30.1
#8 lore raw

PATCH v2 5/6 python3-pep8: Fix HOMEPAGE

In reply to Andrei Gherzan
---
 meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb +1 -1
index 8291281ca..e8587c832 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "Python style guide checker"
-HOMEPAGE = "https://github.com/dreamhost/cliff"
+HOMEPAGE = "https://github.com/PyCQA/pycodestyle"
 SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e"
Signature · 1 line
2.30.1
#9 lore raw

PATCH v2 6/6 python3-mccabe: Fix HOMEPAGE

In reply to Andrei Gherzan
---
 meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb +1 -1
index 63a9e35ac..b366f0430 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "McCabe checker, plugin for flake8"
-HOMEPAGE = "https://github.com/dreamhost/cliff"
+HOMEPAGE = "https://github.com/PyCQA/mccabe"
 SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a489dc62bacbdad3335c0f160a974f0f"
Signature · 1 line
2.30.1