From: Alexander Kanavin Date: Fri, 15 Dec 2023 07:52:02 +0000 (+0100) Subject: libcap-ng-python: depend on setuptools to obtain distutils copy X-Git-Tag: uninative-4.4~699 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=234a02419bce1f46deb202ce0a3bbe38835e0997;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- 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 1240589d007..9e0ccd55e37 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}"