(command.If arms: [ (if_arm cond: [(command.Sentence child:(C {(true)}) terminator:<Op_Semi ';'>)] action: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(test)} { (DQ (braced_var_sub token: <VSub_Number 0> suffix_op: (suffix_op.Unary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')}) ) ) } {(KW_Bang '!') (Lit_Equals '=')} {(DQ ($ VSub_Number '$0'))} ) (C {(cd)} { (DQ (braced_var_sub token: <VSub_Number 0> suffix_op: (suffix_op.Unary op_id:VOp1_Percent arg_word:{(Lit_Slash /) ('*')}) ) ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:UNAME) op: Equal rhs: { (command_sub left_token: <Left_DollarParen '$('> command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe Op_DPipe] children: [ (command.Simple words: [{(./busybox)} {(uname)}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(uname)}) (C {(true)}) ] ) ] ) ) } ) ] ) (C {(unset)} {(PYTHONPATH)} {(PYTHONSTARTUP)} {(PYTHONHOME)} {(PYTHONCASEOK)} {(PYTHONIOENCODING)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$NO_BUSYBOX'))}) (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)}) ] ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:BUSYBOX) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PATCH) op: Equal rhs: {(SQ <'patch -t'>)} ) ] ) ] ) (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$BASH_VERSION'))}) (C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$STATICPYTHON_IN_BUSYBOX'))}) ] ) terminator: <Op_Semi ';'> ) ] action: [ (C {(unset)} {(BASH_VERSION)}) (C {(export)} {(Lit_VarLike 'STATICPYTHON_IN_BUSYBOX=') (1)}) (C {(exec)} {(./busybox)} {(sh)} {(--)} {(DQ ($ VSub_Number '$0'))} {(DQ ($ VSub_At '$@'))}) ] ) ] else_action: [ (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:BUSYBOX) op:Equal rhs:{(./busybox)})] ) (C {(export)} {(Lit_VarLike 'PATH=') (/dev/null)}) (C {(KW_Set set)} {(-e)}) (command.AndOr ops: [Op_DPipe] children: [(C {(test)} {(-d)} {(busybox.bin)}) (C {(./busybox)} {(mkdir)} {(busybox.bin)})] ) (command.ForEach iter_name: F iter_words: [ {(cp)} {(mv)} {(rm)} {(sleep)} {(touch)} {(mkdir)} {(tar)} {(expr)} {(sed)} {(awk)} {(ls)} {(pwd)} {(test)} {(cmp)} {(diff)} {(patch)} {(xz)} {(sort)} {(cat)} {(head)} {(tail)} {(chmod)} {(chown)} {(uname)} {(basename)} {(tr)} {(find)} {(grep)} {(ln)} ] do_arg_iter: F body: (command.DoGroup children: [ (C {(./busybox)} {(rm)} {(-f)} {(busybox.bin/) (DQ ($ VSub_DollarName '$F'))}) (C {(./busybox)} {(ln)} {(-s)} {(../busybox)} {(busybox.bin/) (DQ ($ VSub_DollarName '$F'))} ) ] ) ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:PATCH) op:Equal rhs:{(patch)})] ) (command.Sentence child: (C {(./busybox)} {(rm)} {(-f)} {(busybox.bin/make)}) terminator: <Op_Semi ';'> ) (C {(./busybox)} {(ln)} {(-s)} {(../make)} {(busybox.bin/make)}) (command.Sentence child: (C {(./busybox)} {(rm)} {(-f)} {(busybox.bin/perl)}) terminator: <Op_Semi ';'> ) (C {(./busybox)} {(ln)} {(-s)} {(../perl)} {(busybox.bin/perl)}) (C {(export)} {(Lit_VarLike 'PATH=') (DQ ($ VSub_DollarName '$PWD') (/busybox.bin))}) (C {(export)} {(Lit_VarLike 'SHELL=') (DQ ($ VSub_DollarName '$PWD') (/busybox.bin/sh))}) ] ) (C {(KW_Set set)} {(-e)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:INSTS_BASE) op: Equal rhs: { (DQ ( 'bzip2-1.0.5.inst.tbz2 ncurses-5.6.inst.tbz2 readline-5.2.inst.tbz2 sqlite-3.7.0.1.inst.tbz2 zlib-1.2.3.3.inst.tbz2' ) ) } ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:STEPS) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_TC) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_LMDB) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:TARGET) op:Equal rhs:{(python2.7-static)})] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(Python-2.7.12.tar.xz)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_PY3) op:Equal rhs:(word.Empty))] ) (command.ForEach iter_name: ARG iter_words: [{(DQ ($ VSub_At '$@'))}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ARG) op: Equal rhs: { (DQ (braced_var_sub token: <VSub_Name ARG> suffix_op: (suffix_op.Unary op_id:VOp1_Percent arg_word:{(-static)}) ) ) } ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stackless)} ) (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stackless2.7)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: Equal rhs: {(stackless2.7-static)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(stackless-2712-export.tar.xz)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_XX) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_PY3) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:(word.Empty))] ) ] ) (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stacklessco)} ) (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stacklessco2.7)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: Equal rhs: {(stacklessco2.7-static)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(stackless-2712-export.tar.xz)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_XX) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:ISP_PY3) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:{(1)})] ) ] ) (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stacklessxx)} ) (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stacklessxx2.7)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: Equal rhs: {(stacklessxx2.7-static)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(stackless-2712-export.tar.xz)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_XX) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:ISP_PY3) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_TC) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_LMDB) op:Equal rhs:{(1)})] ) ] ) (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(python)} ) (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(python2.7)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: Equal rhs: {(python2.7-static)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(Python-2.7.12.tar.xz)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_XX) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_PY3) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:(word.Empty))] ) ] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(python3.2)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: Equal rhs: {(python3.2-static)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(Python-3.2.tar.bz2)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_XX) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_PY3) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:(word.Empty))] ) ] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stackless3.2)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: Equal rhs: {(stackless3.2-static)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(stackless-32-export.tar.bz2)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_XX) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_PY3) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:(word.Empty))] ) ] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(stacklessxl3.2)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: Equal rhs: {(stacklessxl3.2-static)} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHONTBZ2) op: Equal rhs: {(stackless-32-export.tar.bz2)} ) ] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_CO) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_XX) op:Equal rhs:(word.Empty))] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:IS_PY3) op:Equal rhs:{(1)})] ) (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:{(1)})] ) ] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(usessl)}) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:{(1)})] ) ] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$ARG'))} {(Lit_Equals '=')} {(nossl)}) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:USE_SSL) op:Equal rhs:(word.Empty))] ) ] ) ] else_action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:STEPS) op: Equal rhs: {(DQ ($ VSub_DollarName '$STEPS') (' ') ($ VSub_DollarName '$ARG'))} ) ] ) ] ) ] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(-z)} {(DQ ($ VSub_DollarName '$STEPS'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:STEPS) op: Equal rhs: { (DQ ( 'initbuilddir initdeps buildlibssl buildlibevent2 buildlibtc configure fixsemaphore patchsetup fixsetup patchimport patchgetpath patchsqlite patchssl patchlocale fixsetup makeminipython extractpyrex patchsyncless patchgevent patchgeventmysql patchmsgpack patchpythontokyocabinet patchpythonlmdb patchconcurrence patchpycrypto patchaloaes fixsetup makepython buildpythonlibzip buildtarget' ) ) } ) ] ) ] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:INSTS) op: Equal rhs: {(DQ ($ VSub_DollarName '$INSTS_BASE'))} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BUILDDIR) op: Equal rhs: {(DQ ($ VSub_DollarName '$TARGET') (.build))} ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PBUILDDIR) op: Equal rhs: {(DQ ($ VSub_DollarName '$PWD') (/) ($ VSub_DollarName '$BUILDDIR'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)}) terminator: <Op_Semi ';'> ) ] action: [ (C {(export)} {(Lit_VarLike 'CC=') (DQ ('gcc-mp-4.4 -m32 -static-libgcc -I') ($ VSub_DollarName '$PBUILDDIR') (/build-include) ) } ) (C {(export)} {(Lit_VarLike 'AR=') (ar)}) (C {(export)} {(Lit_VarLike 'RANLIB=') (ranlib)}) (C {(export)} {(Lit_VarLike 'LD=') (ld)}) (C {(export)} {(Lit_VarLike 'LDFLAGS=') (DQ (-L) ($ VSub_DollarName '$PBUILDDIR') (/build-lib))} ) (C {(export)} {(Lit_VarLike 'STRIP=') (strip)}) ] ) ] else_action: [ (C {(export)} {(Lit_VarLike 'CC=') (DQ ($ VSub_DollarName '$PBUILDDIR') ('/cross-compiler-i686/bin/i686-gcc -static -fno-stack-protector') ) } ) (C {(export)} {(Lit_VarLike 'AR=') (DQ ($ VSub_DollarName '$PBUILDDIR') (/cross-compiler-i686/bin/i686-ar)) } ) (C {(export)} {(Lit_VarLike 'RANLIB=') (DQ ($ VSub_DollarName '$PBUILDDIR') (/cross-compiler-i686/bin/i686-ranlib)) } ) (C {(export)} {(Lit_VarLike 'LD=') (DQ ($ VSub_DollarName '$PBUILDDIR') (/cross-compiler-i686/bin/i686-ld)) } ) (C {(export)} {(Lit_VarLike 'LDFLAGS=') (DQ )}) (C {(export)} {(Lit_VarLike 'STRIP=') (DQ ($ VSub_DollarName '$PBUILDDIR') ('/cross-compiler-i686/bin/i686-strip -s')) } ) ] ) (C {(echo)} {(DQ ('Running in directory: ') ($ VSub_DollarName '$PWD'))}) (C {(echo)} {(DQ ('Building target: ') ($ VSub_DollarName '$TARGET'))}) (C {(echo)} {(DQ ('Building in directory: ') ($ VSub_DollarName '$BUILDDIR'))}) (C {(echo)} {(DQ ('Using Python source distribution: ') ($ VSub_DollarName '$PYTHONTBZ2'))}) (C {(echo)} {(DQ ('Will run steps: ') ($ VSub_DollarName '$STEPS'))}) (C {(echo)} {(DQ ('Is adding coroutine libraries: ') ($ VSub_DollarName '$IS_CO'))}) (C {(echo)} {(DQ ('Is using OpenSSL for SSL functionality: ') ($ VSub_DollarName '$USE_SSL'))}) (C {(echo)} {(DQ ('Is using Tokyo Cabinet database: ') ($ VSub_DollarName '$USE_TC'))}) (C {(echo)} {(DQ ('Is using LMDB (database): ') ($ VSub_DollarName '$USE_LMDB'))}) (C {(echo)} {(DQ ('Operating system UNAME: ') ($ VSub_DollarName '$UNAME'))}) (C {(echo)}) (command.ShFunction name: initbuilddir body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Linux)} ) (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [(C {(Lit_Other ':')})] ) ] else_action: [ (C {(KW_Set set)} {(Lit_Other '+') (x)}) (command.Simple words: [ {(echo)} {(DQ ('fatal: unsupported operating system: ') ($ VSub_DollarName '$UNAME'))} ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(2)} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/build-include))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/build-lib))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(cross-compiler-i686)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(cross-compiler-i686)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../../gcxbase.inst.tbz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../../gcc.inst.tbz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../../gcxtool.inst.tbz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.Sentence child: (C {(echo)} {(SQ <'#!/bin/sh'>)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(SQ <'echo i386-apple-darwin9.8.0'>)}) ] ) redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$BUILDDIR') (/config.guess.fake))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.Sentence child: (C {(echo)} {(SQ <'#!/bin/sh'>)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(SQ <'echo i686-pc-linux-gnu'>)}) ] ) redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$BUILDDIR') (/config.guess.fake))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(chmod)} {(Lit_Other '+') (x)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/config.guess.fake))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (C {(echo)} {(SQ <'#include <stdio.h>'>)}) (C {(echo)} {(SQ <'main() { return!printf("Hello, World!\\n"); }'>)}) ] ) redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$BUILDDIR') (/hello.c))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (C {($ VSub_DollarName '$CC')} {(-o)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/hello))} {(DQ ($ VSub_DollarName '$BUILDDIR') (/hello.c))} ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (C {(KW_Set set)} {(Lit_Other '+') (x)}) (command.Simple words: [{(echo)} {(DQ ("fatal: the C compiler doesn't work"))}] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.Simple words: [ {(echo)} { (DQ ( 'info: did you install MacPorts and run: sudo port install gcc44' ) ) } ] redirects: [ (redir.Redir op: <Redir_GreatAnd '>&'> fd: 16777215 arg_word: {(2)} ) ] ) ] ) ] ) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {(2)} ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$STRIP')} {(DQ ($ VSub_DollarName '$BUILDDIR') (/hello))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(local)} {(Lit_VarLike 'OUT=') (DQ (command_sub left_token: <Left_DollarParen '$('> command_list: (command.CommandList children: [(C {(DQ ($ VSub_DollarName '$BUILDDIR') (/hello))})] ) ) ) } ) (C {(test)} {(DQ ($ VSub_QMark '$?'))} {(Lit_Equals '=')} {(0)}) (C {(test)} {(DQ ($ VSub_DollarName '$OUT'))} {(Lit_Equals '=')} {(DQ ('Hello, World!'))}) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} { (DQ (braced_var_sub token: <VSub_Name PYTHONTBZ2> suffix_op: (suffix_op.Unary op_id: VOp1_Percent arg_word: {(.xz)} ) ) ) } {(KW_Bang '!') (Lit_Equals '=')} {(DQ (${ VSub_Name PYTHONTBZ2))} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Pipeline children: [ (command.Simple words: [{(xz)} {(-d)}] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(../) (DQ ($ VSub_DollarName '$PYTHONTBZ2'))} ) ] ) (C {(tar)} {(xv)}) ] negated: F ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../) (DQ ($ VSub_DollarName '$PYTHONTBZ2'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(-d)} {(Python-) (Lit_Star '*')}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(Python-) (Lit_Star '*') (/) (Lit_Star '*')} {(.)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(-d)} {(python-) (Lit_Star '*')}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(python-) (Lit_Star '*') (/) (Lit_Star '*')} {(.)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(-d)} {(stackless-) (Lit_Star '*')}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(stackless-) (Lit_Star '*') (/) (Lit_Star '*')} {(.)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} {(SQ <'s@^(Parser/pgenmain[.]o:)@disabled_$1@'>)} {(Makefile.pre.in)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../../greenlet-0.3.1.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$IS_PY3'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{($ VSub_DollarName '$PATCH')} {(-p0)}] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(../../greenlet-0.3.1-pycapsule.patch)} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(-p)} {(advzip)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(advzip)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../../advzip.darwin.inst.tbz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../../advzip.inst.tbz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(cp)} {(-f)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/config.guess.fake))} {(DQ ($ VSub_DollarName '$BUILDDIR') (/config.guess))} ) ] ) ) (command.ShFunction name: initdeps body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(builddeps)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(extractinsts)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ) (command.ShFunction name: builddeps body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(buildlibz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(buildlibbz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(buildlibreadline)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(buildlibsqlite3)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(buildlibevent2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildlibbz2 body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(bzip2-1.0.6)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../bzip2-1.0.6.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(bzip2-1.0.6)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-g(?!\\S)@@g, s@\\s-O\\d*(?!\\S)@ -O3@g if s@^CFLAGS\\s*=@CFLAGS = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(Lit_VarLike 'CC=') (DQ ($ VSub_DollarName '$CC'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libbz2.a)} {(../build-lib/libbz2-staticpython.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(bzlib.h)} {(../build-include/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildlibtc body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$USE_TC'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(tokyocabinet-1.4.47)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../tokyocabinet-1.4.47.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(tokyocabinet-1.4.47)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} {(SQ <'s@^ *(LIBS="-l(?:z|bz2))@$1-staticpython @'>)} {(configure)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} {(SQ <'s@nanl\\([^()]*\\)@NAN@g'>)} {(Lit_Star '*') (.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(./configure)} {(--prefix) (Lit_Equals '=') (/dev/null/missing)} {(--disable-shared)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-g(?!\\S)@@g, s@\\s-O\\d*(?!\\S)@ -O2@g if s@^CFLAGS\\s*=@CFLAGS = @; s@ -I\\S+@ @g, s@=@= -I.@ if s@^CPPFLAGS\\s*=\\s*@CPPFLAGS = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(libtokyocabinet.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$RANLIB')} {(libtokyocabinet.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libtokyocabinet.a)} {(../build-lib/libtokyocabinet-staticpython.a)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(tc) (Lit_Star '*') (.h)} {(../build-include/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildlibreadline body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(readline-5.2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../readline-5.2.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(readline-5.2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(./configure)} {(--disable-shared)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-g(?!\\S)@@g, s@\\s-O\\d*(?!\\S)@ -O2@g if s@^CFLAGS\\s*=@CFLAGS = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(make)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libreadline.a)} {(../build-lib/libreadline-staticpython.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(../build-include/readline)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(../build-include/readline)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(rlstdc.h)} {(rltypedefs.h)} {(keymaps.h)} {(tilde.h)} {(readline.h)} {(history.h)} {(chardefs.h)} {(../build-include/readline/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildlibsqlite3 body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(sqlite-amalgamation-3070603)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(unzip)} {(../sqlite-amalgamation-3070603.zip)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(sqlite-amalgamation-3070603)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$CC')} {(-c)} {(-O2)} {(-DSQLITE_ENABLE_STAT2)} {(-DSQLITE_ENABLE_FTS3)} {(-DSQLITE_ENABLE_FTS4)} {(-DSQLITE_ENABLE_RTREE)} {(-W)} {(-Wall)} {(sqlite3.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$AR')} {(cr)} {(libsqlite3.a)} {(sqlite3.o)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$RANLIB')} {(libsqlite3.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libsqlite3.a)} {(../build-lib/libsqlite3-staticpython.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(sqlite3.h)} {(../build-include/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildlibz body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(zlib-1.2.5)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../zlib-1.2.5.tar.bz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(zlib-1.2.5)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(./configure)} {(--static)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-g(?!\\S)@@g, s@\\s-O\\d*(?!\\S)@ -O3@g if s@^CFLAGS\\s*=@CFLAGS = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(make)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libz.a)} {(../build-lib/libz-staticpython.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(zconf.h)} {(zlib.h)} {(../build-include/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildlibssl body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$USE_SSL'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(openssl-0.9.8zh.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../openssl-0.9.8zh.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(openssl-0.9.8zh)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Linux)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(./Configure)} {(no-shared)} {(linux-elf)} {(no-dso)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(./Configure)} {(no-shared)} {(darwin-i386-cc)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s(?:-g|-arch\\s+\\S+)(?!\\S)@@g, s@\\s-O\\d*(?!\\S)@ -O2@g, s@\\s-D(DSO_DLFCN|HAVE_DLFCN_H)(?!\\S)@@g if s@^CFLAG\\s*=\\s*@CFLAG = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(ln)} {(-s)} {(.)} {(crypto/des/asm/perlasm)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(build_libs)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libssl.a)} {(../build-lib/libssl-staticpython.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libcrypto.a)} {(../build-lib/libcrypto-staticpython.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(../build-include/openssl)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(include/openssl/) (Lit_Star '*') (.h)} {(../build-include/openssl/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildlibevent2 body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(libevent-2.0.16-stable)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(build-include/event2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(build-lib/libevent) (Lit_Star '*')}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../libevent-2.0.16-stable.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(libevent-2.0.16-stable)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(local)} {(Lit_VarLike 'SSL_FLAGS=') (--disable-openssl)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$USE_SSL'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:SSL_FLAGS) op: Equal rhs: {(--enable-openssl)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@^for ac_lib in \\x27\\x27 ssl;@for ac_lib in \\x27\\x27 \\x27ssl-staticpython -lcrypto-staticpython\\x27;@;\n' > <' s@ -lcrypto(?= )@ -lcrypto-staticpython@g'> ) } {(configure)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(./configure)} {($ VSub_DollarName '$SSL_FLAGS')} {(--disable-debug-mode)} {(--disable-shared)} {(--disable-libevent-regress)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$USE_SSL'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(grep)} {(SQ <'^#define HAVE_OPENSSL 1$'>)} {(config.h)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) (C {(cp)} {(-f)} {(../config.guess.fake)} {(config.guess)}) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-g(?!\\S)@@g, s@\\s-O\\d*(?!\\S)@ -O2@g if s@^CFLAGS\\s*=@CFLAGS = @' > ) } {(Makefile)} {(Lit_Star '*') (/Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(./include/event2/event-config.h)} {(libevent_core.la)} {(libevent.la)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$AR')} {(cr)} {(libevent_evhttp.a)} {(bufferevent_sock.o)} {(http.o)} {(listener.o)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$RANLIB')} {(libevent_evhttp.a)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(.libs/libevent_core.a)} {(../build-lib/libevent_core-staticpython.a)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(libevent_evhttp.a)} {(../build-lib/libevent_evhttp-staticpython.a)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(../build-include/event2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(include/event2/) (Lit_Star '*') (.h)} {(../build-include/event2/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: extractinsts body: (command.BraceGroup children: [ (command.ForEach iter_name: INSTTBZ2 iter_words: [{($ VSub_DollarName '$INSTS')}] do_arg_iter: F body: (command.DoGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} { (DQ ($ VSub_DollarName '$BUILDDIR') (/cross-compiler-i686)) } ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../../) (DQ ($ VSub_DollarName '$INSTTBZ2'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Linux)}) terminator: <Op_Semi ';'> ) ] action: [ (C {(ln)} {(-s)} {(cross-compiler-i686/lib)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/build-lib))} ) (C {(ln)} {(-s)} {(cross-compiler-i686/include)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/build-include))} ) ] ) ] ) ] ) ) (command.ShFunction name: configure body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(perl)} {(-pi)} {(-e)} {(SQ <'$_="" if /ASDLGEN/'>)} {(Makefile.pre.in)}) (C {(local)} {(Lit_VarLike 'REGSFLAGS=')}) (command.AndOr ops: [Op_DAmp] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:REGSFLAGS) op: Equal rhs: {(--enable-stacklessfewerregisters)} ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(./configure)} {(--disable-shared)} {(--disable-ipv6)} {($ VSub_DollarName '$REGSFLAGS')} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(fixmakefile)}) ] ) ) (command.ShFunction name: fixsemaphore body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Linux)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi)} {(-e)} { (SQ < 's@^#define POSIX_SEMAPHORES_NOT_ENABLED 1$@/* #undef POSIX_SEMAPHORES_NOT_ENABLED */@' > ) } {(pyconfig.h)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: fixmakefile body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-(?:ldl|framework\\s+CoreFoundation)(?!\\S)@@g if s@^LIBS\\s*=@LIBS = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-(?:g|O\\d*)(?!\\S)@@g, s@$@ -O2@ if s@^OPT\\s*=@OPT = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-(?:g|O\\d*)(?!\\S)@@g, s@$@ -O2@ if s@^SLPFLAGS\\s*=@SLPFLAGS = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@\\s-g(?!\\S)@@g, s@\\s-O\\d*(?!\\S)@@g if s@^CFLAGS\\s*=@CFLAGS = @' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$IS_PY3'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (C {(grep)} {(SQ <'@SLPFLAGS@'>)} {(Makefile)}) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [(C {(Lit_Other ':')})] ) (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's~\\@SLPFLAGS\\@~-fomit-frame-pointer -DSTACKLESS_FRHACK=1 -O2~g' > ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ <'s~\\@SLPFLAGS\\@~-fno-omit-frame-pointer -O2~g'> ) } {(Makefile)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchsetup body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$IS_PY3'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(Modules.Setup.3.2.static)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/Setup))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(Modules.Setup.2.7.static)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/Setup))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ) (command.ShFunction name: fixsetup body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ <'\n'> <' s@\\s-lncurses\\S*@ -lncurses.5@g;\n'> < ' s@^(?:_locale|spwd)(?!\\S)@#@; s@\\s-(?:lcrypt|lm)(?!\\S)@@g;\n' > <' s@\\s-(lz|lsqlite3|lreadline|lbz2)(?!\\S)@ -$1-staticpython@g;\n'> <' '> ) } {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/Setup))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} {(SQ <'s@\\s-(levent_core|levent_evhttp)(?!\\S)@ -$1-staticpython@g'>)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/Setup))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(sleep)} {(2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(touch)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/Setup))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(Makefile)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(fixmakefile)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$IS_PY3'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(grep)} {(SQ <'^_thread '>)} {(Modules/Setup.config)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(grep)} {(SQ <signal>)} {(Modules/Setup.config)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ] ) ) (command.ShFunction name: patchimport body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} { (SQ < 's@#ifdef HAVE_DYNAMIC_LOADING(?!_NOT)@#ifdef HAVE_DYNAMIC_LOADING_NOT /* StaticPython */@g' > ) } {(DQ ($ VSub_DollarName '$BUILDDIR')) (/Python/import.c)} {(DQ ($ VSub_DollarName '$BUILDDIR')) (/Python/importdl.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchgetpath body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-0777)} {(-e)} { (SQ < 's@\\s+static\\s+void\\s+calculate_path(?! )\\s*\\(\\s*void\\s*\\)\\s*{@\\n\\nstatic void calculate_path(void); /* StaticPython */\\nstatic void calculate_path_not(void) {@g' > ) } {(DQ ($ VSub_DollarName '$BUILDDIR')) (/Modules/getpath.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (C {(grep)} {(-q)} {(StaticPython-appended)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/getpath.c))} ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$IS_PY3'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{(cat)} {(calculate_path.3.2.c)}] redirects: [ (redir.Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: { (DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/getpath.c)) } ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{(cat)} {(calculate_path.2.7.c)}] redirects: [ (redir.Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/getpath.c))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ] ) ] ) ) (command.ShFunction name: patchsqlite body: (command.BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (C {(grep)} {(SQ <'^#define MODULE_NAME '>)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/_sqlite/util.h))} ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-0777)} {(-e)} { (SQ < 's@\\n#define PYSQLITE_UTIL_H\\n@\\n#define PYSQLITE_UTIL_H\\n#define MODULE_NAME "_sqlite3" /* StaticPython */\\n@' > ) } {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/_sqlite/util.h))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) (command.ForEach iter_name: F iter_words: [ {(DQ ($ VSub_DollarName '$BUILDDIR') (/Modules/_sqlite/)) (Lit_Star '*') (.c)} ] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (C {(grep)} {(-q)} {(SQ <'^#include "util.h"'>)} {(DQ ($ VSub_DollarName '$F'))} ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-0777)} {(-e)} {(SQ <'s@\\A@#include "util.h" /* StaticPython */\\n@'>)} {(DQ ($ VSub_DollarName '$F'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ] ) ) ] ) ) (command.ShFunction name: generate_loader_py body: (command.BraceGroup children: [ (C {(local)} {(Lit_VarLike 'CEXT_MODNAME=') (DQ ($ VSub_Number '$1'))}) (C {(local)} {(Lit_VarLike 'PY_MODNAME=') (DQ ($ VSub_Number '$2'))}) (C {(local)} {(Lit_VarLike 'PY_FILENAME=') (DQ (Lib/) (braced_var_sub token: <VSub_Name PY_MODNAME> suffix_op: (suffix_op.PatSub pat: {(.)} replace: {(Lit_Slash /)} replace_mode: Lit_Slash ) ) (.py) ) } ) (C {(Lit_Other ':')} {(Generating)} {(loader)} {(DQ ($ VSub_DollarName '$PY_FILENAME'))}) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [ {(echo)} { (DQ ('import sys; import ') ($ VSub_DollarName '$CEXT_MODNAME') ('; sys.modules[__name__] = ') ($ VSub_DollarName '$CEXT_MODNAME') ) } ] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$PY_FILENAME'))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patch_and_copy_cext body: (command.BraceGroup children: [ (C {(local)} {(Lit_VarLike 'SOURCE_C=') (DQ ($ VSub_Number '$1'))}) (C {(local)} {(Lit_VarLike 'TARGET_C=') (DQ ($ VSub_Number '$2'))}) (C {(local)} {(Lit_VarLike 'CEXT_MODNAME=') (DQ (braced_var_sub token: <VSub_Name TARGET_C> suffix_op: (suffix_op.Unary op_id:VOp1_Percent arg_word:{(.c)}) ) ) } ) (C {(export)} {(Lit_VarLike 'CEXT_MODNAME=') (DQ (braced_var_sub token: <VSub_Name CEXT_MODNAME> suffix_op: (suffix_op.Unary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) ) ) } ) (C {(export)} {(Lit_VarLike 'CEXT_MODNAME=') (DQ (braced_var_sub token: <VSub_Name CEXT_MODNAME> suffix_op: (suffix_op.PatSub pat:{(._)} replace:{(_)} replace_mode:Lit_Slash) ) ) } ) (C {(export)} {(Lit_VarLike 'CEXT_MODNAME=') (DQ (braced_var_sub token: <VSub_Name CEXT_MODNAME> suffix_op: (suffix_op.PatSub pat:{(.)} replace:{(_)} replace_mode:Lit_Slash) ) ) } ) (C {(export)} {(Lit_VarLike 'CEXT_MODNAME=') (_) (DQ (braced_var_sub token: <VSub_Name CEXT_MODNAME> suffix_op: (suffix_op.Unary op_id:VOp1_Pound arg_word:{(_)}) ) ) } ) (C {(Lit_Other ':')} {(Copying)} {(and)} {(patching)} {(DQ ($ VSub_DollarName '$SOURCE_C'))} {(to)} {(DQ ($ VSub_DollarName '$TARGET_C')) (Lit_Comma ',')} {(Lit_VarLike 'CEXT_MODNAME=') (DQ ($ VSub_DollarName '$CEXT_MODNAME'))} ) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [ {(perl)} {(-0777)} {(-pe)} { (SQ <'\n'> <' s@^(PyMODINIT_FUNC)\\s+\\w+\\(@$1 init$ENV{CEXT_MODNAME}(@mg;\n'> <' s@( Py_InitModule\\d*)\\(\\s*"\\w[\\w.]*",@$1("$ENV{CEXT_MODNAME}",@g;\n'> <' # Cython version of the one below.\n'> <' s@( Py_InitModule\\d*\\(\\s*__Pyx_NAMESTR\\()"\\w[\\w.]*"\\),@$1"$ENV{CEXT_MODNAME}"),@g;\n'> <' # For PyCrypto.\n'> < ' s@^[ \\t]*(#[ \\t]*define\\s+MODULE_NAME\\s+\\S+)@#define MODULE_NAME $ENV{CEXT_MODNAME}@mg;\n' > < ' s@^[ \\t]*(#[ \\t]*define\\s+MODULE_NAME\\s+\\S+.*triple DES.*)@#define MODULE_NAME _Crypto_Cipher_DES3@mg;\n' > <' '> ) } ] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$SOURCE_C'))} ) (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$TARGET_C'))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: enable_module body: (command.BraceGroup children: [ (C {(local)} {(Lit_VarLike 'CEXT_MODNAME=') (DQ ($ VSub_Number '$1'))}) (C {(export)} {(CEXT_MODNAME)}) (C {(Lit_Other ':')} {(Enabling)} {(module) (Lit_Other ':')} {(DQ ($ VSub_DollarName '$CEXT_MODNAME'))} ) (command.AndOr ops: [Op_DPipe] children: [ (C {(grep)} {(-qE)} {(DQ ('^#?') ($ VSub_DollarName '$CEXT_MODNAME') (' '))} {(Modules/Setup)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-0777)} {(-pi)} {(-e)} {(SQ <'s@^#$ENV{CEXT_MODNAME} @$ENV{CEXT_MODNAME} @mg'>)} {(Modules/Setup)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchssl body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$USE_SSL'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_ssl)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_hashlib)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchsyncless body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(syncless-) (Lit_Star '*')} {(syncless.dir)} {(Lib/syncless)} {(Modules/syncless)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../syncless-0.25.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(syncless-0.25)} {(syncless.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/syncless)} {(Modules/syncless)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(syncless.dir/syncless/) (Lit_Star '*') (.py)} {(Lib/syncless/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_syncless_coio)} {(syncless.coio)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(syncless.dir/coio_src/coio.c)} {(Modules/syncless/_syncless_coio.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(syncless.dir/coio_src/coio_minihdns.c)} {(syncless.dir/coio_src/coio_minihdns.h)} {(syncless.dir/coio_src/coio_c_) (Lit_Star '*') (.h)} {(Modules/syncless/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_syncless_coio)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchgevent body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(gevent-) (Lit_Star '*')} {(gevent.dir)} {(Lib/gevent)} {(Modules/gevent)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../gevent-0.13.6.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(gevent-0.13.6)} {(gevent.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/gevent)} {(Modules/gevent)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(gevent.dir/gevent/) (Lit_Star '*') (.py)} {(Lib/gevent/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-f)} {(gevent.dir/gevent/win32util.py)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_gevent_core)} {(gevent.core)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(gevent.dir/gevent/core.c)} {(Modules/gevent/_gevent_core.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{(cat)}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(Modules/gevent/libevent.h)} ) (redir.HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(SQ <END>)} here_end_span_id: 5997 stdin_parts: [ ('/**** pts ****/\n') ('#include "sys/queue.h"\n') ('#define LIBEVENT_HTTP_MODERN\n') ('#include "event2/event.h"\n') ('#include "event2/event_struct.h"\n') ('#include "event2/event_compat.h"\n') ('#include "event2/http.h"\n') ('#include "event2/http_compat.h"\n') ('#include "event2/http_struct.h"\n') ('#include "event2/buffer.h"\n') ('#include "event2/buffer_compat.h"\n') ('#include "event2/dns.h"\n') ('#include "event2/dns_compat.h"\n') ('#define EVBUFFER_DRAIN evbuffer_drain\n') ('#define EVHTTP_SET_CB evhttp_set_cb\n') ( '#define EVBUFFER_PULLUP(BUF, SIZE) evbuffer_pullup(BUF, SIZE)\n' ) ('#define current_base event_global_current_base_\n') ('#define TAILQ_GET_NEXT(X) TAILQ_NEXT((X), next)\n') ('extern void *current_base;\n') ] ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_gevent_core)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchgeventmysql body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(geventmysql-) (Lit_Star '*')} {(geventmysql.dir)} {(Lib/geventmysql)} {(Modules/geventmysql)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../geventmysql-20110201.tbz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(gevent-MySQL)} {(geventmysql.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/geventmysql)} {(Modules/geventmysql)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(geventmysql.dir/lib/geventmysql/) (Lit_Star '*') (.py)} {(Lib/geventmysql/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_geventmysql_mysql)} {(geventmysql._mysql)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(geventmysql.dir/lib/geventmysql/geventmysql._mysql.c)} {(Modules/geventmysql/geventmysql._mysql.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_geventmysql_mysql)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: run_pyrexc body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [ {(DQ ($ VSub_DollarName '$PBUILDDIR')) (/minipython)} {(-S)} {(-W)} {(ignore) (Lit_Other ':') (Lit_Other ':') (DeprecationWarning)} {(-c)} {(DQ ('from Pyrex.Compiler.Main import main; main(command_line=1)'))} {(DQ ($ VSub_At '$@'))} ] more_env: [ (env_pair name: PYTHONPATH val: { (DQ ($ VSub_DollarName '$PBUILDDIR') ('/Lib:') ($ VSub_DollarName '$PWD') (/pyrex.dir) ) } ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: run_mkzip body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-f)} {(DQ ($ VSub_Number '$1'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(DQ ($ VSub_DollarName '$PBUILDDIR') (/advzip/bin/advzip))} {(-a)} {(-4)} {(DQ ($ VSub_At '$@'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: old_run_mkzip body: (command.BraceGroup children: [ (C {(local)} {(Lit_VarLike 'PYTHON=') (DQ ($ VSub_DollarName '$PBUILDDIR')) (/python.exe)} ) (command.AndOr ops: [Op_DAmp] children: [ (C {(test)} {(-f)} {(DQ ($ VSub_DollarName '$PBUILDDIR')) (/minipython)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PYTHON) op: Equal rhs: {(DQ ($ VSub_DollarName '$PBUILDDIR')) (/minipython)} ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [ {(DQ ($ VSub_DollarName '$PYTHON'))} {(-S)} {(-c)} { (SQ <'if 1:\n'> <' import os\n'> <' import os.path\n'> <' import stat\n'> <' import sys\n'> <' import zipfile\n'> <' def All(filename):\n'> <' s = os.lstat(filename)\n'> <' assert not stat.S_ISLNK(s.st_mode), filename\n'> <' if stat.S_ISDIR(s.st_mode):\n'> <' for entry in os.listdir(filename):\n'> <' for filename2 in All(os.path.join(filename, entry)):\n'> <' yield filename2\n'> <' else:\n'> <' yield filename\n'> <' zip_filename = sys.argv[1]\n'> <' zipfile.zlib.Z_DEFAULT_COMPRESSION = 9 # Maximum effort.\n'> < ' z = zipfile.ZipFile(zip_filename, "w", compression=zipfile.ZIP_DEFLATED)\n' > <' for filename in sys.argv[2:]:\n'> <' for filename2 in All(filename):\n'> <' z.write(filename2)\n'> <' z.close()'> ) } {(DQ ($ VSub_At '$@'))} ] more_env: [ (env_pair name: PYTHONPATH val: {(DQ ($ VSub_DollarName '$PBUILDDIR') (/Lib))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchpythontokyocabinet body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$USE_TC'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(python-tokyocabinet-) (Lit_Star '*')} {(tokyocabinet.dir)} {(Lib/tokyocabinet)} {(Modules/tokyocabinet)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../python-tokyocabinet-20111221.tar.bz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(python-tokyocabinet-20111221)} {(tokyocabinet.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/tokyocabinet)} {(Modules/tokyocabinet)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} {(tokyocabinet.dir/tokyocabinet)}) (command.Simple words: [{($ VSub_DollarName '$PATCH')} {(-p0)}] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(../../../tokyocabinet_hash_c.patch)} ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(tokyocabinet.dir/tokyocabinet/) (Lit_Star '*') (.py)} {(Lib/tokyocabinet/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(local)} {(M)}) (command.ForEach iter_name: M iter_words: [{(btree)} {(hash)} {(table)}] do_arg_iter: F body: (command.DoGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(tokyocabinet.dir/tokyocabinet/) ($ VSub_DollarName '$M') (.c) } {(Modules/tokyocabinet/_tokyocabinet_) ($ VSub_DollarName '$M') (.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_tokyocabinet_) ($ VSub_DollarName '$M')} {(tokyocabinet.) ($ VSub_DollarName '$M')} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_tokyocabinet_) ($ VSub_DollarName '$M')} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchpythonlmdb body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$USE_LMDB'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(lmdb-) (Lit_Star '*')} {(lmdb.dir)} {(Lib/lmdb)} {(Modules/lmdb)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../lmdb-0.92.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(lmdb-0.92)} {(lmdb.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/lmdb)} {(Modules/lmdb)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.Simple words: [ {(echo)} { (SQ <'from _lmdb_cpython import *\n'> <'from _lmdb_cpython import open\n'> <'from _lmdb_cpython import __all__'> ) } ] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(Lib/lmdb/__init__.py)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(lmdb.dir/lmdb/tool.py)} {(Lib/lmdb/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(lmdb.dir/lib/mdb.c)} {(Modules/lmdb/lmdb_mdb.c)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(lmdb.dir/lib/midl.c)} {(Modules/lmdb/lmdb_midl.c)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-pi) (Lit_TildeLike '~')} {(-e)} {(SQ <'s@(pthread_mutexattr_setpshared\\()@0&&$1@g'>)} {(Modules/lmdb/lmdb_mdb.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(lmdb.dir/lmdb/cpython.c)} {(Modules/lmdb/_lmdb_cpython.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_lmdb_cpython)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: extractpyrex body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(rm)} {(-rf)} {(pyrex.dir)}) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../Pyrex-0.9.9.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(Pyrex-0.9.9)} {(pyrex.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchmsgpack body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_XX'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(msgpack-) (Lit_Star '*')} {(msgpack.dir)} {(Lib/msgpack)} {(Modules/msgpack)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xjvf)} {(../msgpack-python-20111221.tar.bz2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(msgpack-python-20111221)} {(msgpack.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(local)} {(Lit_VarLike 'VERSION=') (command_sub left_token: <Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {(grep)} {(SQ <'^version = '>)} {(msgpack.dir/setup.py)}) ] ) ) } ) (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$VERSION'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} {(msgpack.dir/msgpack)}) (command.Simple words: [{($ VSub_DollarName '$PATCH')} {(-p0)}] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(../../../msgpack_pyx.patch)} ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(msgpack.dir/msgpack/_msgpack.pyx)} {(msgpack.dir/msgpack/_msgpack_msgpack.pyx)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(run_pyrexc)} {(msgpack.dir/msgpack/_msgpack_msgpack.pyx)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/msgpack)} {(Modules/msgpack)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{(echo)} {(DQ ($ VSub_DollarName '$VERSION'))}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(Lib/msgpack/__version__.py)} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(msgpack.dir/msgpack/__init__.py)} {(Lib/msgpack/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(msgpack.dir/msgpack/_msgpack_msgpack.c)} {(msgpack.dir/msgpack/) (Lit_Star '*') (.h)} {(Modules/msgpack/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_msgpack_msgpack)} {(msgpack._msgpack)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_msgpack_msgpack)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchconcurrence body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(concurrence-) (Lit_Star '*')} {(concurrence.dir)} {(Lib/concurrence)} {(Modules/concurrence)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../concurrence-0.3.1.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(concurrence-0.3.1)} {(concurrence.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/concurrence)} {(Modules/concurrence)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Pipeline children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} {(concurrence.dir/lib)}) (C {(tar)} {(c)} { (command_sub left_token: <Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {(find)} {(concurrence)} {(-type)} {(f)} {(-iname)} {(SQ <'*.py'>)} ) ] ) ) } ) ] ) ] ) ) (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [(C {(cd)} {(Lib)}) (C {(tar)} {(x)})] ) ] ) ) ] negated: F ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_concurrence_event)} {(concurrence._event)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.Simple words: [{(cat)}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(Modules/concurrence/event.h)} ) (redir.HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(SQ <END>)} here_end_span_id: 7445 stdin_parts: [ ('/**** pts ****/\n') ('#include <event2/event.h>\n') ('#include <event2/event_struct.h>\n') ('#include <event2/event_compat.h>\n') ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(run_pyrexc)} {(concurrence.dir/lib/concurrence/concurrence._event.pyx)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(concurrence.dir/lib/concurrence/concurrence._event.c)} {(Modules/concurrence/concurrence._event.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_concurrence_event)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_concurrence_io_io)} {(concurrence.io._io)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(run_pyrexc)} {(concurrence.dir/lib/concurrence/io/concurrence.io._io.pyx)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(concurrence.dir/lib/concurrence/io/concurrence.io._io.c)} {(Modules/concurrence/concurrence.io._io.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(concurrence.dir/lib/concurrence/io/io_base.c)} {(concurrence.dir/lib/concurrence/io/io_base.h)} {(Modules/concurrence/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_concurrence_io_io)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_concurrence_database_mysql_mysql)} {(concurrence.database.mysql._mysql)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(run_pyrexc)} {(-I)} {(concurrence.dir/lib/concurrence/io)} { ( concurrence.dir/lib/concurrence/database/mysql/concurrence.database.mysql._mysql.pyx ) } ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} { ( concurrence.dir/lib/concurrence/database/mysql/concurrence.database.mysql._mysql.c ) } {(Modules/concurrence/concurrence.database.mysql._mysql.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_concurrence_database_mysql_mysql)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchpycrypto body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(pycrypto-) (Lit_Star '*')} {(pycrypto.dir)} {(Lib/Crypto)} {(Modules/pycrypto)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../pycrypto-2.3.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(pycrypto-2.3)} {(pycrypto.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/Crypto)} {(Modules/pycrypto)} {(Modules/pycrypto/libtom)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Pipeline children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} {(pycrypto.dir/lib)}) (C {(tar)} {(c)} { (command_sub left_token: <Left_DollarParen '$('> command_list: (command.CommandList children: [ (C {(find)} {(Crypto)} {(-type)} {(f)} {(-iname)} {(SQ <'*.py'>)} ) ] ) ) } ) ] ) ] ) ) (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [(C {(cd)} {(Lib)}) (C {(tar)} {(x)})] ) ] ) ) ] negated: F ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(ln)} {(-s)} {(_Crypto_Cipher_DES.c)} {(Modules/pycrypto/DES.c)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(pycrypto.dir/src/hash_template.c)} {(pycrypto.dir/src/block_template.c)} {(pycrypto.dir/src/stream_template.c)} {(pycrypto.dir/src/pycrypto_compat.h)} {(pycrypto.dir/src/_counter.h)} {(pycrypto.dir/src/Blowfish-tables.h)} {(pycrypto.dir/src/cast5.c)} {(Modules/pycrypto/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(pycrypto.dir/src/libtom/tomcrypt_des.c)} {(pycrypto.dir/src/libtom/) (Lit_Star '*') (.h)} {(Modules/pycrypto/libtom/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(local)} {(M)} {(CEXT_MODNAME)}) (command.ForEach iter_name: M iter_words: [ {(Crypto.Hash.MD2)} {(Crypto.Hash.MD4)} {(Crypto.Hash.SHA256)} {(Crypto.Hash.RIPEMD160)} {(Crypto.Cipher.AES)} {(Crypto.Cipher.ARC2)} {(Crypto.Cipher.Blowfish)} {(Crypto.Cipher.CAST)} {(Crypto.Cipher.DES)} {(Crypto.Cipher.DES3)} {(Crypto.Cipher.ARC4)} {(Crypto.Cipher.XOR)} {(Crypto.Util.strxor)} {(Crypto.Util._counter)} ] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CEXT_MODNAME) op: Equal rhs: { (DQ (braced_var_sub token: <VSub_Name M> suffix_op: (suffix_op.Unary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) ) ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CEXT_MODNAME) op: Equal rhs: { (DQ (braced_var_sub token: <VSub_Name CEXT_MODNAME> suffix_op: (suffix_op.PatSub pat: {(._)} replace: {(_)} replace_mode: Lit_Slash ) ) ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CEXT_MODNAME) op: Equal rhs: { (DQ (braced_var_sub token: <VSub_Name CEXT_MODNAME> suffix_op: (suffix_op.PatSub pat: {(.)} replace: {(_)} replace_mode: Lit_Slash ) ) ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CEXT_MODNAME) op: Equal rhs: {(_) (DQ (braced_var_sub token: <VSub_Name CEXT_MODNAME> suffix_op: (suffix_op.Unary op_id: VOp1_Pound arg_word: {(_)} ) ) ) } ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(DQ ($ VSub_DollarName '$CEXT_MODNAME'))} {(DQ ($ VSub_DollarName '$M'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} { (DQ (pycrypto.dir/src/) (braced_var_sub token: <VSub_Name M> suffix_op: (suffix_op.Unary op_id: VOp1_DPound arg_word: {('*.')} ) ) (.c) ) } {(Modules/pycrypto/) (DQ ($ VSub_DollarName '$CEXT_MODNAME')) (.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(DQ ($ VSub_DollarName '$CEXT_MODNAME'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-0777)} {(-pi)} {(-e)} {(SQ <'s@ Py_InitModule\\("Crypto[.]\\w+[.]"@ Py_InitModule(""@g'>)} {(Modules/pycrypto/hash_template.c)} {(Modules/pycrypto/stream_template.c)} {(Modules/pycrypto/block_template.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchaloaes body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(aloaes-) (Lit_Star '*')} {(aloaes.dir)} {(Lib/aes)} {(Modules/aloaes)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(tar)} {(xzvf)} {(../alo-aes-0.3.tar.gz)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(alo-aes-0.3)} {(aloaes.dir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(Lib/aes)} {(Modules/aloaes)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(aloaes.dir/aes/) (Lit_Star '*') (.py)} {(Lib/aes/)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(generate_loader_py)} {(_aes_aes)} {(aes._aes)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(patch_and_copy_cext)} {(aloaes.dir/aes/aesmodule.c)} {(Modules/aloaes/_aes_aes.c)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(aloaes.dir/aes/rijndael-alg-fst.c)} {(aloaes.dir/aes/rijndael-alg-fst.h)} {(Modules/aloaes/)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(enable_module)} {(_aes_aes)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: patchlocale body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$IS_PY3'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} {(Lib)}) (command.Simple words: [ {($ VSub_DollarName '$PATCH')} {(-p1)} ] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(../../locale.darwin.3.2.patch)} ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} {(Lib)}) (command.Simple words: [ {($ VSub_DollarName '$PATCH')} {(-p1)} ] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {(../../locale.darwin.2.7.patch)} ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: makeminipython body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(DQ ($ VSub_DollarName '$IS_CO'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(0)} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(python.exe)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(-f)} {(python.exe)} {(minipython)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(python)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(-f)} {(python)} {(minipython)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$STRIP')} {(minipython)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: makepython body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(python.exe)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(make)} {(python)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-f)} {(python.exe)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(ln)} {(-s)} {(python)} {(python.exe)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildpythonlibzip body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (C {(KW_Set set)} {(-ex)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:IFS) op: Equal rhs: {(SQ <'\n'>)} ) ] ) (command.AndOr ops: [Op_DPipe Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$BUILDDIR'))}) (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(test)} {(-f)} {(xlib.zip)}) (C {(mv)} {(xlib.zip)} {(xlib.zip.old)}) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(xlib)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(-R)} {(Lib)} {(xlib)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-f)} { (command_sub left_token: <Left_DollarParen '$('> command_list: (command.CommandList children: [(C {(find)} {(xlib)} {(-iname)} {(SQ <'*.pyc'>)})] ) ) } ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(rm)} {(-f)} {(xlib/plat-) (Lit_Star '*') (/regen)}) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(xlib/email/test)} {(xlib/bdddb)} {(xlib/ctypes)} {(xlib/distutils)} {(xlib/idlelib)} {(xlib/lib-tk)} {(xlib/lib2to3)} {(xlib/msilib)} {(xlib/plat-aix) (Lit_Star '*')} {(xlib/plat-atheos)} {(xlib/plat-beos) (Lit_Star '*')} {(xlib/plat-freebsd) (Lit_Star '*')} {(xlib/plat-irix) (Lit_Star '*')} {(xlib/plat-unixware) (Lit_Star '*')} {(xlib/plat-mac)} {(xlib/plat-netbsd) (Lit_Star '*')} {(xlib/plat-next) (Lit_Star '*')} {(xlib/plat-os2) (Lit_Star '*')} {(xlib/plat-riscos)} {(xlib/plat-sunos) (Lit_Star '*')} {(xlib/site-packages) (Lit_Star '*')} {(xlib/sqlite3/test/) (Lit_Star '*')} {(xlib/turtle) (Lit_Star '*')} {(xlib/tkinter)} {(xlib/bsddb/test)} {(xlib/test)} {(xlib/) (Lit_Star '*') (.egg-info)} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Darwin)} ) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(xlib/plat-linux2)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-rf)} {(xlib/plat-darwin)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$IS_PY3'))}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(../site.3.2.py)} {(xlib/site.py)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(cd)} {(xlib)}) (command.Simple words: [{($ VSub_DollarName '$PATCH')} {(-p1)}] redirects: [ (redir.Redir op: <Redir_Less '<'> fd: 16777215 arg_word: { ( ../../encodings_idna_missing_unicodedata.3.2.patch ) } ) ] ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] else_action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(../site.2.7.py)} {(xlib/site.py)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(xlib)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-f)} {(Lit_Star '*') (Lit_TildeLike '~')} {(Lit_Star '*') (/) (Lit_Star '*') (Lit_TildeLike '~')} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(rm)} {(-f)} {(../xlib.zip)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(run_mkzip)} {(../xlib.zip)} {(Lit_Star '*')}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: do_elfosfix body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(perl)} {(-e) (SQ <'\n'> <'use integer;\n'> <'use strict;\n'> <'\n'> <'#** ELF operating system codes from FreeBSDs /usr/share/misc/magic\n'> <'my %ELF_os_codes=qw{\n'> <'SYSV 0\n'> <'HP-UX 1\n'> <'NetBSD 2\n'> <'GNU/Linux 3\n'> <'GNU/Hurd 4\n'> <'86Open 5\n'> <'Solaris 6\n'> <'Monterey 7\n'> <'IRIX 8\n'> <'FreeBSD 9\n'> <'Tru64 10\n'> <'Novell 11\n'> <'OpenBSD 12\n'> <'ARM 97\n'> <'embedded 255\n'> <'};\n'> <'my $from_oscode=$ELF_os_codes{"SYSV"};\n'> <'my $to_oscode=$ELF_os_codes{"GNU/Linux"};\n'> <'\n'> <'for my $fn (@ARGV) {\n'> <' my $f;\n'> <' if (!open $f, "+<", $fn) {\n'> <' print STDERR "$0: $fn: $!\\n";\n'> <' exit 2 # next\n'> <' }\n'> <' my $head;\n'> <' # vvv Imp: continue on next file instead of die()ing\n'> <' die if 8!=sysread($f,$head,8);\n'> <' if (substr($head,0,4)ne"\\177ELF") {\n'> <' print STDERR "$0: $fn: not an ELF file\\n";\n'> <' close($f); next;\n'> <' }\n'> <' if (vec($head,7,8)==$to_oscode) {\n'> <' print STDERR "$0: info: $fn: already fixed\\n";\n'> <' }\n'> <' if ($from_oscode!=$to_oscode && vec($head,7,8)==$from_oscode) {\n'> <' vec($head,7,8)=$to_oscode;\n'> <' die if 0!=sysseek($f,0,0);\n'> <' die if length($head)!=syswrite($f,$head);\n'> <' }\n'> <' die "file error\\n" if !close($f);\n'> <'}'> ) } {(--)} {(DQ ($ VSub_At '$@'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: buildtarget body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(DQ ($ VSub_DollarName '$BUILDDIR')) (/python.exe)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/) ($ VSub_DollarName '$TARGET'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {($ VSub_DollarName '$STRIP')} {(DQ ($ VSub_DollarName '$BUILDDIR') (/) ($ VSub_DollarName '$TARGET'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(DQ ($ VSub_DollarName '$UNAME'))} {(Lit_Equals '=')} {(Linux)}) terminator: <Op_Semi ';'> ) ] action: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(do_elfosfix)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/) ($ VSub_DollarName '$TARGET'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{(cat)} {(DQ ($ VSub_DollarName '$BUILDDIR')) (/xlib.zip)}] redirects: [ (redir.Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(DQ ($ VSub_DollarName '$BUILDDIR') (/) ($ VSub_DollarName '$TARGET'))} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(DQ ($ VSub_DollarName '$BUILDDIR') (/) ($ VSub_DollarName '$TARGET'))} {(DQ ($ VSub_DollarName '$TARGET'))} ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(ls)} {(-l)} {(DQ ($ VSub_DollarName '$TARGET'))}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: betry body: (command.BraceGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} {(-p)} {(bch)} {(be/bardir)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{(echo)} {(DQ ("print 'FOO'"))}] redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(be/foo.py)})] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (command.Simple words: [{(echo)} {(DQ ("print 'BAR'"))}] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(be/bardir/bar.py)} ) ] ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(DQ ($ VSub_DollarName '$TARGET'))} {(be/sp)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(cp)} {(DQ ($ VSub_DollarName '$TARGET'))} {(bch/sp)}) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) (C {(export)} {(Lit_VarLike 'PYTHONPATH=') (bardir)}) (C {(unset)} {(PYTHONHOME)}) (command.AndOr ops: [Op_DPipe] children: [ (command.Subshell command_list: (command.CommandList children: [ (command.AndOr ops: [Op_DAmp] children: [(C {(cd)} {(be)}) (C {(./sp)})] ) ] ) ) (command.ControlFlow token: <ControlFlow_Return return> arg_word: {(DQ ($ VSub_QMark '$?'))} ) ] ) ] ) ) (command.ShFunction name: fail_step body: (command.BraceGroup children: [ (C {(KW_Set set)} {(Lit_Other '+') (ex)}) (C {(echo)} {(DQ ('Failed in step ') ($ VSub_Number '$2') (' with code ') ($ VSub_Number '$1'))} ) (C {(echo)} { (DQ ('Fix and retry with: ') ($ VSub_Number '$0') (' ') (braced_var_sub token: <VSub_Name TARGET> suffix_op: (suffix_op.Unary op_id:VOp1_Percent arg_word:{(-static)}) ) (' ') ($ VSub_Number '$2') (' ') ($ VSub_Number '$3') ) } ) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {(DQ ($ VSub_Number '$1'))} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:XSTEPS) op: Equal rhs: { (DQ (command_sub left_token: <Left_DollarParen '$('> command_list: (command.CommandList children: [(C {(echo)} {($ VSub_DollarName '$STEPS')})] ) ) (' ') ) } ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:XSTEPS0) op: Equal rhs: {(DQ ($ VSub_DollarName '$XSTEPS'))} ) ] ) (command.ForEach iter_name: STEP iter_words: [{($ VSub_DollarName '$XSTEPS')}] do_arg_iter: F body: (command.DoGroup children: [ (C {(echo)} {(DQ ('Running step: ') ($ VSub_DollarName '$STEP'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:XSTEPS) op: Equal rhs: { (DQ (braced_var_sub token: <VSub_Name XSTEPS> suffix_op: (suffix_op.Unary op_id:VOp1_Pound arg_word:{('* ')}) ) ) } ) ] ) (C {(echo)} {(DQ ('Steps remaining: ') ($ VSub_DollarName '$XSTEPS'))}) (C {(KW_Set set)} {(-x)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [(C {($ VSub_DollarName '$STEP')})] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (C {(KW_Set set)} {(Lit_Other '+') (x)}) (C {(fail_step)} {(DQ ($ VSub_QMark '$?'))} {(DQ ($ VSub_DollarName '$STEP'))} {(DQ ($ VSub_DollarName '$XSTEPS'))} ) ] ) ] ) (C {(KW_Set set)} {(Lit_Other '+') (x)}) ] ) ) (C {(echo)} { (DQ ('OK running ') ($ VSub_Number '$0') (' ') (braced_var_sub token: <VSub_Name TARGET> suffix_op: (suffix_op.Unary op_id:VOp1_Percent arg_word:{(-static)}) ) (' ') ($ VSub_DollarName '$XSTEPS0') ) } ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) ] )