diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb | 8 |
1 files changed, 6 insertions, 2 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..a5c9d257b0 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-xfce 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,4 @@ RDEPENDS:${PN} += "\ | |||
| 18 | python3-typing-extensions \ | 24 | python3-typing-extensions \ |
| 19 | " | 25 | " |
| 20 | 26 | ||
| 21 | RRECOMMENDS:${PN} += "swagger-ui" | ||
| 22 | |||
| 23 | RDEPENDS:${PN}-ptest += "python3-orjson" | 27 | RDEPENDS:${PN}-ptest += "python3-orjson" |
