]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
libcap-ng-python: depend on setuptools to obtain distutils copy
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 15 Dec 2023 07:52:02 +0000 (08:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Dec 2023 12:02:10 +0000 (12:02 +0000)
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>
meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb

index 1240589d0074cd25826be8032eba2c7325f3bdfa..9e0ccd55e37b07e35083ea8135f55c26b8dffb91 100644 (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}"