From 894d78881eb4e4f97ca74819af6bfeb87de8cc6b Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 12 May 2020 16:22:13 -0400 Subject: 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 "", line 1, in |File "/usr/lib64/python3.8/site-packages/pytoml/_init_.py", line 2, in |from .parser import load, loads |File "/usr/lib64/python3.8/site-packages/pytoml/parser.py", line 3, in |from .utils import rfc3339_re, parse_rfc3339_re |File "/usr/lib64/python3.8/site-packages/pytoml/utils.py", line 1, in |import datetime |ModuleNotFoundError: No module named 'datetime' Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj (cherry picked from commit 75b3d7e7bf3ea451c633adc6906c0c1695359fff) Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb') diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb index b09005ec9e..1533a895f3 100644 --- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb @@ -15,6 +15,11 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-stringold \ + " + RDEPENDS_${PN}-ptest += " \ ${PYTHON_PN}-pytest \ " -- cgit 1.2.3-korg