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:
Jan Vermaete
2025-11-29 19:27:09 +01:00
committed by Khem Raj
parent 5007fe03dd
commit cc274558bd
4 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
DESCRIPTION = "Run and manage FastAPI apps from the command line with FastAPI CLI"
HOMEPAGE = "https://fastapi.tiangolo.com/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e0cf8d811ea2046529403707b266fb5a"
SRC_URI[sha256sum] = "e8a2a1ecf7a4e062e3b2eec63ae34387d1e142d4849181d936b23c4bdfe29073"
inherit pypi python_pdm
PYPI_PACKAGE = "fastapi_cli"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
RDEPENDS:${PN} += "\
python3-difflib \
python3-pydantic \
python3-rich-toolkit \
python3-typer \
python3-uvicorn \
"