meta-oe: add python http2 recipes
cover meta-oe: add python http2 recipes
From: Trevor Gamblin <[email protected]>
python3-twisted relies on various HTTP/2 modules for some optional functionality, but they currently aren't available in the package index. Specifically, twisted has nested dependencies on the priority, h2, hpack, and hyperframe modules either in web/http.py, or in web/test/test_http2.py.
Add simple recipes to make them installable for use with twisted and elsewhere.
Trevor Gamblin (4):
python-priority: add recipe
python-h2: add recipe
python-hyperframe: add recipe
python-hpack: add recipe
.../recipes-connectivity/python-h2/python-h2.inc | 10 ++++++++++ .../recipes-connectivity/python-h2/python-h2_3.1.1.bb | 3 +++ .../recipes-connectivity/python-h2/python3-h2_3.1.1.bb | 3 +++ .../recipes-connectivity/python-hpack/python-hpack.inc | 10 ++++++++++ .../python-hpack/python-hpack_3.0.0.bb | 3 +++ .../python-hpack/python3-hpack_3.0.0.bb | 3 +++ .../python-hyperframe/python-hyperframe.inc | 10 ++++++++++ .../python-hyperframe/python-hyperframe_5.2.0.bb | 3 +++ .../python-hyperframe/python3-hyperframe_5.2.0.bb | 3 +++ .../python-priority/python-priority.inc | 10 ++++++++++ .../python-priority/python-priority_1.3.0.bb | 3 +++ .../python-priority/python3-priority_1.3.0.bb | 3 +++ 12 files changed, 64 insertions(+) create mode 100644 meta-python/recipes-connectivity/python-h2/python-h2.inc create mode 100644 meta-python/recipes-connectivity/python-h2/python-h2_3.1.1.bb create mode 100644 meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb create mode 100644 meta-python/recipes-connectivity/python-hpack/python-hpack.inc create mode 100644 meta-python/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb create mode 100644 meta-python/recipes-connectivity/python-hpack/python3-hpack_3.0.0.bb create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python-hyperframe.inc create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_5.2.0.bb create mode 100644 meta-python/recipes-connectivity/python-priority/python-priority.inc create mode 100644 meta-python/recipes-connectivity/python-priority/python-priority_1.3.0.bb create mode 100644 meta-python/recipes-connectivity/python-priority/python3-priority_1.3.0.bb
Signature · 1 line
2.21.0
PATCH 1/4 python-priority: add recipe
From: Trevor Gamblin <[email protected]>
--- .../python-priority/python-priority.inc | 10 ++++++++++ .../python-priority/python-priority_1.3.0.bb | 3 +++ .../python-priority/python3-priority_1.3.0.bb | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 meta-python/recipes-connectivity/python-priority/python-priority.inc create mode 100644 meta-python/recipes-connectivity/python-priority/python-priority_1.3.0.bb create mode 100644 meta-python/recipes-connectivity/python-priority/python3-priority_1.3.0.bb
meta-python/recipes-connectivity/python-priority/python-priority.inc new file +10 -0
@@ -0,0 +1,10 @@ +DESCRIPTION = "A pure-Python implementation of the HTTP/2 priority tree" +HOMEPAGE = "https://github.com/python-hyper/priority" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045" + +SRC_URI[md5sum] = "4f1ff52f7fa448e9d9cb46337ae86d1e" +SRC_URI[sha256sum] = "6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe" + +inherit pypi
meta-python/recipes-connectivity/python-priority/python-priority_1.3.0.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-priority.inc + +inherit setuptools
meta-python/recipes-connectivity/python-priority/python3-priority_1.3.0.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-priority.inc + +inherit setuptools3
Signature · 1 line
2.21.0
PATCH 2/4 python-h2: add recipe
In reply to Trevor GamblinFrom: Trevor Gamblin <[email protected]>
--- .../recipes-connectivity/python-h2/python-h2.inc | 10 ++++++++++ .../recipes-connectivity/python-h2/python-h2_3.1.1.bb | 3 +++ .../recipes-connectivity/python-h2/python3-h2_3.1.1.bb | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 meta-python/recipes-connectivity/python-h2/python-h2.inc create mode 100644 meta-python/recipes-connectivity/python-h2/python-h2_3.1.1.bb create mode 100644 meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb
meta-python/recipes-connectivity/python-h2/python-h2.inc new file +10 -0
@@ -0,0 +1,10 @@ +DESCRIPTION = "HTTP/2 State-Machine based protocol implementation" +HOMEPAGE = "https://github.com/python-hyper/hyper-h2" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=b6b2f6bbe76528af543242d606c14851" + +SRC_URI[md5sum] = "950b5a62a2a608dc4547a01edf99aa8f" +SRC_URI[sha256sum] = "b8a32bd282594424c0ac55845377eea13fa54fe4a8db012f3a198ed923dc3ab4" + +inherit pypi
meta-python/recipes-connectivity/python-h2/python-h2_3.1.1.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-h2.inc + +inherit setuptools
meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-h2.inc + +inherit setuptools3
Signature · 1 line
2.21.0
PATCH 3/4 python-hyperframe: add recipe
In reply to Trevor GamblinFrom: Trevor Gamblin <[email protected]>
--- .../python-hyperframe/python-hyperframe.inc | 10 ++++++++++ .../python-hyperframe/python-hyperframe_5.2.0.bb | 3 +++ .../python-hyperframe/python3-hyperframe_5.2.0.bb | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python-hyperframe.inc create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_5.2.0.bb
meta-python/recipes-connectivity/python-hyperframe/python-hyperframe.inc new file +10 -0
@@ -0,0 +1,10 @@ +DESCRIPTION = "HTTP/2 framing layer for Python" +HOMEPAGE = "https://github.com/python-hyper/hyperframe" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" + +SRC_URI[md5sum] = "6919183242feb26d8bce3b4cba81defd" +SRC_URI[sha256sum] = "a9f5c17f2cc3c719b917c4f33ed1c61bd1f8dfac4b1bd23b7c80b3400971b41f" + +inherit pypi
meta-python/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-hyperframe.inc + +inherit setuptools
meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_5.2.0.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-hyperframe.inc + +inherit setuptools3
Signature · 1 line
2.21.0
PATCH 4/4 python-hpack: add recipe
In reply to Trevor GamblinFrom: Trevor Gamblin <[email protected]>
--- .../recipes-connectivity/python-hpack/python-hpack.inc | 10 ++++++++++ .../python-hpack/python-hpack_3.0.0.bb | 3 +++ .../python-hpack/python3-hpack_3.0.0.bb | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 meta-python/recipes-connectivity/python-hpack/python-hpack.inc create mode 100644 meta-python/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb create mode 100644 meta-python/recipes-connectivity/python-hpack/python3-hpack_3.0.0.bb
meta-python/recipes-connectivity/python-hpack/python-hpack.inc new file +10 -0
@@ -0,0 +1,10 @@ +DESCRIPTION = "Pure-Python HPACK header compression" +HOMEPAGE = "https://github.com/python-hyper/hpack" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" + +SRC_URI[md5sum] = "556b0ae66180f54c2ce8029a0952088b" +SRC_URI[sha256sum] = "8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2" + +inherit pypi
meta-python/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-hpack.inc + +inherit setuptools
meta-python/recipes-connectivity/python-hpack/python3-hpack_3.0.0.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-hpack.inc + +inherit setuptools3
Signature · 1 line
2.21.0
Quoted 31 lines · Trevor Gamblin
From: Trevor Gamblin <[email protected]>
python3-twisted relies on various HTTP/2 modules for some optional functionality, but they currently aren't available in the package index. Specifically, twisted has nested dependencies on the priority, h2, hpack, and hyperframe modules either in
web/http.py, or inweb/test/test_http2.py.
Add simple recipes to make them installable for use with twisted and elsewhere.Signed-off-by Trevor Gamblin <[email protected]>Trevor Gamblin (4):
python-priority: add recipe
python-h2: add recipe
python-hyperframe: add recipe
python-hpack: add recipe.../recipes-connectivity/python-h2/python-h2.inc | 10 ++++++++++ .../recipes-connectivity/python-h2/python-h2_3.1.1.bb | 3 +++ .../recipes-connectivity/python-h2/python3-h2_3.1.1.bb | 3 +++ .../recipes-connectivity/python-hpack/python-hpack.inc | 10 ++++++++++ .../python-hpack/python-hpack_3.0.0.bb | 3 +++ .../python-hpack/python3-hpack_3.0.0.bb | 3 +++ .../python-hyperframe/python-hyperframe.inc | 10 ++++++++++ .../python-hyperframe/python-hyperframe_5.2.0.bb | 3 +++ .../python-hyperframe/python3-hyperframe_5.2.0.bb | 3 +++ .../python-priority/python-priority.inc | 10 ++++++++++ .../python-priority/python-priority_1.3.0.bb | 3 +++ .../python-priority/python3-priority_1.3.0.bb | 3 +++ 12 files changed, 64 insertions(+)
Quoted 13 lines
create mode 100644 meta-python/recipes-connectivity/python-h2/python-h2.inc create mode 100644 meta-python/recipes-connectivity/python-h2/python-h2_3.1.1.bb create mode 100644 meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb create mode 100644 meta-python/recipes-connectivity/python-hpack/python-hpack.inc create mode 100644 meta-python/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb create mode 100644 meta-python/recipes-connectivity/python-hpack/python3-hpack_3.0.0.bb create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python-hyperframe.inc create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb create mode 100644 meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_5.2.0.bb create mode 100644 meta-python/recipes-connectivity/python-priority/python-priority.inc create mode 100644 meta-python/recipes-connectivity/python-priority/python-priority_1.3.0.bb create mode 100644 meta-python/recipes-connectivity/python-priority/python3-priority_1.3.0.bb
Oops, wrong label. Resending...