[CalendarServer-changes] [12480] twext/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:17:45 PDT 2014


Revision: 12480
          http://trac.calendarserver.org//changeset/12480
Author:   wsanchez at apple.com
Date:     2014-01-30 10:33:53 -0800 (Thu, 30 Jan 2014)
Log Message:
-----------
Postgres is a dep

Modified Paths:
--------------
    twext/trunk/bin/_build.sh

Added Paths:
-----------
    twext/trunk/requirements/py_opt_Postgres.txt

Modified: twext/trunk/bin/_build.sh
===================================================================
--- twext/trunk/bin/_build.sh	2014-01-30 18:18:40 UTC (rev 12479)
+++ twext/trunk/bin/_build.sh	2014-01-30 18:33:53 UTC (rev 12480)
@@ -515,6 +515,27 @@
       "ftp://ftp.cyrusimap.org/cyrus-sasl/${p}.tar.gz" \
       --disable-macos-framework;
   fi;
+
+  ruler;
+  if type -P postgres > /dev/null; then
+    using_system "Postgres";
+  else
+    local v="9.3.1";
+    local n="postgresql";
+    local p="${n}-${v}";
+
+    if type -P dtrace > /dev/null; then
+      local enable_dtrace="--enable-dtrace";
+    else
+      local enable_dtrace="";
+    fi;
+
+    c_dependency -m "c003d871f712d4d3895956b028a96e74" \
+      "PostgreSQL" "${p}" \
+      "http://ftp.postgresql.org/pub/source/v${v}/${p}.tar.bz2" \
+      --with-python ${enable_dtrace};
+  fi;
+
 }
 
 

Added: twext/trunk/requirements/py_opt_Postgres.txt
===================================================================
--- twext/trunk/requirements/py_opt_Postgres.txt	                        (rev 0)
+++ twext/trunk/requirements/py_opt_Postgres.txt	2014-01-30 18:33:53 UTC (rev 12480)
@@ -0,0 +1,2 @@
+# -e svn+http://svn.calendarserver.org/repository/calendarserver/twext/trunk#egg=twextpy [Postgres]
+PyGreSQL==4.1.1


Property changes on: twext/trunk/requirements/py_opt_Postgres.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/e17e9484/attachment.html>


More information about the calendarserver-changes mailing list