Message ID | 20231215075210.3049785-2-alex@linutronix.de |
---|---|
State | Accepted, archived |
Commit | 234a02419bce1f46deb202ce0a3bbe38835e0997 |
Headers | show |
Series | [01/10] gobject-introspection: depend on setuptools to obtain distutils module | expand |
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}"
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> --- meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)