net-firewall/ufw: add missing dependency for setuptools

* With python3.12 distutils isnt included with the interpeter but
  is instead bundled in setuptools.

Closes: https://bugs.gentoo.org/933481
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37000
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate 2024-06-03 19:35:21 +03:00 committed by Sam James
parent 8150cb18ba
commit ef05fb4859
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -19,7 +19,12 @@ KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
IUSE="examples ipv6"
RDEPEND="net-firewall/iptables[ipv6(+)?]"
BDEPEND="sys-devel/gettext"
BDEPEND="
sys-devel/gettext
$(python_gen_cond_dep '
dev-python/setuptools[${PYTHON_USEDEP}]
' python3_12)
"
PATCHES=(
# Move files away from /lib/ufw.