diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb b/meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb index 37a475ef8f..7dc5d833bc 100644 --- a/meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb +++ b/meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb | |||
| @@ -9,6 +9,12 @@ SRC_URI += "file://run-ptest" | |||
| 9 | 9 | ||
| 10 | inherit pypi python_pdm ptest-python-pytest | 10 | inherit pypi python_pdm ptest-python-pytest |
| 11 | 11 | ||
| 12 | PACKAGECONFIG ?= "" | ||
| 13 | # swagger-ui is in meta-webserver that meta-python does not depend upon | ||
| 14 | # Users can still enable it in their distros explicitly but its disabled | ||
| 15 | # by default | ||
| 16 | PACKAGECONFIG[swagger-ui] = ",,,swagger-ui" | ||
| 17 | |||
| 12 | RDEPENDS:${PN} += "\ | 18 | RDEPENDS:${PN} += "\ |
| 13 | python3-annotated-doc \ | 19 | python3-annotated-doc \ |
| 14 | python3-fastapi-cli \ | 20 | python3-fastapi-cli \ |
| @@ -18,6 +24,13 @@ RDEPENDS:${PN} += "\ | |||
| 18 | python3-typing-extensions \ | 24 | python3-typing-extensions \ |
| 19 | " | 25 | " |
| 20 | 26 | ||
| 21 | RRECOMMENDS:${PN} += "swagger-ui" | 27 | RDEPENDS:${PN}-ptest += "\ |
| 22 | 28 | python3-coverage \ | |
| 23 | RDEPENDS:${PN}-ptest += "python3-orjson" | 29 | python3-httpx \ |
| 30 | python3-orjson \ | ||
| 31 | python3-dirty-equals \ | ||
| 32 | python3-pytest-httpx \ | ||
| 33 | python3-python-multipart \ | ||
| 34 | python3-sqlalchemy \ | ||
| 35 | python3-trio \ | ||
| 36 | " | ||
