python-setuptools: simplify RDEPENDS setting
PATCH 1/1 python-setuptools: simplify RDEPENDS setting
* 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(-)
recipes-devtools/python/python-setuptools.inc +1 -5
@@ -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"
Signature · 1 line
2.27.0