Skip to contentSkip to conversation

python3-h11: new package

PATCH Superseded Ben Gampe 2 participants 6 messages Mar 29, 2021

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Ben Gampe

author
#0 lore raw

PATCH v2 1/5 python3-h11: new package

Add recipe for python3-h11: a pure-Python, bring-your-own-I/O implementation of HTTP/1.1

---
 .../packagegroups/packagegroup-meta-python.bb             | 1 +
 meta-python/recipes-devtools/python/python3-h11_0.12.0.bb | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-h11_0.12.0.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index e84bf225e..0418b5930 100644
@@ -153,6 +153,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-grpcio-tools \
     python3-gsocketpool \
     python3-gunicorn \
+    python3-h11 \
     python3-h2 \
     python3-h5py \
     python3-haversine \
meta-python/recipes-devtools/python/python3-h11_0.12.0.bb new file +8 -0
new file mode 100644
index 000000000..4cd0d4de7
@@ -0,0 +1,8 @@
+SUMMARY = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
+HOMEPAGE = "https://github.com/python-hyper/h11"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f5501d19c3116f4aaeef89369f458693"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "47222cb6067e4a307d535814917cd98fd0a57b6788ce715755fa2b6c28b56042"
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH v2 2/5 python3-httptools: new package

Add recipe for python3-httptools: a collection of framework independent HTTP protocol utils

---
 .../packagegroups/packagegroup-meta-python.bb            | 1 +
 .../recipes-devtools/python/python3-httptools_0.1.1.bb   | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-httptools_0.1.1.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index 0418b5930..30e90dcd7 100644
@@ -162,6 +162,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-html2text \
     python3-html5lib \
     python3-httplib2 \
+    python3-httptools \
     python3-huey \
     python3-humanfriendly \
     python3-humanize \
meta-python/recipes-devtools/python/python3-httptools_0.1.1.bb new file +9 -0
new file mode 100644
index 000000000..1f623fa9d
@@ -0,0 +1,9 @@
+SUMMARY = "A collection of framework independent HTTP protocol utils"
+HOMEPAGE = "https://github.com/MagicStack/httptools";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce"
+
Signature · 1 line
2.25.1
#2 lore raw

Re: [oe] [meta-python][PATCH v2 2/5] python3-httptools: new package

Quoted 15 lines · Ben Gampe via lists.openembedded.org

Add recipe for python3-httptools: a collection of framework independent HTTP protocol utils

---
  .../packagegroups/packagegroup-meta-python.bb            | 1 +
  .../recipes-devtools/python/python3-httptools_0.1.1.bb   | 9 +++++++++
  2 files changed, 10 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-httptools_0.1.1.bb

meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -0
index 0418b5930..30e90dcd7 100644

meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb RDEPENDS_packagegroup-meta-python3 = "\ · line 165

Quoted 4 lines
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -162,6 +162,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
      python3-html2text \
      python3-html5lib \
      python3-httplib2 \
+    python3-httptools \

I think indenting is off here, please match the existing indentation

meta-python/recipes-devtools/python/python3-httptools_0.1.1.bb line 2

Quoted 11 lines
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +0 -0
      python3-huey \
      python3-humanfriendly \
      python3-humanize \
meta-python/recipes-devtools/python/python3-httptools_0.1.1.bb new file +2 -0
new file mode 100644
index 000000000..1f623fa9d
@@ -0,0 +1,9 @@
+SUMMARY = "A collection of framework independent HTTP protocol utils"
+HOMEPAGE = "https://github.com/MagicStack/httptools";

A semi-colon at the end of HOMEPAGE is not correct please correct it. Its in subsequent patches too. Once done resend all the patches in one series.

Secondly, your mails appear authored by

Author: Ben Gampe via lists.openembedded.org <[email protected] .org>

So please look into this, there might be some settings in your mail settings which is causing this.

you can also send a github pull against https://github.com/openembedded/meta-openembedded if this does not sort out. I do cherry-pick the pulls from there.

Quoted 12 lines
meta-python/recipes-devtools/python/python3-httptools_0.1.1.bb new file +7 -0
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce"
+
author
#3 lore raw

