mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-fastapi: Turn swagger-ui dependency into packageconfig
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
cc274558bd
commit
a555730e42
|
|
@ -9,6 +9,12 @@ SRC_URI += "file://run-ptest"
|
|||
|
||||
inherit pypi python_pdm ptest-python-pytest
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
# swagger-ui is in meta-xfce 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 \
|
||||
|
|
@ -18,6 +24,4 @@ RDEPENDS:${PN} += "\
|
|||
python3-typing-extensions \
|
||||
"
|
||||
|
||||
RRECOMMENDS:${PN} += "swagger-ui"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "python3-orjson"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user