From 6740bf60955638d7e0ddf39c17184e342c1f9da7 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Thu, 7 May 2020 13:19:41 -0400 Subject: python3-markdown: add logging and setuptools to RDEPENDS Importing the markdown module causes standard ModuleNotFoundErrors if the logging and pkg_resources modules are unavailable: root@qemux86-64:~# python3 Python 3.8.2 (default, Apr 27 2020, 08:51:00) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import markdown Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python3.8/site-packages/markdown/_init_.py", line 25, in from .core import Markdown, markdown, markdownFromFile File "/usr/lib64/python3.8/site-packages/markdown/core.py", line 27, in import logging ModuleNotFoundError: No module named 'logging' Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj (cherry picked from commit 17426020a8c296986857511e85e3551207db857d) Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb b/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb index 68cd723acc..cdfe5496ad 100644 --- a/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb @@ -10,3 +10,5 @@ SRC_URI[md5sum] = "72219f46ca440b657bf227500731bdf1" SRC_URI[sha256sum] = "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c" BBCLASSEXTEND = "native" + +RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" -- cgit v1.2.3-54-g00ecf