mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
setools: switch to PEP-517 build backend
Fix QA warning: WARNING: setools-4.5.1-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: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
This commit is contained in:
parent
98294b19c0
commit
3482e0e650
|
|
@ -18,19 +18,18 @@ S = "${WORKDIR}/git"
|
|||
|
||||
DEPENDS = "python3-cython-native libsepol libselinux"
|
||||
|
||||
RDEPENDS:${PN} = "python3-networkx python3-setuptools \
|
||||
python3-logging libselinux-python"
|
||||
RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python"
|
||||
|
||||
RPROVIDES:${PN} = "${PN}-console"
|
||||
|
||||
inherit setuptools3
|
||||
inherit python_setuptools_build_meta
|
||||
|
||||
do_install:prepend() {
|
||||
sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
# Need PyQt5 support, disable gui tools
|
||||
# Need PyQt6 support, disable gui tools
|
||||
rm -f ${D}${bindir}/apol
|
||||
rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setoolsgui
|
||||
rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/__pycache__
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user