This revision of the patch fix the '${PYTHON_PN}' issue to 'python3'.
Signed-off-by: Hugo FLEURY <fleuryhugo7@gmail.com>
---
.../python/python3-fastapi_0.115.12.bb | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-fastapi_0.115.12.bb
diff --git a/meta-python/recipes-devtools/python/python3-fastapi_0.115.12.bb b/meta-python/recipes-devtools/python/python3-fastapi_0.115.12.bb
new file mode 100644
index 0000000000..6c80beb7c3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-fastapi_0.115.12.bb
@@ -0,0 +1,23 @@
+SUMMARY = "FastAPI - high performance API framework"
+HOMEPAGE = "https://fastapi.tiangolo.com/"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810"
+
+SRC_URI[sha256sum] = "1e2c2a2646905f9e83d32f04a3f86aff4a286669c6c950ca95b5fd68c2602681"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+ python3-pdm-native \
+ python3-pdm-backend-native \
+"
+
+RDEPENDS:${PN} += " \
+ python3-pydantic \
+ python3-pydantic-core \
+ python3-starlette \
+ python3-typing-extensions \
+"
+
+PYPI_PACKAGE = "fastapi"
--
2.43.0