From: alperak <[email protected]>

- The project has a proper pyproject.toml which declares the 
setuptools.build.meta PEP-517 backend.

- The PyPi package name (defaults to PN without the python3- prefix), so there 
is no need to set PYPI_PACKAGE as inflate64, it is by default.

- Added missing dependency python3-setuptools-scm-native.

Fix:

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

Signed-off-by: alperak <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 289470f0eb2bbef8c2f3310420e39c266c8a6c86)
Signed-off-by: Armin Kuster <[email protected]>
---
 .../recipes-devtools/python/python3-inflate64_1.0.0.bb        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb 
b/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb
index 9fbd5157af..7804152d94 100644
--- a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb
@@ -4,12 +4,12 @@ LICENSE = "LGPL-2.1-or-later"
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-inherit setuptools3 pypi
+inherit python_setuptools_build_meta pypi
 
 SRC_URI += "file://0001-Do-not-override-const-qualifier.patch"
 SRC_URI[sha256sum] = 
"3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d"
 
-PYPI_PACKAGE = "inflate64"
+DEPENDS += "python3-setuptools-scm-native"
 
 RDEPENDS:${PN} += "\
     python3-core \
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113479): 
https://lists.openembedded.org/g/openembedded-devel/message/113479
Mute This Topic: https://lists.openembedded.org/mt/109406596/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to