(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:pkgname spids:[6])
          op: Equal
          rhs: {(mercurial)}
          spids: [6]
        )
      ]
      spids: [6]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:pkgver spids:[9])
          op: Equal
          rhs: {(4.3.3)}
          spids: [9]
        )
      ]
      spids: [9]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:pkgrel spids:[12])
          op: Equal
          rhs: {(0)}
          spids: [12]
        )
      ]
      spids: [12]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:pkgdesc spids:[15])
          op: Equal
          rhs: {(DQ ('A scalable distributed SCM tool'))}
          spids: [15]
        )
      ]
      spids: [15]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:url spids:[20])
          op: Equal
          rhs: {(DQ ('https://www.mercurial-scm.org/'))}
          spids: [20]
        )
      ]
      spids: [20]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:arch spids:[25])
          op: Equal
          rhs: {(DQ (all))}
          spids: [25]
        )
      ]
      spids: [25]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:license spids:[30])
          op: Equal
          rhs: {(DQ ('GPL2+'))}
          spids: [30]
        )
      ]
      spids: [30]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:depends spids:[35])
          op: Equal
          rhs: {(DQ )}
          spids: [35]
        )
      ]
      spids: [35]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:makedepends spids:[39])
          op: Equal
          rhs: {(DQ (python2-dev))}
          spids: [39]
        )
      ]
      spids: [39]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:subpackages spids:[44])
          op: Equal
          rhs: 
            {
              (DQ ('\n') ('\t') ($ VSub_DollarName '$pkgname') ('-doc\n') ('\t') 
                ($ VSub_DollarName '$pkgname') ('-vim:vim:noarch\n') ('\t') ($ VSub_DollarName '$pkgname') ('-zsh-completion:zshcomp:noarch\n') ('\t') 
                ($ VSub_DollarName '$pkgname') ('-bash-completion:bashcomp:noarch')
              )
            }
          spids: [44]
        )
      ]
      spids: [44]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:source spids:[61])
          op: Equal
          rhs: 
            {
              (DQ ('https://www.mercurial-scm.org/release/') ($ VSub_DollarName '$pkgname') (-) 
                ($ VSub_DollarName '$pkgver') (.tar.gz)
              )
            }
          spids: [61]
        )
      ]
      spids: [61]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:builddir spids:[70])
          op: Equal
          rhs: 
            {(DQ ($ VSub_DollarName '$srcdir')) (/) ($ VSub_DollarName '$pkgname') (-) 
              ($ VSub_DollarName '$pkgver')
            }
          spids: [70]
        )
      ]
      spids: [70]
    )
    (command.FuncDef
      name: build
      body: 
        (command.BraceGroup
          children: [
            (C {(cd)} {(DQ ($ VSub_DollarName '$builddir'))})
            (C {(python2)} {(setup.py)} {(build)})
          ]
          spids: [84]
        )
      spids: [80 83]
    )
    (command.FuncDef
      name: package
      body: 
        (command.BraceGroup
          children: [
            (C {(cd)} {(DQ ($ VSub_DollarName '$builddir'))})
            (C {(python2)} {(setup.py)} {(install)} 
              {(--root) (Lit_Other '=') (DQ ($ VSub_DollarName '$pkgdir'))}
            )
            (C {(install)} {(-m755)} {(contrib/hgk)} {(hgeditor)} 
              {(DQ ($ VSub_DollarName '$pkgdir')) (/usr/bin)}
            )
            (command.ForEach
              iter_name: man
              iter_words: [{(doc/) (Lit_Other '*') (.) (Lit_Other '?')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (C {(install)} {(-Dm644)} {(DQ ($ VSub_DollarName '$man'))} 
                      {(DQ ($ VSub_DollarName '$pkgdir')) (/usr/share/man/man) 
                        (word_part.BracedVarSub
                          token: <VSub_Name man>
                          suffix_op: (suffix_op.StringUnary op_id:VOp1_DPound arg_word:{('*.')})
                          spids: [174 178]
                        ) (/) 
                        (word_part.BracedVarSub
                          token: <VSub_Name man>
                          suffix_op: 
                            (suffix_op.StringUnary
                              op_id: VOp1_DPound
                              arg_word: {('*') (Lit_Slash /)}
                            )
                          spids: [180 185]
                        )
                      }
                    )
                  ]
                  spids: [157 188]
                )
              spids: [150 155]
            )
          ]
          spids: [107]
        )
      spids: [103 106]
    )
    (command.FuncDef
      name: vim
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:depends spids:[200])
                  op: Equal
                  rhs: {(DQ )}
                  spids: [200]
                )
              ]
              spids: [200]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:pkgdesc spids:[205])
                  op: Equal
                  rhs: {(DQ ('Vim syntax for ') ($ VSub_DollarName '$pkgname'))}
                  spids: [205]
                )
              ]
              spids: [205]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:install_if spids:[212])
                  op: Equal
                  rhs: 
                    {
                      (DQ ('vim ') ($ VSub_DollarName '$pkgname') ('=') ($ VSub_DollarName '$pkgver') 
                        (-r) ($ VSub_DollarName '$pkgrel')
                      )
                    }
                  spids: [212]
                )
              ]
              spids: [212]
            )
            (C {(cd)} {(DQ ($ VSub_DollarName '$builddir')) (/contrib/vim/)})
            (C {(mkdir)} {(-p)} 
              {(DQ ($ VSub_DollarName '$subpkgdir')) (/usr/share/vim/vimfiles/syntax/)}
            )
            (C {(install)} {(-Dm644)} {(HGAnnotate.vim)} {(hgtest.vim)} 
              {(DQ ($ VSub_DollarName '$subpkgdir')) (/usr/share/vim/vimfiles/syntax/)}
            )
          ]
          spids: [197]
        )
      spids: [193 196]
    )
    (command.FuncDef
      name: zshcomp
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:depends spids:[267])
                  op: Equal
                  rhs: {(DQ )}
                  spids: [267]
                )
              ]
              spids: [267]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:pkgdesc spids:[272])
                  op: Equal
                  rhs: {(DQ ('Zsh completions for ') ($ VSub_DollarName '$pkgname'))}
                  spids: [272]
                )
              ]
              spids: [272]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:install_if spids:[279])
                  op: Equal
                  rhs: 
                    {
                      (DQ ($ VSub_DollarName '$pkgname') ('=') ($ VSub_DollarName '$pkgver') (-r) 
                        ($ VSub_DollarName '$pkgrel') (' zsh')
                      )
                    }
                  spids: [279]
                )
              ]
              spids: [279]
            )
            (C {(install)} {(-Dm644)} {(DQ ($ VSub_DollarName '$builddir')) (/contrib/zsh_completion)} 
              {(DQ ($ VSub_DollarName '$subpkgdir')) (/usr/share/zsh/site-functions/_) 
                (${ VSub_Name pkgname)
              }
            )
          ]
          spids: [264]
        )
      spids: [260 263]
    )
    (command.FuncDef
      name: bashcomp
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:depends spids:[320])
                  op: Equal
                  rhs: {(DQ )}
                  spids: [320]
                )
              ]
              spids: [320]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:pkgdesc spids:[325])
                  op: Equal
                  rhs: {(DQ ('Bash completions for ') ($ VSub_DollarName '$pkgname'))}
                  spids: [325]
                )
              ]
              spids: [325]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:install_if spids:[332])
                  op: Equal
                  rhs: 
                    {
                      (DQ ($ VSub_DollarName '$pkgname') ('=') ($ VSub_DollarName '$pkgver') (-r) 
                        ($ VSub_DollarName '$pkgrel') (' bash-completion')
                      )
                    }
                  spids: [332]
                )
              ]
              spids: [332]
            )
            (C {(install)} {(-Dm644)} {(DQ ($ VSub_DollarName '$builddir')) (/contrib/bash_completion)} 
              {(DQ ($ VSub_DollarName '$subpkgdir')) (/usr/share/bash-completion/completions/) 
                (${ VSub_Name pkgname)
              }
            )
          ]
          spids: [317]
        )
      spids: [313 316]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:sha512sums spids:[366])
          op: Equal
          rhs: 
            {
              (DQ 
                (
'2d5249b6b2ec6b21c548702af2cf6b8e0858197a370514465aa7a880391f2e9efd6aecefb67fc547dfb8759c1c678009dc5a33fc48743bee30fcbdd853ee1cc6  mercurial-4.3.3.tar.gz'
                )
              )
            }
          spids: [366]
        )
      ]
      spids: [366]
    )
  ]
)