easybuild.framework.easyconfig.format.convert module

This module implements easyconfig specific formats and their conversions.

author:Stijn De Weirdt (Ghent University)
class easybuild.framework.easyconfig.format.convert.Dependency(obj, name=None)

Bases: easybuild.tools.convert.Convert

Handle dependency

SEPARATOR_DEP = ';'
name()

Get dependency name.

toolchain()

Get toolchain spec for dependency (if any).

version()

Get dependency version.

versionsuffix()

Get dependency versionsuffix (if any).

class easybuild.framework.easyconfig.format.convert.Patch(obj, separator_dict=None, separator_key_value=None, allowed_keys=None, raise_allowed=False)

Bases: easybuild.tools.convert.DictOfStrings

Handle single patch

ALLOWED_KEYS = ['level', 'dest']
KEYLESS_ENTRIES = ['filename']
class easybuild.framework.easyconfig.format.convert.Patches(obj, separator_list=None)

Bases: easybuild.tools.convert.ListOfStrings

Handle patches as list of Patch