commit:     ef05fb48597a890fe15a75f1b78a179e2fe2e8d9
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Jun  3 16:35:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  4 07:12:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef05fb48

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 <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37000
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-firewall/ufw/ufw-0.36.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild 
b/net-firewall/ufw/ufw-0.36.1.ebuild
index 29c289c00534..0c19a760f4dc 100644
--- a/net-firewall/ufw/ufw-0.36.1.ebuild
+++ b/net-firewall/ufw/ufw-0.36.1.ebuild
@@ -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.

Reply via email to