summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2020-05-20 18:25:15 -0700
committerKhem Raj <raj.khem@gmail.com>2020-05-21 15:07:44 -0700
commit9e60abcabd33940ab7454eddcb92b74426ba3003 (patch)
treea362c07b645968b0e9722c4280ca0ca9f1365ebd /meta-python
parent3d81f6d013b21a5db8e71328648aa896177e40eb (diff)
downloadmeta-openembedded-9e60abcabd33940ab7454eddcb92b74426ba3003.tar.gz
python3-iso8601: add python3-numbers to RDEPENDS
python3-iso8601 relies on the decimal module from the standard library, but it is not in iso8601's RDEPENDS: |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 iso8601 |Traceback (most recent call last): |File "<stdin>", line 1, in <module> |File "/usr/lib64/python3.8/site-packages/iso8601/_init_.py", line 1, in <module> |from .iso8601 import * |File "/usr/lib64/python3.8/site-packages/iso8601/iso8601.py", line 12, in <module> |from decimal import Decimal |ModuleNotFoundError: No module named 'decimal' Add it to RDEPENDS to fix the import error. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-iso8601.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-iso8601.inc b/meta-python/recipes-devtools/python/python-iso8601.inc
index 61e9abbac..a70843ead 100644
--- a/meta-python/recipes-devtools/python/python-iso8601.inc
+++ b/meta-python/recipes-devtools/python/python-iso8601.inc
@@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098ed
8 8
9RDEPENDS_${PN} += "\ 9RDEPENDS_${PN} += "\
10 ${PYTHON_PN}-datetime \ 10 ${PYTHON_PN}-datetime \
11 ${PYTHON_PN}-numbers \
11" 12"
12 13
13BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "native nativesdk"