summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2020-05-12 16:22:13 -0400
committerKhem Raj <raj.khem@gmail.com>2020-05-12 14:16:19 -0700
commit75b3d7e7bf3ea451c633adc6906c0c1695359fff (patch)
tree92ac5071849263f4553c2f23a02ba8641257cc01
parent06916cbfbe150561f9d78a32e162780689df5cf7 (diff)
downloadmeta-openembedded-75b3d7e7bf3ea451c633adc6906c0c1695359fff.tar.gz
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 <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb5
1 files changed, 5 insertions, 0 deletions
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 += " \
15 file://run-ptest \ 15 file://run-ptest \
16" 16"
17 17
18RDEPENDS_${PN} += " \
19 ${PYTHON_PN}-datetime \
20 ${PYTHON_PN}-stringold \
21 "
22
18RDEPENDS_${PN}-ptest += " \ 23RDEPENDS_${PN}-ptest += " \
19 ${PYTHON_PN}-pytest \ 24 ${PYTHON_PN}-pytest \
20" 25"