commit: 5139c6dacff4d358f9313de8a43d9fe8fc027bb8 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org> AuthorDate: Fri Jun 7 13:21:02 2024 +0000 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> CommitDate: Fri Jun 7 13:27:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5139c6da
sys-process/audit: add missing BDEPEND for setuptools With python3.12, distutils isn't included with the interpreter but is instead bundled in setuptools. Add a conditional dependency for it when python3.12 is enabled. Closes: https://bugs.gentoo.org/933726 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org> sys-process/audit/audit-3.1.1.ebuild | 8 +++++++- sys-process/audit/audit-3.1.2.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/sys-process/audit/audit-3.1.1.ebuild b/sys-process/audit/audit-3.1.1.ebuild index 347a7e71e862..97910e182b7e 100644 --- a/sys-process/audit/audit-3.1.1.ebuild +++ b/sys-process/audit/audit-3.1.1.ebuild @@ -34,7 +34,13 @@ DEPEND=" >=sys-kernel/linux-headers-2.6.34 test? ( dev-libs/check ) " -BDEPEND="python? ( dev-lang/swig )" +BDEPEND="python? ( + dev-lang/swig + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) + ) +" CONFIG_CHECK="~AUDIT" diff --git a/sys-process/audit/audit-3.1.2.ebuild b/sys-process/audit/audit-3.1.2.ebuild index b4be6f0deebc..a01ceddb51ff 100644 --- a/sys-process/audit/audit-3.1.2.ebuild +++ b/sys-process/audit/audit-3.1.2.ebuild @@ -34,7 +34,13 @@ DEPEND=" >=sys-kernel/linux-headers-2.6.34 test? ( dev-libs/check ) " -BDEPEND="python? ( dev-lang/swig )" +BDEPEND="python? ( + dev-lang/swig + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) + ) +" CONFIG_CHECK="~AUDIT"
