summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-11-30 09:24:43 -0800
committerKhem Raj <raj.khem@gmail.com>2025-11-30 09:25:15 -0800
commita555730e42f9c1e3ed2523b57565dbbb833d88af (patch)
tree041d1b06249183d284302eeacc43082697651e46 /meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb
parentcc274558bdbb709522e880b52f6c94c71cddce01 (diff)
downloadmeta-openembedded-a555730e42f9c1e3ed2523b57565dbbb833d88af.tar.gz
python3-fastapi: Turn swagger-ui dependency into packageconfig
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-fastapi_0.122.0.bb8
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
10inherit pypi python_pdm ptest-python-pytest 10inherit pypi python_pdm ptest-python-pytest
11 11
12PACKAGECONFIG ?= ""
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
16PACKAGECONFIG[swagger-ui] = ",,,swagger-ui"
17
12RDEPENDS:${PN} += "\ 18RDEPENDS:${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
21RRECOMMENDS:${PN} += "swagger-ui"
22
23RDEPENDS:${PN}-ptest += "python3-orjson" 27RDEPENDS:${PN}-ptest += "python3-orjson"