(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgname) op: assign_op.Equal rhs: {<py-img2pdf>} spids: [6] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgver) op: assign_op.Equal rhs: {<0.2.4>} spids: [9] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgrel) op: assign_op.Equal rhs: {<0>} spids: [12] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgdesc) op: assign_op.Equal rhs: {(DQ <'Convert images to PDF via direct JPEG inclusion'>)} spids: [15] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:url) op: assign_op.Equal rhs: {(DQ <'https://gitlab.mister-muffin.de/josch/img2pdf'>)} spids: [20] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arch) op: assign_op.Equal rhs: {(DQ <noarch>)} spids: [25] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:license) op: assign_op.Equal rhs: {(DQ <LGPL>)} spids: [30] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:depends) op: assign_op.Equal rhs: {(DQ <py-pillow>)} spids: [35] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:makedepends) op: assign_op.Equal rhs: {(DQ <'python2-dev python3-dev py-setuptools'>)} spids: [40] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install) op: assign_op.Equal rhs: {(DQ )} spids: [45] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:subpackages) op: assign_op.Equal rhs: { (DQ <py2-> (braced_var_sub token: <Id.VSub_Name pkgname> suffix_op: (suffix_op.Unary op_id:Id.VOp1_Pound arg_word:{<py->}) ) <':_py2 py3-'> (braced_var_sub token: <Id.VSub_Name pkgname> suffix_op: (suffix_op.Unary op_id:Id.VOp1_Pound arg_word:{<py->}) ) <':_py3'> ) } spids: [49] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:source) op: assign_op.Equal rhs: { (DQ < 'https://pypi.python.org/packages/7e/a2/4f06081f674920be757d894b4bab874e6a3b5227e730cb7618430b366e69/img2pdf-' > ($ Id.VSub_DollarName '$pkgver') <.tar.gz> ) } spids: [66] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:builddir) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$srcdir') <'/img2pdf-'> ($ Id.VSub_DollarName '$pkgver'))} spids: [73] ) ] ) (command.ShFunction name: build body: (BraceGroup children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$builddir'))}) (C {<python2>} {<setup.py>} {<build>}) (C {<python3>} {<setup.py>} {<build>}) ] ) ) (command.ShFunction name: package body: (BraceGroup children:[(C {<mkdir>} {<-p>} {(DQ ($ Id.VSub_DollarName '$pkgdir'))})]) ) (command.ShFunction name: _py2 body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:replaces) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$pkgname'))} spids: [136] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:depends) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Name depends> suffix_op: (suffix_op.PatSub pat: {<py->} replace: {<py2->} replace_mode: Id.Lit_Slash ) ) ) } spids: [142] ) ] ) (C {<_py>} {<python2>}) ] ) ) (command.ShFunction name: _py3 body: (BraceGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:depends) op: assign_op.Equal rhs: { (DQ (braced_var_sub token: <Id.VSub_Name depends> suffix_op: (suffix_op.PatSub pat: {<py->} replace: {<py3->} replace_mode: Id.Lit_Slash ) ) ) } spids: [169] ) ] ) (C {<_py>} {<python3>}) ] ) ) (command.ShFunction name: _py body: (BraceGroup children: [ (C {<local>} {<Id.Lit_VarLike 'python='> (DQ ($ Id.VSub_Number '$1'))}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgdesc) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$pkgdesc') <' (for '> ($ Id.VSub_DollarName '$python') <')'> ) } spids: [204] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:depends) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$depends') <' '> ($ Id.VSub_DollarName '$python'))} spids: [213] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install_if) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$pkgname') <'='> ($ Id.VSub_DollarName '$pkgver') <-r> ($ Id.VSub_DollarName '$pkgrel') <' '> ($ Id.VSub_DollarName '$python') ) } spids: [221] ) ] ) (C {<cd>} {(DQ ($ Id.VSub_DollarName '$builddir'))}) (C {($ Id.VSub_DollarName '$python')} {<setup.py>} {<install>} {<--prefix> <Id.Lit_Equals '='> <'/usr'>} {<--root> <Id.Lit_Equals '='> (DQ ($ Id.VSub_DollarName '$subpkgdir'))} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sha512sums) op: assign_op.Equal rhs: { (DQ < 'c2d99da7076411cf4acabe8929fc8af4005ef1f3e3d9edc953f2731b8d41159c9e4637a803765e1405c595daebfb3d519d4c7903003ce0118d8b0c6e88f11860 img2pdf-0.2.4.tar.gz' > ) } spids: [260] ) ] ) ] )