Message ID | 20230320132751.518693-3-ross.burton@arm.com |
---|---|
State | Accepted, archived |
Commit | 0e0a5a635f44931dd490ae6a99548f05bd5205a8 |
Headers | show |
Series | [01/17] python3-numpy: add missing dependency for the tests | expand |
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 58e6f28a692..498402af422 100644 --- a/meta/recipes-devtools/python/python3/python3-manifest.json +++ b/meta/recipes-devtools/python/python3/python3-manifest.json @@ -835,7 +835,8 @@ "unixadmin", "venv", "xml", - "xmlrpc" + "xmlrpc", + "zoneinfo" ], "rrecommends": [ "distutils-windows" diff --git a/meta/recipes-devtools/python/python3_3.11.2.bb b/meta/recipes-devtools/python/python3_3.11.2.bb index 98b25342283..5060722beb9 100644 --- a/meta/recipes-devtools/python/python3_3.11.2.bb +++ b/meta/recipes-devtools/python/python3_3.11.2.bb @@ -417,6 +417,7 @@ RDEPENDS:${PN}-misc += "\ " RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc" RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc" +RDEPENDS:${PN}-modules:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '${MLPREFIX}python3-gdbm', '', d)}" FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" # catch manpage
The python3-modules package should depend on zoneinfo, and gdbm if it was enabled. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/python/python3/python3-manifest.json | 3 ++- meta/recipes-devtools/python/python3_3.11.2.bb | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)