testtools uses the hatchling backend so:
* merge the inc back into the recipe
* drop setuptools
* use the hatchling backend
* add the needed vcs dependency
* drop the now unneeded python3-pbr dependency
This means the submodules are included in packaging, fixing build failures
and the verison in the wheel is no longer 0.0.0
Prior to this fix, testtools in buildtools tarball was completely
broken.
(From OE-Core rev: fe46107e6bf4880d97f03b5e55d722d64f922889)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
============
* Remove various unused imports.
* Fix build backend. This should prevent version from being set to 0.0.0
when building wheels.
(From OE-Core rev: a6c46a0074999d9460f273886734258f0bf788d2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>