libcap-ng-python: depend on setuptools to obtain distutils copy

Upstream has made the needed fixes (not easy to backport), but
hasn't released a new version with them. Distutils has been
removed from the core python library in 3.12.0.

(From OE-Core rev: 234a02419bce1f46deb202ce0a3bbe38835e0997)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-12-15 08:52:02 +01:00
committed by Richard Purdie
parent 1d4447abb9
commit 05d187fec3

View File

@@ -6,7 +6,8 @@ SUMMARY .= " - python"
inherit lib_package autotools python3targetconfig
DEPENDS += "libcap-ng python3 swig-native"
# drop setuptools when version > 0.8.3 is released; it's needed only for distutils
DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native"
S = "${WORKDIR}/libcap-ng-${PV}"