Skip to contentSkip to conversation

python3-h11: new package

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

lore
Share & tools
lore

Ben Gampe

author
#0 lore raw

PATCH v3 1/5 python3-h11: new package

From: Ben Gampe <[email protected]>

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 v3 2/5 python3-httptools: new package

From: Ben Gampe <[email protected]>

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    | 8 ++++++++
 2 files changed, 9 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 +8 -0
new file mode 100644
index 000000000..164a32d64
@@ -0,0 +1,8 @@
+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
author
#2 lore raw

PATCH v3 3/5 python3-uvloop: new package

In reply to Ben Gampe

From: Ben Gampe <[email protected]>

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..4fa151e6a
@@ -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
#3 lore raw

PATCH v3 4/5 python3-wsproto: new package

In reply to Ben Gampe

From: Ben Gampe <[email protected]>

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..5d87b9d69
@@ -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
#4 lore raw

PATCH v3 5/5 python3-uvicorn: new package

In reply to Ben Gampe

From: Ben Gampe <[email protected]>

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..e04dac0a1
@@ -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
#5 lore raw

Re: [oe] [meta-python][PATCH v3 5/5] python3-uvicorn: new package

seeing these errors

ERROR: Nothing RPROVIDES 'python3-typing' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-uvicorn_0.13.4.bb, /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-typing' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-typing']
NOTE: Runtime target 'python3-uvicorn-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-uvicorn-dev',
'python3-typing']
ERROR: Nothing RPROVIDES 'python3-uvicorn' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-uvicorn_0.13.4.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-uvicorn'
NOTE: Runtime target 'python3-uvicorn' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-uvicorn']
ERROR: Nothing RPROVIDES 'python3-pydantic' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb, /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.63.0.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-pydantic'
NOTE: Runtime target 'python3-pydantic' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pydantic']
ERROR: Nothing RPROVIDES 'python3-pydantic-dev' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-pydantic-dev'
NOTE: Runtime target 'python3-pydantic-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pydantic-dev']
ERROR: Nothing RPROVIDES 'python3-fastapi-dev' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.63.0.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-fastapi-dev'
NOTE: Runtime target 'python3-fastapi-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-fastapi-dev']
ERROR: Nothing RPROVIDES 'python3-fastapi' (but /home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.63.0.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'python3-fastapi'
NOTE: Runtime target 'python3-fastapi' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-fastapi'

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

From: Ben Gampe <[email protected]>

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 -1
new file mode 100644
index 000000000..e04dac0a1
@@ -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"
--

2.25.1