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>
This commit is contained in:
Sam James
2025-05-04 14:49:23 +01:00
parent 2fe38629d6
commit 9e625ce2cd
2 changed files with 10 additions and 2 deletions

View File

@@ -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

View File

@@ -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