Skip to contentSkip to conversation

python3-ifaddr: Integrate a dependency of pysonos

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

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

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

From: Andrei Gherzan <[email protected]>

---
 .../recipes-devtools/python/python3-ifaddr_0.1.7.bb    | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-ifaddr_0.1.7.bb
meta-python/recipes-devtools/python/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 v3 2/6 python3-pysonos: Integrate the SONOS control HomeAssistant module

From: Andrei Gherzan <[email protected]>

---
 .../python/python3-pysonos_0.0.40.bb              | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pysonos_0.0.40.bb
meta-python/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
Acked-by on v3 2/6
#2 lore raw

Re: [oe] [meta-python][PATCH v3 2/6] python3-pysonos: Integrate the SONOS control HomeAssistant module

Quoted 5 lines · Andrei Gherzan

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

From: Andrei Gherzan <[email protected]>

Quoted 32 lines
---
  .../python/python3-pysonos_0.0.40.bb              | 15 +++++++++++++++
  1 file changed, 15 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-pysonos_0.0.40.bb

meta-python/recipes-devtools/python/python3-pysonos_0.0.40.bb new file +15 -1
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 \
+       "
--

2.30.1

#3 lore raw

PATCH v3 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 meta-python/recipes-devtools/python/python3-aiohue_2.2.0.bb
meta-python/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
Acked-by on v3 3/6
#4 lore raw

Re: [oe] [meta-python][PATCH v3 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]>

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

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

meta-python/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

#5 lore raw

PATCH v3 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
Acked-by on v3 4/6
#6 lore raw

Re: [oe] [meta-python][PATCH v3 4/6] packagegroup-meta-python: Add new modules (aiohue, ifaddr, pysonos)

Quoted 3 lines · Andrei Gherzan

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

Quoted 38 lines
---
  .../recipes-core/packagegroups/packagegroup-meta-python.bb     | 3 +++
  1 file changed, 3 insertions(+)
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +3 -1
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 \
--

2.30.1

#7 lore raw

PATCH v3 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
Acked-by on v3 5/6
#8 lore raw

Re: [oe] [meta-python][PATCH v3 5/6] python3-pep8: Fix HOMEPAGE

Quoted 4 lines · Andrei Gherzan

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

Quoted 21 lines
---
  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 -2
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"
--

2.30.1

#9 lore raw

PATCH v3 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
Acked-by on v3 6/6
#10 lore raw

Re: [oe] [meta-python][PATCH v3 6/6] python3-mccabe: Fix HOMEPAGE

Quoted 4 lines · Andrei Gherzan

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

Quoted 21 lines
---
  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 -2
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"
--

2.30.1

#11 lore raw
In reply to Andrei Gherzan

I am seeing fetch checksum mismatched on AB see
https://errors.yoctoproject.org/Errors/Details/573554/

then I manually downloaded the file and checksummed it,

% sha256sum ifaddr-0.1.7.tar.gz 1f9e8a6ca6f16db5a37d3356f07b6e52344f6f9f7e806d618537731669eb1a94 ifaddr-0.1.7.tar.gz

so builder on AB seems to be right, perhaps we need a v4

Quoted 31 lines · Andrei Gherzan

From: Andrei Gherzan <[email protected]>

---
 .../recipes-devtools/python/python3-ifaddr_0.1.7.bb    | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-ifaddr_0.1.7.bb
meta-python/recipes-devtools/python/python3-ifaddr_0.1.7.bb new file +10 -1
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
--

2.30.1

#12 lore raw
Quoted 10 lines · Khem Raj

I am seeing fetch checksum mismatched on AB see
https://errors.yoctoproject.org/Errors/Details/573554/

then I manually downloaded the file and checksummed it,

% sha256sum ifaddr-0.1.7.tar.gz 1f9e8a6ca6f16db5a37d3356f07b6e52344f6f9f7e806d618537731669eb1a94 ifaddr-0.1.7.tar.gz

so builder on AB seems to be right, perhaps we need a v4

Sent v4. It picked another recipe in my testing so I didn't catch this.

---
Andrei

#13 lore raw

Thanks!

Quoted 17 lines · Andrei Gherzan
Quoted 10 lines · Khem Raj

I am seeing fetch checksum mismatched on AB see
https://errors.yoctoproject.org/Errors/Details/573554/

then I manually downloaded the file and checksummed it,

% sha256sum ifaddr-0.1.7.tar.gz 1f9e8a6ca6f16db5a37d3356f07b6e52344f6f9f7e806d618537731669eb1a94 ifaddr-0.1.7.tar.gz

so builder on AB seems to be right, perhaps we need a v4

Sent v4. It picked another recipe in my testing so I didn't catch this.

---
Andrei

Acked-by on v3 1/6
#14 lore raw
In reply to Andrei Gherzan
Quoted 5 lines · Andrei Gherzan

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

From: Andrei Gherzan <[email protected]>

Quoted 27 lines
---
  .../recipes-devtools/python/python3-ifaddr_0.1.7.bb    | 10 ++++++++++
  1 file changed, 10 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-ifaddr_0.1.7.bb

meta-python/recipes-devtools/python/python3-ifaddr_0.1.7.bb new file +10 -1
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
--

2.30.1