diff options
author | alperak <alperyasinak1@gmail.com> | 2024-08-09 19:30:54 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-08-10 15:57:56 -0700 |
commit | a796f4bb014a10557ae2f6c36ea07055b84935f9 (patch) | |
tree | b409a9db987b907741a342a8f952065cb2424f44 /meta-python | |
parent | 3167a3a9b5a0d5a4c6dd98b94bd0a920ab119f37 (diff) | |
download | meta-openembedded-a796f4bb014a10557ae2f6c36ea07055b84935f9.tar.gz |
python3-pytest-metadata: switch to PEP-517 build backend
- The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-metadata, it is by default.
Fix:
WARNING: python3-pytest-metadata-2.0.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, 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')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb b/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb index 163a363f82..9243f6646e 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-metadata_2.0.2.bb | |||
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" | |||
6 | 6 | ||
7 | SRC_URI[sha256sum] = "fcd2f416f15be295943527b3c8ba16a44ae5a7141939c90c3dc5ce9d167cf2a5" | 7 | SRC_URI[sha256sum] = "fcd2f416f15be295943527b3c8ba16a44ae5a7141939c90c3dc5ce9d167cf2a5" |
8 | 8 | ||
9 | PYPI_PACKAGE = "pytest-metadata" | 9 | inherit pypi python_poetry_core |
10 | |||
11 | inherit pypi setuptools3 | ||
12 | 10 | ||
13 | RDEPENDS:${PN} = " \ | 11 | RDEPENDS:${PN} = " \ |
14 | python3-pytest \ | 12 | python3-pytest \ |