* python2 version from meta-python2 caused parsing error now, which 
unfortunately left bitbake stuck after:
  ERROR: meta-python2/recipes-devtools/python/python-setuptools_42.0.2.bb: QA 
Issue: meta-python2/recipes-devtools/python/python-setuptools_42.0.2.bb: 
Variable RPROVIDES is set as not being package specific, please fix this. 
[pkgvarcheck]
  ERROR: meta-python2/recipes-devtools/python/python-setuptools_42.0.2.bb: 
Fatal QA errors found, failing task.
  ERROR: Failed to parse recipe: 
meta-python2/recipes-devtools/python/python-setuptools_42.0.2.bb

Signed-off-by: Martin Jansa <[email protected]>
---
 recipes-devtools/python/python-setuptools.inc | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/recipes-devtools/python/python-setuptools.inc 
b/recipes-devtools/python/python-setuptools.inc
index d8bce71..5f427fd 100644
--- a/recipes-devtools/python/python-setuptools.inc
+++ b/recipes-devtools/python/python-setuptools.inc
@@ -24,6 +24,7 @@ RDEPENDS_${PN} = "\
   ${PYTHON_PN}-html \
   ${PYTHON_PN}-netserver \
   ${PYTHON_PN}-numbers \
+  ${PYTHON_PN}-pkg-resources \
   ${PYTHON_PN}-pkgutil \
   ${PYTHON_PN}-plistlib \
   ${PYTHON_PN}-shell \
@@ -43,8 +44,3 @@ BBCLASSEXTEND = "native nativesdk"
 # minimal distributions.
 PACKAGES =+ "${PYTHON_PN}-pkg-resources "
 FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
-# Due to the way OE-Core implemented native recipes, the native class cannot
-# have a dependency on something that is not a recipe name. Work around that by
-# manually setting RPROVIDES.
-RDEPENDS_${PN}_append = " ${PYTHON_PN}-pkg-resources"
-RPROVIDES_append_class-native = " ${PYTHON_PN}-pkg-resources-native"
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#89200): 
https://lists.openembedded.org/g/openembedded-devel/message/89200
Mute This Topic: https://lists.openembedded.org/mt/80254693/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to