From 89cb1405384c02ed8aae4230fac3887f9c283632 Mon Sep 17 00:00:00 2001 From: Abhishek Shah Date: Fri, 17 Apr 2020 02:49:09 +0530 Subject: 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 | 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 | 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 | 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 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-dateutil.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit 1.2.3-korg