python3-yamllint: use python_setuptools_build_meta build class

This package can be built using pep517 classes now.

yamlint appears to have never used setuptools-scm, so remove the
dependency.

(From OE-Core rev: c3b51900326dbadb83b3853419f5c92bac12ba50)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-07-23 15:51:35 +01:00
committed by Richard Purdie
parent 1c3418fccd
commit abefe97990

View File

@@ -3,13 +3,12 @@ HOMEPAGE = "https://github.com/adrienverge/yamllint"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
inherit pypi setuptools3
inherit pypi python_setuptools_build_meta
PYPI_PACKAGE = "yamllint"
SRC_URI[sha256sum] = "7a003809f88324fd2c877734f2d575ee7881dd9043360657cc8049c809eba6cd"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "python3-pathspec python3-pyyaml"
BBCLASSEXTEND = "native nativesdk"