From 8fd651c7efc19d04389a2fb6600e9c6cf2af7fe5 Mon Sep 17 00:00:00 2001 From: alperak Date: Wed, 7 Aug 2024 15:36:03 +0300 Subject: python3-xmlschema: switch to PEP-517 build backend - The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. - The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as xmlschema, it is by default. - install_requires is a keyword that should be used to specify what a project minimally needs to run correctly. Elementpath is not needed for the project to build, but it is needed to run, so it has been removed from DEPENDS. Fix: WARNING: python3-xmlschema-3.3.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb b/meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb index f927bd622f..33244d98e5 100644 --- a/meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb @@ -5,12 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65" SRC_URI[sha256sum] = "a2f021f21d0b5ab371e9bcb5a1d5c34b9ba2c74ad3e32854474c4159bf94e158" -PYPI_PACKAGE = "xmlschema" -inherit pypi setuptools3 - -DEPENDS += "\ - python3-elementpath-native \ -" +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ python3-elementpath \ -- cgit v1.2.3-54-g00ecf