diff mbox series

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

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

Commit Message

alperak Aug. 7, 2024, 11:41 a.m. UTC
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-pykickstart-3.48-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>
---
 .../python-pykickstart/python3-pykickstart_3.48.bb          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb
index 953068f7c..a7bd8ae43 100644
--- a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb
+++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.48.bb
@@ -5,13 +5,13 @@  LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
 
-DEPENDS = "python3"
+inherit python_setuptools_build_meta
+
 RDEPENDS:${PN} = "python3 \
                   python3-requests \
                   python3-six \
 "
 
-S = "${WORKDIR}/git"
 SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=master \
            file://0001-support-authentication-for-kickstart.patch \
            file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \
@@ -22,4 +22,4 @@  SRCREV = "fa6c80c0e5c6bee29d089899a10d26e6f7f8afd8"
 
 UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)"
 
-inherit setuptools3
+S = "${WORKDIR}/git"