On Mon, 2019-05-20 at 15:14 +0100, Richard Purdie wrote: > On Thu, 2019-05-16 at 22:09 +0100, > luca.bocca...@gmail.com > wrote: > > From: Luca Boccassi < > > luca.bocca...@microsoft.com > > > > > > > The pkg_resources Python module is useful by itself, for example > > for > > automatic loading of resources shipped in a Python package. > > Add separate packages for it, so that users can depend on them > > individually and avoid pulling in the entire setuptools, which > > include scripts to download other packages, which might not be > > desired on minimal images. > > > > Other distributions like Debian and Ubuntu already split setuptools > > and pkg-resources in this way. > > > > The setuptools packages now depend on the new pkg-resources > > packages, > > to avoid regressions for other packages that depend on them > > already. > > > > Signed-off-by: Luca Boccassi < > > luca.bocca...@microsoft.com > > > > > --- > > meta/recipes-devtools/python/python-setuptools.inc | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/meta/recipes-devtools/python/python-setuptools.inc > > b/meta/recipes-devtools/python/python-setuptools.inc > > index 357aa07086..ad00cbe0ef 100644 > > --- a/meta/recipes-devtools/python/python-setuptools.inc > > +++ b/meta/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 \ > > @@ -37,3 +38,6 @@ do_install_prepend() { > > } > > > > BBCLASSEXTEND = "native nativesdk" > > + > > +PACKAGES =+ "${PYTHON_PN}-pkg-resources " > > +FILES_${PYTHON_PN}-pkg-resources = > > "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" > > > This breaks native builds: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/614 > > > (and many other similar failures) > > Cheers, > > Richard
Hello Richard, Thanks for the heads-up, any suggestion as to why the above patch wouldn't be enough to build both native and target binary packages for $python-pkg-resources? -- Kind regards, Luca Boccassi -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core