On Wed, Jan 27, 2021 at 6:28 PM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> Some now unneeded code in python3-setuptools is dropped, there are further
> changes like this which can follow.
>
> This change was verified with OE-Core by comparing task-depends.dot
> generated
> by "bitbake world -g" before and after the change, the files were
> identical.
>
> diff --git a/meta/recipes-devtools/python/python3-setuptools_51.0.0.bb
> b/meta/recipes-devtools/python/python3-setuptools_51.0.0.bb
> index 6ee935f8f79..db336bfa13b 100644
> --- a/meta/recipes-devtools/python/python3-setuptools_51.0.0.bb
> +++ b/meta/recipes-devtools/python/python3-setuptools_51.0.0.bb
> @@ -58,8 +58,3 @@ RDEPENDS_${PYTHON_PN}-pkg-resources = "\
>    ${PYTHON_PN}-plistlib \
>    ${PYTHON_PN}-pprint \
>  "
> -# 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"
>

The runtime dependency on ${PYTHON_PN}-pkg-resources isn't needed anymore?
I don't see how it would get still included as you said that bitbake -g
files were the same.

I'm asking because meta-python2 has the same issue in:
https://git.openembedded.org/meta-python2/tree/recipes-devtools/python/python-setuptools.inc#n49

and my fix I was planing to send was to replace it with:
RDEPENDS_${PN}_append_class-target = " ${PYTHON_PN}-pkg-resources"
and drop the RPROVIDES, because it unfortunately causes bitbake to get
stuck after reporting parsing error as:

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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147477): 
https://lists.openembedded.org/g/openembedded-core/message/147477
Mute This Topic: https://lists.openembedded.org/mt/80162703/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to