summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap-ng
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-12-15 08:52:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-20 12:02:10 +0000
commit234a02419bce1f46deb202ce0a3bbe38835e0997 (patch)
treee4269cfdb94ada694cf63297044295851ff716a4 /meta/recipes-support/libcap-ng
parent2872aa59d24505b1088d570453e4ec6c83974cc9 (diff)
downloadopenembedded-core-234a02419bce1f46deb202ce0a3bbe38835e0997.tar.gz
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. 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>
Diffstat (limited to 'meta/recipes-support/libcap-ng')
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb
index 1240589d00..9e0ccd55e3 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb
@@ -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}"