2 # Pull in a new snapshot of external projects that are included in
3 # our source tree for users that don't have them installed on their system
5 # Third party directory
6 THIRD_PARTY_DIR
="`dirname $0`"
7 # Library directory where projects live that haven't been migrated to
8 # $THIRD_PARTY_DIR yet.
11 echo "Updating dnspython..."
12 git clone git
://git.samba.org
/third_party
/dnspython
"$WORKDIR/dnspython"
13 rm -rf "$WORKDIR/dnspython/.git"
14 rsync
-avz --delete "$WORKDIR/dnspython/" "$THIRD_PARTY_DIR/dnspython/"
16 echo "Updating pep8..."
17 git clone git
://git.samba.org
/third_party
/pep8
"$WORKDIR/pep8"
18 rm -rf "$WORKDIR/pep8/.git"
19 rsync
-avz --delete "$WORKDIR/pep8/" "$THIRD_PARTY_DIR/pep8/"
21 echo "Updating zlib..."
22 git clone git
://git.samba.org
/third_party
/zlib
"$WORKDIR/zlib"
23 rm -rf "$WORKDIR/zlib/.git"
24 rsync
--exclude=wscript
-avz --delete "$WORKDIR/zlib/" "$THIRD_PARTY_DIR/zlib/"
26 echo "Updating pyiso8601..."
27 hg clone https
://bitbucket.org
/micktwomey
/pyiso8601
"$WORKDIR/pyiso8601"
28 rm -rf "$WORKDIR/pyiso8601/.hg"
29 rsync
-avz --delete "$WORKDIR/pyiso8601/" "$THIRD_PARTY_DIR/pyiso8601/"
31 echo "Updating waf..."
32 git clone git
://git.samba.org
/third_party
/waf.waf15
/ "$WORKDIR/waf"
33 rm -rf "$WORKDIR/waf/.git"
34 rsync
-C -avz --delete "$WORKDIR/waf/" "$THIRD_PARTY_DIR/waf/"