diff mbox series

[meta-python,05/12] python3-pytest-metadata: switch to PEP-517 build backend

Message ID 20240809163101.8416-5-alperyasinak1@gmail.com
State Accepted
Headers show
Series [meta-python,01/12] python3-service-identity: switch to PEP-517 build backend | expand

Commit Message

alperak Aug. 9, 2024, 4:30 p.m. UTC
- 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>
---
 .../recipes-devtools/python/python3-pytest-metadata_2.0.2.bb  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

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 163a363f8..9243f6646 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"
 
 SRC_URI[sha256sum] = "fcd2f416f15be295943527b3c8ba16a44ae5a7141939c90c3dc5ce9d167cf2a5"
 
-PYPI_PACKAGE = "pytest-metadata"
-
-inherit pypi setuptools3
+inherit pypi python_poetry_core
 
 RDEPENDS:${PN} = " \
     python3-pytest \