diff options
Diffstat (limited to 'python-pypi/trac/DEPENDS')
-rwxr-xr-x | python-pypi/trac/DEPENDS | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/python-pypi/trac/DEPENDS b/python-pypi/trac/DEPENDS index d35b83fd4d..0ab4d2dedf 100755 --- a/python-pypi/trac/DEPENDS +++ b/python-pypi/trac/DEPENDS @@ -19,10 +19,15 @@ if list_find "$TRAC_DB" postgresql; then fi && suggest_depends babel "" "" "for localization support" && -suggest_depends WEBSERVER "" "" "to run connected to a 'real' webserver" && suggest_depends subversion "" "" "for Subversion SCM support" && -suggest_depends mod_wsgi "" "" "for Apache WSGI module usage" && -suggest_depends mod_python "" "" "for faster execution with Apache" && +suggest_depends WEBSERVER "" "" "to run connected to a 'real' webserver" && + +if is_depends_enabled $SPELL $(get_spell_provider $SPELL WEBSERVER) && + echo $(get_spell_provider $SPELL WEBSERVER) | grep -Eq "^(apache|httpd-)"; then + suggest_depends mod_wsgi "" "" "for Apache WSGI module usage" && + suggest_depends mod_python "" "" "for faster execution with Apache" +fi && + suggest_depends pygments "" "" "for syntax highlighting (Pygments)" && suggest_depends enscript "" "" "for syntax highlighting (Enscript)" && suggest_depends pytz "" "" "for advanced timezone definition and DST support" && |