Since the ebuild calls ${EPYTHON} unconditionally, the following error occurs when no PYTHON_TARGETS are enabled: * No Python implementation selected for the build. Please add one * of the following values to your PYTHON_TARGETS (in make.conf): * * python3_10 python3_11 python3_12 python3_13 * ERROR: www-servers/uwsgi-2.0.27::gentoo failed (setup phase): * No supported Python implementation in PYTHON_TARGETS. * * Call stack: * ebuild.sh, line 136: Called pkg_setup * uwsgi-2.0.27.ebuild, line 150: Called python_setup * python-r1.eclass, line 714: Called _python_validate_useflags * python-r1.eclass, line 268: Called die * The specific snippet of code: * die "No supported Python implementation in PYTHON_TARGETS." Setting ${PYTHON_REQUIRED_USE} unconditionally would catch this at calculating dependencies.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e625ce2cdd393bb4eea7ee76717b40db2cb27c1 commit 9e625ce2cdd393bb4eea7ee76717b40db2cb27c1 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-05-04 13:49:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-05-04 13:49:56 +0000 www-servers/uwsgi: fix Python deps We always need Python at build-time. Closes: https://bugs.gentoo.org/955376 Signed-off-by: Sam James <sam@gentoo.org> www-servers/uwsgi/uwsgi-2.0.23.ebuild | 6 +++++- www-servers/uwsgi/uwsgi-2.0.27.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)