[CalendarServer-changes] [7370] CalendarServer/branches/users/glyph/misc-portability-fixes/support/ build.sh
source_changes at macosforge.org
source_changes at macosforge.org
Wed Apr 27 11:44:52 PDT 2011
Revision: 7370
http://trac.macosforge.org/projects/calendarserver/changeset/7370
Author: glyph at apple.com
Date: 2011-04-27 11:44:52 -0700 (Wed, 27 Apr 2011)
Log Message:
-----------
If you have ORACLE_HOME set, build cx_Oracle dependency.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh
Modified: CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh
===================================================================
--- CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh 2011-04-27 18:44:45 UTC (rev 7369)
+++ CalendarServer/branches/users/glyph/misc-portability-fixes/support/build.sh 2011-04-27 18:44:52 UTC (rev 7370)
@@ -580,6 +580,9 @@
# code (like, let's say, trial) decides to chdir somewhere.
export PYTHONPATH="${wd}:${PYTHONPATH:-}";
+ # Sourceforge mirror hostname.
+ local sf="superb-sea2.dl.sourceforge.net";
+
local zi="zope.interface-3.3.0";
py_dependency -m "93668855e37b4691c5c956665c33392c" \
"Zope Interface" "zope.interface" "${zi}" \
@@ -589,7 +592,7 @@
local px="PyXML-${pv}";
py_dependency -v "${pv}" -m "1f7655050cebbb664db976405fdba209" \
"PyXML" "xml.dom.ext" "${px}" \
- "http://superb-sea2.dl.sourceforge.net/project/pyxml/pyxml/${pv}/${px}.tar.gz";
+ "http://${sf}/project/pyxml/pyxml/${pv}/${px}.tar.gz";
local po="pyOpenSSL-0.10";
py_dependency -v 0.9 -m "34db8056ec53ce80c7f5fc58bee9f093" \
@@ -612,6 +615,13 @@
"xattr" "xattr" "xattr" \
"http://svn.red-bean.com/bob/xattr/releases/xattr-0.6.1/";
+ if [ -n "${ORACLE_HOME:-}" ]; then
+ local cx="cx_Oracle-5.1";
+ py_dependency -v 5.1 -m "d2697493a40c9d46c9b7c1c210b61671" \
+ "cx_Oracle" "cx_Oracle" "${cx}" \
+ "http://${sf}/project/cx-oracle/5.1/${cx}.tar.gz";
+ fi;
+
if [ "${py_version}" != "${py_version##2.5}" ] && ! py_have_module select26; then
local s26="select26-0.1a3";
py_dependency -m "01b8929e7cfc4a8deb777b92e3115c15" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110427/cf045e54/attachment.html>
More information about the calendarserver-changes
mailing list