mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user