mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user