kit = {'arch': 'x86_64', 'dependencies': [], 'description': 'HPC kit.', 'license': 'LGPL', 'name': 'hpc', 'pkgname': 'kit-hpc', 'release': '2', 'removable': True, 'scripts': {'postscript': '# In Kusu Installer mode?\n# Do not change the following line!\nif [ -e /var/lock/subsys/kusu-installer ]; then exit 0; fi \n\n# Put any custom stuff after this line\n# SQL/Shell/Python code to update the database.. The updates may optionally\n# include Node group creation and component association\n\n# sqlrunner may be used to perform sql injections\n# ngedit may be used non-interactively to add and copy nodegroups\n\n', 'postunscript': '# Code necessary to cleanup the database from any entries inserted by the %post\n\n# Put any custom stuff after this line\n# SQL/Shell/Python code to update the database.. The updates may optionally\n# include Node group creation and component association\n\n# sqlrunner may be used to perform sql injections\n# ngedit may be used non-interactively to add and copy nodegroups', 'prescript': '', 'preunscript': ''}, 'srctype': 'kit', 'version': '0.1'} components = [{'arch': 'noarch', 'comprelease': '0', 'compversion': '0.1', 'description': 'This component contains a collection of HPC libraries.', 'driverpacks': [], 'name': 'HPC-libraries', 'ngtypes': ['installer', 'compute'], 'ostype': '', 'osversion': '', 'pkgname': 'component-hpc-libraries', 'scripts': {'postscript': '', 'postunscript': '', 'prescript': '', 'preunscript': ''}, 'srctype': 'component'}, {'arch': 'noarch', 'comprelease': '0', 'compversion': '0.1', 'description': 'This component contains a collection of benchmarking tools.', 'driverpacks': [], 'name': 'Benchmarking-tools', 'ngtypes': ['installer', 'compute'], 'ostype': '', 'osversion': '', 'pkgname': 'component-benchmarking-tools', 'scripts': {'postscript': '', 'postunscript': '', 'prescript': '', 'preunscript': ''}, 'srctype': 'component'}, {'arch': 'noarch', 'comprelease': '0', 'compversion': '0.1', 'description': 'This component contains a collection of MPICH1 libraries.', 'driverpacks': [], 'name': 'MPICH1-libraries', 'ngtypes': ['installer', 'compute'], 'ostype': '', 'osversion': '', 'pkgname': 'component-mpich1-libraries', 'scripts': {'postscript': '', 'postunscript': '', 'prescript': '', 'preunscript': ''}, 'srctype': 'component'}, {'arch': 'noarch', 'comprelease': '0', 'compversion': '0.1', 'description': 'This component contains a collection of OpenMPI libraries.', 'driverpacks': [], 'name': 'OpenMPI-libraries', 'ngtypes': ['installer', 'compute'], 'ostype': '', 'osversion': '', 'pkgname': 'component-openmpi-libraries', 'scripts': {'postscript': '', 'postunscript': '', 'prescript': '', 'preunscript': ''}, 'srctype': 'component'}, {'arch': 'noarch', 'comprelease': '0', 'compversion': '0.1', 'description': 'This component contains a collection of MPICH2 libraries.', 'driverpacks': [], 'name': 'MPICH2-libraries', 'ngtypes': ['installer', 'compute'], 'ostype': '', 'osversion': '', 'pkgname': 'component-mpich2-libraries', 'scripts': {'postscript': '', 'postunscript': '', 'prescript': '', 'preunscript': ''}, 'srctype': 'component'}, {'arch': 'noarch', 'comprelease': '0', 'compversion': '0.1', 'description': 'This component contains a collection of MVAPICH1 libraries.', 'driverpacks': [], 'name': 'MVAPICH1-libraries', 'ngtypes': ['installer', 'compute'], 'ostype': '', 'osversion': '', 'pkgname': 'component-mvapich1-libraries', 'scripts': {'postscript': '', 'postunscript': '', 'prescript': '', 'preunscript': ''}, 'srctype': 'component'}, {'arch': 'noarch', 'comprelease': '0', 'compversion': '0.1', 'description': 'This component contains a collection of MVAPICH2 libraries.', 'driverpacks': [], 'name': 'MVAPICH2-libraries', 'ngtypes': ['installer', 'compute'], 'ostype': '', 'osversion': '', 'pkgname': 'component-mvapich2-libraries', 'scripts': {'postscript': '', 'postunscript': '', 'prescript': '', 'preunscript': ''}, 'srctype': 'component'}]