Skip to contentSkip to conversation

meta-python: add python http2 recipes

PATCH In review Trevor Gamblin 3 participants 8 messages Oct 31, 2019 – Nov 1, 2019

lore
Share & tools
lore
#0 lore raw

cover meta-python: 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
#1 lore raw

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
new file mode 100644
index 000000000..aa93819bc
@@ -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
new file mode 100644
index 000000000..cbe262576
@@ -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
new file mode 100644
index 000000000..fe756b56b
@@ -0,0 +1,3 @@
+require python-priority.inc
+
+inherit setuptools3
Signature · 1 line
2.21.0
#2 lore raw

PATCH 2/4 python-h2: add recipe

In reply to Trevor Gamblin

From: 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
new file mode 100644
index 000000000..42629c261
@@ -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
new file mode 100644
index 000000000..b84129742
@@ -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
new file mode 100644
index 000000000..7230a27e8
@@ -0,0 +1,3 @@
+require python-h2.inc
+
+inherit setuptools3
Signature · 1 line
2.21.0
#3 lore raw

Re: [PATCH 2/4] python-h2: add recipe

are these V2 or just a miss fire?

Quoted 46 lines · Trevor Gamblin

From: 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
new file mode 100644
index 000000000..42629c261
@@ -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
new file mode 100644
index 000000000..b84129742
@@ -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
new file mode 100644
index 000000000..7230a27e8
@@ -0,0 +1,3 @@
+require python-h2.inc
+
+inherit setuptools3
#4 lore raw

Re: [PATCH 2/4] python-h2: add recipe

Quoted 3 lines · On Fri, Nov 1, 2019 at 8:40 AM akuster808 <[email protected]> wrote:

are these V2 or just a miss fire?

there was no meta-python in the subject line. So there was another set which was sent
which I have picked

Quoted 55 lines · Trevor Gamblin
Quoted 43 lines

From: 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
new file mode 100644
index 000000000..42629c261
@@ -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
new file mode 100644
index 000000000..b84129742
@@ -0,0 +1,3 @@
+require python-h2.inc
+
+inherit setuptools
meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb new file +0 -0
new file mode 100644
index 000000000..7230a27e8

meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb line 3

Quoted 3 lines
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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw

Re: [PATCH 2/4] python-h2: add recipe

Quoted 6 lines · Khem Raj
Quoted 2 lines · On Fri, Nov 1, 2019 at 8:40 AM akuster808 <[email protected]> wrote:

are these V2 or just a miss fire?

there was no meta-python in the subject line. So there was another set which was sent
which I have picked

Right, sorry for the confusion. I had sent them at first without the meta-python label and re-sent to clarify.

Quoted 53 lines
Quoted 53 lines · Trevor Gamblin
Quoted 43 lines

From: 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
new file mode 100644
index 000000000..42629c261
@@ -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
new file mode 100644
index 000000000..b84129742
@@ -0,0 +1,3 @@
+require python-h2.inc
+
+inherit setuptools
meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb new file +0 -0
new file mode 100644
index 000000000..7230a27e8

meta-python/recipes-connectivity/python-h2/python3-h2_3.1.1.bb line 3

Quoted 3 lines
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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#6 lore raw

PATCH 3/4 python-hyperframe: add recipe

In reply to Trevor Gamblin

From: 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
new file mode 100644
index 000000000..0066bf8e6
@@ -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
new file mode 100644
index 000000000..4f0c9977a
@@ -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
new file mode 100644
index 000000000..f10fb6df1
@@ -0,0 +1,3 @@
+require python-hyperframe.inc
+
+inherit setuptools3
Signature · 1 line
2.21.0
#7 lore raw

PATCH 4/4 python-hpack: add recipe

In reply to Trevor Gamblin

From: 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
new file mode 100644
index 000000000..eccfa8c56
@@ -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
new file mode 100644
index 000000000..faaeb8555
@@ -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
new file mode 100644
index 000000000..e196c55b3
@@ -0,0 +1,3 @@
+require python-hpack.inc
+
+inherit setuptools3
Signature · 1 line
2.21.0