PATCH v2 3/5 python3-uvloop: new package

In reply to Ben Gampe

Add a recipe for python3-uvloop: a fast implementation of asyncio event loop on top of libuv

---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-uvloop_0.15.2.bb           | 25 +++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-uvloop_0.15.2.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index 30e90dcd7..5440bf571 100644
@@ -427,6 +427,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-unidiff \
     python3-uritemplate \
     python3-urllib3 \
+    python3-uvloop \
     python3-vcversioner \
     python3-versiontools \
     python3-visitor \
meta-python/recipes-devtools/python/python3-uvloop_0.15.2.bb new file +25 -0
new file mode 100644
index 000000000..5a59a75eb
@@ -0,0 +1,25 @@
+SUMMARY = "Fast implementation of asyncio event loop on top of libuv"
+HOMEPAGE = "http://github.com/MagicStack/uvloop";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=3bd0b2e751776b370b2151ac508af939"
+
+inherit setuptools3
+inherit pypi
+
+SRCNAME = "uvloop"
+
+DEPENDS = "${PYTHON_PN}-cython-native"
+
+BBCLASSEXTEND = "native"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+do_compile_prepend() {
+    export LIBUV_CONFIGURE_HOST=${HOST_SYS}
+}
+
+do_install_prepend() {
+    export LIBUV_CONFIGURE_HOST=${HOST_SYS}
+}
+
+SRC_URI[sha256sum] = "2bb0624a8a70834e54dde8feed62ed63b50bad7a1265c40d6403a2ac447bce01"
Signature · 1 line
2.25.1
author
#4 lore raw

PATCH v2 4/5 python3-wsproto: new package

In reply to Ben Gampe

Add recipe for python3-wsproto: a webSockets state-machine based protocol implementation

---
 .../packagegroups/packagegroup-meta-python.bb             | 1 +
 .../recipes-devtools/python/python3-wsproto_1.0.0.bb      | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-wsproto_1.0.0.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index 5440bf571..bf270df46 100644
@@ -442,6 +442,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-wheel \
     python3-whoosh \
     python3-wrapt \
+    python3-wsproto \
     python3-wtforms \
     python3-xlrd \
     python3-xlsxwriter \
meta-python/recipes-devtools/python/python3-wsproto_1.0.0.bb new file +8 -0
new file mode 100644
index 000000000..e29fed416
@@ -0,0 +1,8 @@
+SUMMARY = "WebSockets state-machine based protocol implementation"
+HOMEPAGE = "https://github.com/python-hyper/wsproto/";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=69fabf732409f4ac61875827b258caaf"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "868776f8456997ad0d9720f7322b746bbe9193751b5b290b7f924659377c8c38"
Signature · 1 line
2.25.1
author
#5 lore raw

PATCH v2 5/5 python3-uvicorn: new package

In reply to Ben Gampe

Add recipe for python3-uvicorn: a lightning-fast ASGI server

---
 .../packagegroups/packagegroup-meta-python.bb   |  1 +
 .../python/python3-uvicorn_0.13.4.bb            | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-uvicorn_0.13.4.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index bf270df46..45f93b6dd 100644
@@ -427,6 +427,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-unidiff \
     python3-uritemplate \
     python3-urllib3 \
+    python3-uvicorn \
     python3-uvloop \
     python3-vcversioner \
     python3-versiontools \
meta-python/recipes-devtools/python/python3-uvicorn_0.13.4.bb new file +17 -0
new file mode 100644
index 000000000..e2d0c8bb9
@@ -0,0 +1,17 @@
+SUMMARY = "The lightning-fast ASGI server"
+HOMEPAGE = "https://www.uvicorn.org/";
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=206119e27d6b034e7ce70d73063c82a8"
+RDEPENDS_${PN} = "\
+    python3-click \
+    python3-h11 \
+    python3-httptools \
+    python3-typing \
+    python3-uvloop \
+    python3-websockets \
+    python3-wsproto \
+"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "3292251b3c7978e8e4a7868f4baf7f7f7bb7e40c759ecc125c37e99cdea34202"
Signature · 1 line
2.25.1