Skip to contentSkip to conversation

python3-starlette: new package

PATCH Superseded Ben Gampe 1 participant 3 messages Mar 29, 2021

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Ben Gampe

author
#0 lore raw

PATCH v2 1/3 python3-starlette: new package

Add recipe for python3-starlette: the little ASGI library that shines

---
 .../packagegroups/packagegroup-meta-python.bb             | 1 +
 .../recipes-devtools/python/python3-starlette_0.13.6.bb   | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.13.6.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index e84bf225e..fd78ee0a2 100644
@@ -391,6 +391,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-sqlalchemy \
     python3-sqlparse \
     python3-sqlsoup \
+    python3-starlette \
     python3-stevedore \
     python3-strict-rfc3339 \
     python3-supervisor \
meta-python/recipes-devtools/python/python3-starlette_0.13.6.bb new file +8 -0
new file mode 100644
index 000000000..461f7bfa1
@@ -0,0 +1,8 @@
+SUMMARY = "The little ASGI library that shines"
+HOMEPAGE = "https://www.starlette.io/";
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "ebe8ee08d9be96a3c9f31b2cb2a24dbdf845247b745664bd8a3f9bd0c977fdbc"
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH v2 2/3 python3-pydantic: new package

Add recipe for python3-pydantic: data validation and settings management using python 3.6 type hinting

---
 .../packagegroups/packagegroup-meta-python.bb       |  1 +
 .../python/python3-pydantic_1.7.3.bb                | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index fd78ee0a2..c0132abaa 100644
@@ -498,6 +498,7 @@ RDEPENDS_packagegroup-meta-python3-ptest = "\
     python3-prettytable-ptest \
     python3-ptyprocess-ptest \
     python3-pyasn1-modules-ptest \
+    python3-pydantic \
     python3-pyroute2-ptest \
     python3-pyserial-ptest \
     python3-pytoml-ptest \
meta-python/recipes-devtools/python/python3-pydantic_1.7.3.bb new file +13 -0
new file mode 100644
index 000000000..87795ce09
@@ -0,0 +1,13 @@
+SUMMARY = "Data validation and settings management using python 3.6 type hinting"
+HOMEPAGE = "https://github.com/samuelcolvin/pydantic";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=215ca7f54cdc98f95ee96c7511d64158"
+
+RDEPENDS_${PN} += "\
+    python3-image \
+    python3-typing \
+"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "213125b7e9e64713d16d988d10997dabc6a1f73f3991e1ff8e35ebb1409c7dc9"
Signature · 1 line
2.25.1
author
#2 lore raw

PATCH v2 3/3 python3-fastapi: new package

In reply to Ben Gampe

Add recipe for python3-fastapi: high performance, easy to learn, fast to code, ready for production

---
 .../packagegroups/packagegroup-meta-python.bb       |  1 +
 .../python/python3-fastapi_0.63.0.bb                | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-fastapi_0.63.0.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index c0132abaa..e9616a4a0 100644
@@ -114,6 +114,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-et-xmlfile \
     python3-evdev \
     python3-fann2 \
+    python3-fastapi \
     python3-fasteners \
     python3-fastnumbers \
     python3-feedformatter \
meta-python/recipes-devtools/python/python3-fastapi_0.63.0.bb new file +13 -0
new file mode 100644
index 000000000..296d64c05
@@ -0,0 +1,13 @@
+SUMMARY = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"
+HOMEPAGE = "https://fastapi.tiangolo.com/";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810"
+
+RDEPENDS_${PN} += "\
+    python3-pydantic \
+    python3-starlette \
+"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "63c4592f5ef3edf30afa9a44fa7c6b7ccb20e0d3f68cd9eba07b44d552058dcb"
Signature · 1 line
2.25.1