commit:     fc2ef6fc888746f48a15c17962e3ff848b4f8e48
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 06:49:30 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 06:49:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc2ef6fc

sys-apps/portage: use python_gen_cond_dep

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/portage/portage-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/portage/portage-9999.ebuild 
b/sys-apps/portage/portage-9999.ebuild
index 1db60a413dba..6bb5c1c1d398 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -34,7 +34,9 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="
        ${PYTHON_DEPS}
-       python_targets_python3_12? ( dev-python/setuptools[${PYTHON_USEDEP}] )
+       $(python_gen_cond_dep '
+               dev-python/setuptools[${PYTHON_USEDEP}]
+       ' python3_12)
        test? ( dev-vcs/git )
 "
 DEPEND="

Reply via email to