mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
python3-testtools: Fix build problems from incorrect build backend
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>
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
inherit setuptools3
|
||||
require python-testtools.inc
|
||||
SUMMARY = "Extensions to the Python standard library unit testing framework"
|
||||
HOMEPAGE = "https://pypi.org/project/testtools/"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
|
||||
|
||||
DEPENDS += "python3-hatch-vcs-native"
|
||||
|
||||
inherit pypi python_hatchling
|
||||
|
||||
SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-doctest \
|
||||
python3-extras \
|
||||
python3-six \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user