Skip to contentSkip to conversation

python3-screeninfo: switch to PEP-517 build backend

PATCH New alperak 1 participant 1 message Aug 7, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 python3-screeninfo: switch to PEP-517 build backend

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]

---
 .../recipes-devtools/python/python3-screeninfo_0.8.1.bb       | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-screeninfo_0.8.1.bb +1 -3
index 19ac3f67f..a7a20707e 100644
@@ -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 \
Signature · 1 line
2.25.1