easyblock = "PythonPackage"

name = "PyYAML"
version = "3.11"

homepage = "https://pypi.python.org/pypi/PyYAML/"
description = """PyYAML is a YAML parser and emitter for the Python programming language."""

toolchain = {'name': 'intel', 'version': '2015b'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

python = "Python"
pythonversion = "2.7.9"
py_short_ver = ".".join(pythonversion.split(".")[0:2])

versionsuffix = "-%s-%s" % (python, pythonversion)

dependencies = [
    (python, pythonversion),
    ('libyaml', '0.1.6'),
]

options = {'modulename': 'yaml'}

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages/yaml' % py_short_ver],
}

moduleclass = 'lib'
