diff mbox series

[35/37] python3-yamllint: use python_setuptools_build_meta build class

Message ID 20240723145137.74198-35-ross.burton@arm.com
State Accepted, archived
Commit c3b51900326dbadb83b3853419f5c92bac12ba50
Headers show
Series [01/37] python3: add dependency on -compression to -core | expand

Commit Message

Ross Burton July 23, 2024, 2:51 p.m. UTC
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>
---
 meta/recipes-devtools/python/python3-yamllint_1.35.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
index 53188b02624..116209f683c 100644
--- a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
+++ b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
@@ -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"