Message ID | 20240807123603.117140-1-alperyasinak1@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python] python3-xmlschema: switch to PEP-517 build backend | expand |
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 f927bd622..33244d98e 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 \
- 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> --- .../recipes-devtools/python/python3-xmlschema_3.3.2.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)