planemo.shed2tap package

Submodules

planemo.shed2tap.base module

class planemo.shed2tap.base.ActionPackage(name, version, repo)[source]

Bases: object

class planemo.shed2tap.base.Actions(actions, os=None, architecture=None, action_packages=[])[source]

Bases: object

downloads()[source]
first_download()[source]
to_bash()[source]
class planemo.shed2tap.base.AutoconfAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'autoconf'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.BaseAction[source]

Bases: object

action_type = None
classmethod from_elem(elem, package)[source]
parse_action_repo(elem)[source]
parse_package_elems(elem)[source]
same_as(other)[source]
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.BasePackage(dependencies, package_el, install_el, readme)[source]

Bases: object

get_all_actions()[source]
has_explicit_set_environments()[source]
has_multiple_set_environments()[source]
has_no_achitecture_install()[source]
parse_action(action)[source]
parse_action_package(elem)[source]
parse_actions(actions)[source]
class planemo.shed2tap.base.ChangeDirectoryAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'change_directory'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.ChmodAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'chmod'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.Dependencies(dependencies_file, repo=None, package_factory=None)[source]

Bases: object

Base class for parsing Tool Shed dependency files.

single_package()[source]
class planemo.shed2tap.base.Dependency(dependencies, package_el, repository_el)[source]

Bases: object

class planemo.shed2tap.base.DownloadBinary(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'download_binary'
class planemo.shed2tap.base.DownloadByUrlAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'download_by_url'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.DownloadFileAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'download_file'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.MakeDirectoryAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'make_directory'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.MakeInstallAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'make_install'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.MoveDirectoryFilesAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'move_directory_files'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.MoveFileAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'move_file'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.Repo(**kwds)[source]

Bases: object

static from_api(prefix, repo_json)[source]
static from_xml(elem)[source]
get_file(path)[source]
recipe_base_name()[source]
class planemo.shed2tap.base.SetEnvironmentAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'set_environment'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.SetEnvironmentForInstallAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'set_environment_for_install'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.SetVariable(elem)[source]

Bases: object

class planemo.shed2tap.base.SetupPerlEnvironmentAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'setup_perl_environment'
class planemo.shed2tap.base.SetupPythonEnvironmentAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'setup_python_environment'
class planemo.shed2tap.base.SetupREnvironmentAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'setup_r_environment'
class planemo.shed2tap.base.SetupRubyEnvironmentAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'setup_ruby_environment'
class planemo.shed2tap.base.SetupVirtualenvAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'setup_virtualenv'
class planemo.shed2tap.base.ShellCommandAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'shell_command'
to_bash()[source]

Return lists of bash shell commands to execute this action.

This method is be implemented by each sub-class, and will return two list of strings (for dep_install.sh and env.sh respectively).

class planemo.shed2tap.base.TemplateShellCommandAction(elem)[source]

Bases: planemo.shed2tap.base.BaseAction

action_type = 'template_command'
planemo.shed2tap.base.asbool(obj)[source]

Module contents