Commit Graph

2 Commits

Author SHA1 Message Date
Ross Burton
b538705ed5 setuptools3-base: improve RDEPENDS assignment
Use :append instead of += so that recipes can assign to RDEPENDS:${PN}.
This fixes missing RDEPENDS for sixteen recipes in oe-core alone.

Also instead of using obscure inline Python we can just use the
class-target override.

(From OE-Core rev: c4ecd63593df2ffd5c1b7ae1c50652ca57ebe219)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Tim Orling
458f379489 setuptools3: refactor for no distutils bbclasses
Add setuptools3-base.bbclass as a re-usable starting point similar to
what used to be distutils-common-base.bbclass and disutils3-base.bbclass.

We no longer need to support python2, so no need for a
setuptools-common-base.bbclass.

Refactor setuptools3.bbclass to use setuptools3-base.bbclass instead of
the distulis*.bbclasses.

(From OE-Core rev: ca73393a36c4144662ea8570f904154188e9815a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00