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: BaseAction

action_type: str = '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: str
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: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

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

Bases: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

action_type: str = '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: BaseAction

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

Bases: BaseAction

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

Bases: BaseAction

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

Bases: BaseAction

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

Bases: BaseAction

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

Bases: BaseAction

action_type: str = '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: BaseAction

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

Module contents