meta-openembedded/meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb
alperak 8fd651c7ef
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>
2024-08-09 14:25:25 -07:00

16 lines
487 B
BlitzBasic

SUMMARY = "The xmlschema library is an implementation of XML Schema for Python (supports Python 3.6+)."
HOMEPAGE = "https://github.com/sissaschool/xmlschema"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65"
SRC_URI[sha256sum] = "a2f021f21d0b5ab371e9bcb5a1d5c34b9ba2c74ad3e32854474c4159bf94e158"
inherit pypi python_setuptools_build_meta
RDEPENDS:${PN} += "\
python3-elementpath \
python3-modules \
"
BBCLASSEXTEND = "native nativesdk"