commit:     9e625ce2cdd393bb4eea7ee76717b40db2cb27c1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May  4 13:49:23 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  4 13:49:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e625ce2

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 <AT> 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(-)

diff --git a/www-servers/uwsgi/uwsgi-2.0.23.ebuild 
b/www-servers/uwsgi/uwsgi-2.0.23.ebuild
index 2b9d25ee0baf..5551b4274a1f 100644
--- a/www-servers/uwsgi/uwsgi-2.0.23.ebuild
+++ b/www-servers/uwsgi/uwsgi-2.0.23.ebuild
@@ -71,6 +71,7 @@ for plugin in ${UWSGI_PLUGINS_OPT[@]}; do IUSE="${IUSE} 
uwsgi_plugins_${plugin}"
 IUSE="${IUSE} ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]}"
 
 REQUIRED_USE="
+       ${PYTHON_REQUIRED_USE}
        || ( ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]} )
        uwsgi_plugins_logcrypto? ( ssl )
        uwsgi_plugins_sslrouter? ( ssl )
@@ -143,7 +144,10 @@ RDEPEND="
        selinux? ( sec-policy/selinux-uwsgi )
        uwsgi_plugins_rrdtool? ( net-analyzer/rrdtool )
 "
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-2.0.21-libphp-version.patch

diff --git a/www-servers/uwsgi/uwsgi-2.0.27.ebuild 
b/www-servers/uwsgi/uwsgi-2.0.27.ebuild
index 146bf9447c67..d1f6c70eb7d7 100644
--- a/www-servers/uwsgi/uwsgi-2.0.27.ebuild
+++ b/www-servers/uwsgi/uwsgi-2.0.27.ebuild
@@ -72,6 +72,7 @@ for plugin in ${UWSGI_PLUGINS_OPT[@]}; do IUSE="${IUSE} 
uwsgi_plugins_${plugin}"
 IUSE="${IUSE} ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]}"
 
 REQUIRED_USE="
+       ${PYTHON_REQUIRED_USE}
        || ( ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]} )
        uwsgi_plugins_logcrypto? ( ssl )
        uwsgi_plugins_sslrouter? ( ssl )
@@ -144,7 +145,10 @@ RDEPEND="
        selinux? ( sec-policy/selinux-uwsgi )
        uwsgi_plugins_rrdtool? ( net-analyzer/rrdtool )
 "
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+"
 
 pkg_setup() {
        python_setup

Reply via email to