python3-inflate64: switch to PEP-517 build backend

- 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 <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 289470f0eb2bbef8c2f3310420e39c266c8a6c86)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
alperak 2024-10-10 11:48:13 +03:00 committed by Khem Raj
parent 4441545a5d
commit 3489ff2fad
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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 \