diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-12-15 08:52:02 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-21 10:38:29 +0000 |
| commit | 05d187fec3bd84ee70bf3ac38028103953369d1b (patch) | |
| tree | 0f9f4b1fc380403017db86311b6bd9cbeaa9d683 | |
| parent | 1d4447abb979e524d4f2dd71fb41069c5f760f9c (diff) | |
| download | poky-05d187fec3bd84ee70bf3ac38028103953369d1b.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.
(From OE-Core rev: 234a02419bce1f46deb202ce0a3bbe38835e0997)
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>
| -rw-r--r-- | meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb | 3 |
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" | |||
| 6 | 6 | ||
| 7 | inherit lib_package autotools python3targetconfig | 7 | inherit lib_package autotools python3targetconfig |
| 8 | 8 | ||
| 9 | DEPENDS += "libcap-ng python3 swig-native" | 9 | # drop setuptools when version > 0.8.3 is released; it's needed only for distutils |
| 10 | DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native" | ||
| 10 | 11 | ||
| 11 | S = "${WORKDIR}/libcap-ng-${PV}" | 12 | S = "${WORKDIR}/libcap-ng-${PV}" |
| 12 | 13 | ||
