All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] meta-oe: add python http2 recipes
@ 2019-10-31 18:34 Trevor Gamblin
  2019-10-31 18:34 ` [PATCH 1/4] python-priority: add recipe Trevor Gamblin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Trevor Gamblin @ 2019-10-31 18:34 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

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. 

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>

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

-- 
2.21.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/4] python-priority: add recipe
  2019-10-31 18:34 [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
@ 2019-10-31 18:34 ` Trevor Gamblin
  2019-10-31 18:34 ` [PATCH 2/4] python-h2: " Trevor Gamblin
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2019-10-31 18:34 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 .../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

diff --git a/meta-python/recipes-connectivity/python-priority/python-priority.inc b/meta-python/recipes-connectivity/python-priority/python-priority.inc
new file mode 100644
index 000000000..aa93819bc
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-priority/python-priority.inc
@@ -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
diff --git a/meta-python/recipes-connectivity/python-priority/python-priority_1.3.0.bb b/meta-python/recipes-connectivity/python-priority/python-priority_1.3.0.bb
new file mode 100644
index 000000000..cbe262576
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-priority/python-priority_1.3.0.bb
@@ -0,0 +1,3 @@
+require python-priority.inc
+
+inherit setuptools
diff --git a/meta-python/recipes-connectivity/python-priority/python3-priority_1.3.0.bb b/meta-python/recipes-connectivity/python-priority/python3-priority_1.3.0.bb
new file mode 100644
index 000000000..fe756b56b
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-priority/python3-priority_1.3.0.bb
@@ -0,0 +1,3 @@
+require python-priority.inc
+
+inherit setuptools3
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/4] python-h2: add recipe
  2019-10-31 18:34 [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
  2019-10-31 18:34 ` [PATCH 1/4] python-priority: add recipe Trevor Gamblin
@ 2019-10-31 18:34 ` Trevor Gamblin
  2019-10-31 18:34 ` [PATCH 3/4] python-hyperframe: " Trevor Gamblin
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2019-10-31 18:34 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 .../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

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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/4] python-hyperframe: add recipe
  2019-10-31 18:34 [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
  2019-10-31 18:34 ` [PATCH 1/4] python-priority: add recipe Trevor Gamblin
  2019-10-31 18:34 ` [PATCH 2/4] python-h2: " Trevor Gamblin
@ 2019-10-31 18:34 ` Trevor Gamblin
  2019-10-31 18:34 ` [PATCH 4/4] python-hpack: " Trevor Gamblin
  2019-10-31 18:38 ` [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
  4 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2019-10-31 18:34 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 .../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

diff --git a/meta-python/recipes-connectivity/python-hyperframe/python-hyperframe.inc b/meta-python/recipes-connectivity/python-hyperframe/python-hyperframe.inc
new file mode 100644
index 000000000..0066bf8e6
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-hyperframe/python-hyperframe.inc
@@ -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
diff --git a/meta-python/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb b/meta-python/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb
new file mode 100644
index 000000000..4f0c9977a
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-hyperframe/python-hyperframe_5.2.0.bb
@@ -0,0 +1,3 @@
+require python-hyperframe.inc
+
+inherit setuptools
diff --git a/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_5.2.0.bb b/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_5.2.0.bb
new file mode 100644
index 000000000..f10fb6df1
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-hyperframe/python3-hyperframe_5.2.0.bb
@@ -0,0 +1,3 @@
+require python-hyperframe.inc
+
+inherit setuptools3
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 4/4] python-hpack: add recipe
  2019-10-31 18:34 [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
                   ` (2 preceding siblings ...)
  2019-10-31 18:34 ` [PATCH 3/4] python-hyperframe: " Trevor Gamblin
@ 2019-10-31 18:34 ` Trevor Gamblin
  2019-10-31 18:38 ` [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
  4 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2019-10-31 18:34 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 .../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

diff --git a/meta-python/recipes-connectivity/python-hpack/python-hpack.inc b/meta-python/recipes-connectivity/python-hpack/python-hpack.inc
new file mode 100644
index 000000000..eccfa8c56
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-hpack/python-hpack.inc
@@ -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
diff --git a/meta-python/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb b/meta-python/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb
new file mode 100644
index 000000000..faaeb8555
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-hpack/python-hpack_3.0.0.bb
@@ -0,0 +1,3 @@
+require python-hpack.inc
+
+inherit setuptools
diff --git a/meta-python/recipes-connectivity/python-hpack/python3-hpack_3.0.0.bb b/meta-python/recipes-connectivity/python-hpack/python3-hpack_3.0.0.bb
new file mode 100644
index 000000000..e196c55b3
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-hpack/python3-hpack_3.0.0.bb
@@ -0,0 +1,3 @@
+require python-hpack.inc
+
+inherit setuptools3
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] meta-oe: add python http2 recipes
  2019-10-31 18:34 [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
                   ` (3 preceding siblings ...)
  2019-10-31 18:34 ` [PATCH 4/4] python-hpack: " Trevor Gamblin
@ 2019-10-31 18:38 ` Trevor Gamblin
  4 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2019-10-31 18:38 UTC (permalink / raw)
  To: openembedded-devel

On 10/31/19 2:34 PM, Trevor Gamblin wrote:

> From: Trevor Gamblin <trevor.gamblin@windriver.com>
>
> 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.
>
> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
>
> 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
>
Oops, wrong label. Resending...


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-31 18:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 18:34 [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin
2019-10-31 18:34 ` [PATCH 1/4] python-priority: add recipe Trevor Gamblin
2019-10-31 18:34 ` [PATCH 2/4] python-h2: " Trevor Gamblin
2019-10-31 18:34 ` [PATCH 3/4] python-hyperframe: " Trevor Gamblin
2019-10-31 18:34 ` [PATCH 4/4] python-hpack: " Trevor Gamblin
2019-10-31 18:38 ` [PATCH 0/4] meta-oe: add python http2 recipes Trevor Gamblin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.