diff options
author | Abhishek Shah <abhishek.shah@broadcom.com> | 2020-04-17 02:49:09 +0530 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-17 19:05:47 -0700 |
commit | 89cb1405384c02ed8aae4230fac3887f9c283632 (patch) | |
tree | 6cd1250ed6fa2d76934da135b462f66dea0c8c55 | |
parent | 7c37f90893723f8c9432825c00e4ecbfab292ef5 (diff) | |
download | meta-openembedded-contrib-89cb1405384c02ed8aae4230fac3887f9c283632.tar.gz |
python-dateutil: Fix RDEPENDS
dateutil package has runtime dependency on "six" package
for native version as well, as shown in error log below:
| File "poky/build/tmp/work/*/recipe-sysroot-native/usr/lib/python3.8/
site-packages/pykwalify/core.py", line 25, in <module>
| from dateutil.parser import parse
| File "poky/build/tmp/work/*/recipe-sysroot-native/usr/lib/python3.8/
site-packages/dateutil/parser/__init__.py", line 2, in <module>
| from ._parser import parse, parser, parserinfo, ParserError
| File "poky/build/tmp/work/*/recipe-sysroot-native/usr/lib/python3.8/
site-packages/dateutil/parser/_parser.py", line 42, in <module>
| import six
|
| ModuleNotFoundError: No module named 'six'
Other packges specified under RDEPENDS_${PN}_class-target as well
do not seem specific just to class-target.
So, move them all under RDEPENDS_${PN}.
Signed-off-by: Abhishek Shah <abhishek.shah@broadcom.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python-dateutil.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-dateutil.inc b/meta-python/recipes-devtools/python/python-dateutil.inc index 3c89cd62c1..e70e963e9c 100644 --- a/meta-python/recipes-devtools/python/python-dateutil.inc +++ b/meta-python/recipes-devtools/python/python-dateutil.inc @@ -15,7 +15,7 @@ FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS_${PN}_class-target = "\ +RDEPENDS_${PN} = "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-numbers \ ${PYTHON_PN}-six \ |