[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-bundle/master] Build twisted for mac.



commit ecc9f55f5d48409162edfc82d905e521705c6f69
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Tue Nov 12 06:35:35 2013 +0000

    Build twisted for mac.
---
 gitian/descriptors/mac/gitian-pluggable-transports.yml |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gitian/descriptors/mac/gitian-pluggable-transports.yml b/gitian/descriptors/mac/gitian-pluggable-transports.yml
index 4d4ba6d..e9bd238 100644
--- a/gitian/descriptors/mac/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/mac/gitian-pluggable-transports.yml
@@ -22,6 +22,7 @@ files:
 - "pycrypto.tar.gz"
 - "argparse.tar.gz"
 - "zope.interface.zip"
+- "twisted.tar.bz2"
 - "apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb"
 - "multiarch-darwin11-cctools127.2-gcc42-5666.3-llvmgcc42-2336.1-Linux-120724.tar.xz"
 - "dzip.sh"
@@ -87,6 +88,14 @@ script: |
   cp -a build/zope $PTDIR/
   cd ..
   #
+  tar xjf twisted.tar.bz2
+  cd Twisted-*
+  find -type f | xargs touch --date="$REFERENCE_DATETIME"
+  LDSHARED="$LDSHARED -framework Python" python setup.py build_ext --build-lib build -I/usr/lib/apple/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Python.framework/Headers
+  python setup.py build --build-lib build
+  cp -a build/twisted $PTDIR/
+  cd ..
+  #
   cd openssl
   find -type f | xargs touch --date="$REFERENCE_DATETIME"
   CC=cc ./Configure --cross-compile-prefix=i686-apple-darwin11- $CFLAGS darwin-i386-cc --prefix=$INSTDIR/openssl



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits