(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgname) op: Equal rhs: {(py-sphinxcontrib-seqdiag)} spids: [6] ) ] spids: [6] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_pkgname) op: Equal rhs: {(sphinxcontrib-seqdiag)} spids: [9] ) ] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(0.8.5)} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(1)} spids:[15])] spids: [15] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ('Sphinx ')) (seqdiag) (DQ (' extension'))} spids: [18] ) ] spids: [18] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ('https://pypi.python.org/pypi/sphinxcontrib-seqdiag'))} spids: [27] ) ] spids: [27] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (noarch))} spids:[32])] spids: [32] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (BSD))} spids:[37])] spids: [37] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: {(DQ ('py-sphinx py-seqdiag'))} spids: [42] ) ] spids: [42] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: {(DQ ('python2-dev python3-dev py-setuptools'))} spids: [47] ) ] spids: [47] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: { (DQ (py2-) (BracedVarSub token: <VSub_Name pkgname> suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{(py-)}) spids: [55 59] ) (':_py2 py3-') (BracedVarSub token: <VSub_Name pkgname> suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{(py-)}) spids: [61 65] ) (':_py3') ) } spids: [52] ) ] spids: [52] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ('https://files.pythonhosted.org/packages/source/') (BracedVarSub token: <VSub_Name _pkgname> suffix_op: (Slice begin: (ArithWord w:{(Lit_Digits 0)}) length: (ArithWord w:{(Lit_Digits 1)}) ) spids: [72 78] ) (/) ($ VSub_Name '$_pkgname') (/) ($ VSub_Name '$_pkgname') (-) ($ VSub_Name '$pkgver') (.tar.gz) ) } spids: [69] ) ] spids: [69] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name '$srcdir')) (/) ($ VSub_Name '$_pkgname') (-) ($ VSub_Name '$pkgver')} spids: [88] ) ] spids: [88] ) (FuncDef name: prepare body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [(assign_pair lhs:(LhsName name:i) op:Equal spids:[107])] spids: [105] ) (C {(cd)} {(DQ ($ VSub_Name '$builddir'))}) (ForEach iter_name: i iter_words: [{($ VSub_Name '$source')}] do_arg_iter: F body: (DoGroup children: [ (Case to_match: {($ VSub_Name '$i')} arms: [ (case_arm pat_list: [{(Lit_Other '*') (.patch)}] action: [ (Sentence child: (C {(msg)} {($ VSub_Name '$i')}) terminator: <Op_Semi ';'> ) (AndOr ops: [Op_DPipe] children: [ (C {(patch)} {(-p1)} {(-i)} {(DQ ($ VSub_Name '$srcdir')) (/) ($ VSub_Name '$i')} ) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] ) ] spids: [136 138 162 16777215] ) ] spids: [129 133 165] ) ] spids: [126 168] ) spids: [122 124] ) ] spids: [102] ) spids: [98 101] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name '$builddir'))}) (AndOr ops: [Op_DPipe] children: [ (C {(python2)} {(setup.py)} {(build)}) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(python3)} {(setup.py)} {(build)}) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] ) ] spids: [177] ) spids: [173 176] ) (FuncDef name: package body: (BraceGroup children:[(C {(mkdir)} {(-p)} {(DQ ($ VSub_Name '$pkgdir'))})] spids:[219]) spids: [215 218] ) (FuncDef name: _py2 body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:replaces) op: Equal rhs: {(DQ ($ VSub_Name '$pkgname'))} spids: [240] ) ] spids: [240] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name depends> suffix_op: (PatSub pat: {(py-)} replace: {(py2-)} do_all: T do_prefix: F do_suffix: F ) spids: [248 255] ) ) } spids: [246] ) ] spids: [246] ) (C {(_py)} {(python2)}) ] spids: [237] ) spids: [233 236] ) (FuncDef name: _py3 body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name depends> suffix_op: (PatSub pat: {(py-)} replace: {(py3-)} do_all: T do_prefix: F do_suffix: F ) spids: [275 282] ) ) } spids: [273] ) ] spids: [273] ) (C {(_py)} {(python3)}) ] spids: [270] ) spids: [266 269] ) (FuncDef name: _py body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:python) op: Equal rhs: {(DQ ($ VSub_Number '$1'))} spids: [302] ) ] spids: [300] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ($ VSub_Name '$pkgdesc') (' (for ') ($ VSub_Name '$python') (')'))} spids: [308] ) ] spids: [308] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: {(DQ ($ VSub_Name '$depends') (' ') ($ VSub_Name '$python'))} spids: [317] ) ] spids: [317] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:install_if) op: Equal rhs: { (DQ ($ VSub_Name '$pkgname') ('=') ($ VSub_Name '$pkgver') (-r) ($ VSub_Name '$pkgrel') (' ') ($ VSub_Name '$python') ) } spids: [325] ) ] spids: [325] ) (C {(cd)} {(DQ ($ VSub_Name '$builddir'))}) (C {($ VSub_Name '$python')} {(setup.py)} {(install)} {(--prefix) (Lit_Other '=') (/usr)} {(--root) (Lit_Other '=') (DQ ($ VSub_Name '$subpkgdir'))} ) ] spids: [297] ) spids: [293 296] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:md5sums) op: Equal rhs: {(DQ ('01a002b2898bf5e0626e03f653863ce3 sphinxcontrib-seqdiag-0.8.5.tar.gz'))} spids: [365] ) ] spids: [365] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha256sums) op: Equal rhs: { (DQ ( '83c3fdac7e083c5b217f65359c03b75af753209028db6b261b196aff19e7003f sphinxcontrib-seqdiag-0.8.5.tar.gz' ) ) } spids: [370] ) ] spids: [370] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( 'dcdce24bbf29a060e2344fbab423253e7810547ec6352fa949d392f98c33f008cac25d12e81029441b4303339133d3c6d4010b8aac27ad318b6e8b3b75b35f52 sphinxcontrib-seqdiag-0.8.5.tar.gz' ) ) } spids: [375] ) ] spids: [375] ) ] )