summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2024-08-07 15:36:03 +0300
committerKhem Raj <raj.khem@gmail.com>2024-08-09 14:25:25 -0700
commit8fd651c7efc19d04389a2fb6600e9c6cf2af7fe5 (patch)
tree1a2b628e2f2f06018df34a54183ad5ea7a4ddc99 /meta-python/recipes-devtools/python
parent1b5922fe4053352976ee56ade4935ba7d14960fe (diff)
downloadmeta-openembedded-8fd651c7efc19d04389a2fb6600e9c6cf2af7fe5.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-xmlschema_3.3.2.bb7
1 files changed, 1 insertions, 6 deletions
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"
5 5
6SRC_URI[sha256sum] = "a2f021f21d0b5ab371e9bcb5a1d5c34b9ba2c74ad3e32854474c4159bf94e158" 6SRC_URI[sha256sum] = "a2f021f21d0b5ab371e9bcb5a1d5c34b9ba2c74ad3e32854474c4159bf94e158"
7 7
8PYPI_PACKAGE = "xmlschema" 8inherit pypi python_setuptools_build_meta
9inherit pypi setuptools3
10
11DEPENDS += "\
12 python3-elementpath-native \
13"
14 9
15RDEPENDS:${PN} += "\ 10RDEPENDS:${PN} += "\
16 python3-elementpath \ 11 python3-elementpath \