Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bf1d1256b0609db6824acf7948c79806fd0c902d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bf1d1256b0609db6824acf7948c79806fd0c902d)
  • Date: Sat, 17 Oct 2009 06:58:18 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

python-pypi/trac/CONFIGURE | 7 ++++++-
python-pypi/trac/DEPENDS | 13 +++++++++----
python-pypi/trac/HISTORY | 5 +++++
3 files changed, 20 insertions(+), 5 deletions(-)

New commits:
commit bf1d1256b0609db6824acf7948c79806fd0c902d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

trac: multi-db selection support

diff --git a/python-pypi/trac/CONFIGURE b/python-pypi/trac/CONFIGURE
index cdd0b9d..0188f5a 100755
--- a/python-pypi/trac/CONFIGURE
+++ b/python-pypi/trac/CONFIGURE
@@ -1 +1,6 @@
-config_query_list TRAC_DB "Which database would you like?" sqlite mysql
postgresql
+. $GRIMOIRE/config_query_multi.function &&
+
+config_query_multi TRAC_DB "Which databases would you like to use?" \
+ sqlite \
+ mysql \
+ postgresql
diff --git a/python-pypi/trac/DEPENDS b/python-pypi/trac/DEPENDS
index 1987512..91ae9c5 100755
--- a/python-pypi/trac/DEPENDS
+++ b/python-pypi/trac/DEPENDS
@@ -1,21 +1,26 @@
depends python &&
+depends setuptools &&

runtime_depends genshi &&
-runtime_depends setuptools &&

-if [[ $TRAC_DB == sqlite ]]; then
+if list_find "$TRAC_DB" sqlite; then
runtime_depends pysqlite &&
runtime_depends sqlite
-elif [[ $TRAC_DB == mysql ]]; then
+fi &&
+
+if list_find "$TRAC_DB" mysql; then
runtime_depends mysql-python &&
runtime_depends mysql
-elif [[ $TRAC_DB == postgresql ]]; then
+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)" &&
diff --git a/python-pypi/trac/HISTORY b/python-pypi/trac/HISTORY
index 4949d6c..43547c8 100644
--- a/python-pypi/trac/HISTORY
+++ b/python-pypi/trac/HISTORY
@@ -1,3 +1,8 @@
+2009-10-17 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS: added mod_wsgi suggest dep; multi-db selection support;
+ setuptools is a _build_ dependency
+ * CONFIGURE: added config_query_multi.function usage
+
2009-07-18 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 0.11.5




  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bf1d1256b0609db6824acf7948c79806fd0c902d), Vlad Glagolev, 10/17/2009

Archive powered by MHonArc 2.6.24.

Top of Page