Переглянути джерело

python3-pykickstart: switch to PEP-517 build backend

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
alperak 10 місяців тому
батько
коміт
c0970f3117

+ 3 - 3
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"