meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.124.4.bb
Gyorgy Sarvari a307398b7b
python3-fastapi: set CVE_PRODUCT
Set correct CVE_PRODUCT - the default (python:fastapi) is not the one
that is used to track CVEs.

See CVE db query (n8n vendor is not relevant):
sqlite> select * from products where product like 'fastapi';
CVE-2021-32677|tiangolo|fastapi|||0.65.2|<|0
CVE-2025-55526|n8n|fastapi|0.115.14|=|||0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-31 08:34:01 -08:00

39 lines
1.2 KiB
BlitzBasic

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] = "0e9422e8d6b797515f33f500309f6e1c98ee4e85563ba0f2debb282df6343763"
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 \
"