mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-22 00:08:22 +00:00
python3-fastapi[-cli]: new recipe 0.122.0
python3-fastapi at version 0.122.0 python3-fastapi-cli at version 0.0.16 Moved and modified from meta-ros (Thanks Rob Woolley) - added ptest for fastapi (long run) - python3-fastapi-cli does have tests, but also a circular dependency on python-fastapi. So no ptests for python3-fastapi Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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] = "cd9b5352031f93773228af8b4c443eedc2ac2aa74b27780387b853c3726fb94b"
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
inherit pypi python_pdm ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-annotated-doc \
|
||||
python3-fastapi-cli \
|
||||
python3-json \
|
||||
python3-pydantic \
|
||||
python3-starlette \
|
||||
python3-typing-extensions \
|
||||
"
|
||||
|
||||
RRECOMMENDS:${PN} += "swagger-ui"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "python3-orjson"
|
||||
Reference in New Issue
Block a user