[tor-commits] [tor-browser-bundle/master] Build argparse for mac.
mikeperry at torproject.org
mikeperry at torproject.org
Tue Jan 21 04:47:03 UTC 2014
commit 7d1461f19926f9b516d2e32d399ed48767f78395
Author: David Fifield <david at bamsoftware.com>
Date: Tue Nov 12 06:33:51 2013 +0000
Build argparse for mac.
---
gitian/descriptors/mac/gitian-pluggable-transports.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gitian/descriptors/mac/gitian-pluggable-transports.yml b/gitian/descriptors/mac/gitian-pluggable-transports.yml
index b0c7870..096f09b 100644
--- a/gitian/descriptors/mac/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/mac/gitian-pluggable-transports.yml
@@ -19,6 +19,7 @@ remotes:
"dir": "pyptlib"
files:
- "pycrypto.tar.gz"
+- "argparse.tar.gz"
- "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"
@@ -70,6 +71,13 @@ script: |
cp -a build/Crypto $PTDIR/
cd ..
#
+ tar xzf argparse.tar.gz
+ cd argparse-*
+ find -type f | xargs touch --date="$REFERENCE_DATETIME"
+ python setup.py build --build-lib build
+ cp -a build/argparse.py $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
More information about the tor-commits
mailing list