depends python &&
depends setuptools &&

runtime_depends genshi &&

if list_find "$TRAC_DB" sqlite; then
  runtime_depends pysqlite &&
  runtime_depends sqlite
fi &&

if list_find "$TRAC_DB" mysql; then
  runtime_depends mysql-python &&
  runtime_depends MYSQL
fi &&

if list_find "$TRAC_DB" postgresql; then
  runtime_depends psycopg2 &&
  runtime_depends postgresql
fi &&

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 pygments "" "" "for syntax highlighting (Pygments)" &&
suggest_depends enscript "" "" "for syntax highlighting (Enscript)" &&
suggest_depends pytz "" "" "for advanced timezone definition and DST support" &&
suggest_depends docutils "" "" "for reStructuredText (RST) support in wiki"
