]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-yamllint: use python_setuptools_build_meta build class
authorRoss Burton <ross.burton@arm.com>
Tue, 23 Jul 2024 14:51:35 +0000 (15:51 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Jul 2024 21:49:18 +0000 (22:49 +0100)
This package can be built using pep517 classes now.

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

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-yamllint_1.35.1.bb

index 53188b02624ddf07c01f25966bfefcf3caa25e6e..116209f683cf0fa2753e8e96a7810d4279413a2c 100644 (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"