python3-pytoml: add datetime and stringold to RDEPENDS
PATCH 1/1 python3-pytoml: add datetime and stringold to RDEPENDS
Error messages like the following are encountered if datetime and stringold are not in RDEPENDS for pytoml, so add them:
|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 pytoml |Traceback (most recent call last): |File "<stdin>", line 1, in <module> |File "/usr/lib64/python3.8/site-packages/pytoml/_init_.py", line 2, in <module> |from .parser import load, loads |File "/usr/lib64/python3.8/site-packages/pytoml/parser.py", line 3, in <module> |from .utils import rfc3339_re, parse_rfc3339_re |File "/usr/lib64/python3.8/site-packages/pytoml/utils.py", line 1, in <module> |import datetime |ModuleNotFoundError: No module named 'datetime'
Signed-off-by Trevor Gamblin <[email protected]>
--- meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +5 -0
@@ -15,6 +15,11 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-stringold \ + " + RDEPENDS_${PN}-ptest += " \ ${PYTHON_PN}-pytest \ "
Signature · 1 line
2.25.4