python3-incremental: cleanup RDEPENDS and use python_setuptools_build_meta

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Guðni Már Gilbert 2024-04-23 06:38:12 +00:00 committed by Khem Raj
parent 900ef2731f
commit 0dba41b51f
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -5,15 +5,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ca9b07f08e2c72d48c74d363d1e0e15"
SRC_URI[sha256sum] = "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c24c0bd0" SRC_URI[sha256sum] = "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c24c0bd0"
inherit pypi setuptools3 inherit pypi python_setuptools_build_meta
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
python3-twisted \ python3-twisted-core \
python3-click \ python3-click \
" "
# -native is needed to build python[3]-twisted, however, we need to take steps to # -native is needed to build python[3]-twisted, however, we need to take steps to
# prevent a circular dependency. The build apparently does not use the part of # prevent a circular dependency. The build apparently does not use the part of
# python-incremental which uses python-twisted, so this hack is OK. # python-incremental which uses python-twisted, so this hack is OK.
RDEPENDS:python3-incremental-native:remove = "python3-twisted-native" RDEPENDS:python3-incremental-native:remove = "python3-twisted-core-native"
BBCLASSEXTEND = "native" BBCLASSEXTEND = "native"