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 <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
alperak
2024-08-07 15:36:03 +03:00
committed by Khem Raj
parent 1b5922fe40
commit 8fd651c7ef

View File

@@ -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 \