From 05d187fec3bd84ee70bf3ac38028103953369d1b Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 15 Dec 2023 08:52:02 +0100 Subject: [PATCH] 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}"