Skip to contentSkip to conversation

python3-lru-dict: 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-lru-dict: switch to PEP-517 build backend

- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- There is no need to set SRC_URI with PYPI_SRC_URI, it is already used by default in the pypi class.

Fix:

WARNING: python3-lru-dict-1.3.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
 meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb +1 -3
index e9535fa6f..64d50c308 100644
@@ -6,6 +6,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153"
 
 SRC_URI[sha256sum] = "54fd1966d6bd1fcde781596cb86068214edeebff1db13a2cea11079e3fd07b6b"
 
-inherit pypi setuptools3
-
-SRC_URI += "${PYPI_SRC_URI}"
+inherit pypi python_setuptools_build_meta
Signature · 1 line
2.25.1