summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb
new file mode 100644
index 0000000000..660d729dd7
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "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"
+
+SRC_URI[sha256sum] = "e487fae93ad408e6f47641ee4dfe389864fd7bec92e547ea8498fc13f43e83ab"
+
+SRC_URI += "file://run-ptest"
+
+CVE_PRODUCT = "tiangolo:fastapi"
+
+inherit pypi python_pdm ptest-python-pytest
+
+PACKAGECONFIG ?= ""
+# swagger-ui is in meta-webserver that meta-python does not depend upon
+# Users can still enable it in their distros explicitly but its disabled
+# by default
+PACKAGECONFIG[swagger-ui] = ",,,swagger-ui"
+
+RDEPENDS:${PN} += "\
+ python3-annotated-doc \
+ python3-fastapi-cli \
+ python3-json \
+ python3-pydantic \
+ python3-starlette \
+ python3-typing-extensions \
+"
+
+RDEPENDS:${PN}-ptest += "\
+ python3-coverage \
+ python3-httpx \
+ python3-orjson \
+ python3-dirty-equals \
+ python3-pytest-httpx \
+ python3-python-multipart \
+ python3-sqlalchemy \
+ python3-trio \
+"