diff mbox series

[meta-python] python3-screeninfo: switch to PEP-517 build backend

Message ID 20240807113513.76522-1-alperyasinak1@gmail.com
State Accepted
Headers show
Series [meta-python] python3-screeninfo: switch to PEP-517 build backend | expand

Commit Message

alperak Aug. 7, 2024, 11:35 a.m. UTC
The project has a proper pyproject.toml which declares the  poetry.core.masonry.api PEP-517 backend.

Fix:

WARNING: python3-screeninfo-0.8.1-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-screeninfo_0.8.1.bb       | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb b/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb
index 19ac3f67f..a7a20707e 100644
--- a/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb
+++ b/meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb
@@ -4,11 +4,9 @@  SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a23813181e06852d377bc25ae5563a97"
 
-PYPI_PACKAGE = "screeninfo"
-
 SRC_URI[sha256sum] = "9983076bcc7e34402a1a9e4d7dabf3729411fd2abb3f3b4be7eba73519cd2ed1"
 
-inherit pypi setuptools3
+inherit pypi python_poetry_core
 
 RDEPENDS:${PN} += "\
     python3-core \