setools: inherit cython class
PATCH 1/1 setools: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build paths.
Signed-off-by Yi Zhao <[email protected]>
--- recipes-security/setools/setools_4.5.1.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
recipes-security/setools/setools_4.5.1.bb +2 -6
@@ -16,17 +16,13 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=69a7b68f0a4a570d7c0c43465333ecbc \ S = "${WORKDIR}/git" -DEPENDS = "python3-cython-native libsepol libselinux" +DEPENDS = "libsepol libselinux" RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" RPROVIDES:${PN} = "${PN}-console" -inherit python_setuptools_build_meta - -do_install:prepend() { - sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c -} +inherit python_setuptools_build_meta cython do_install:append() { # Need PyQt6 support, disable gui tools
Signature · 1 line
2.25.1