easyblock = "PythonPackage" name = "PyYAML" version = "3.12" homepage = "https://pypi.local_python.org/pypi/PyYAML/" description = """PyYAML is a YAML parser and emitter for the Python programming language.""" toolchain = SYSTEM source_urls = [PYPI_SOURCE] sources = [SOURCE_TAR_GZ] local_python = "Python" local_pythonversion = "2.7.13" local_py_short_ver = ".".join(local_pythonversion.split(".")[0:2]) versionsuffix = "-%s-%s-base" % (local_python, local_pythonversion) dependencies = [ (local_python, local_pythonversion, '-base'), ('libyaml', '0.1.7'), ] options = {'modulename': 'yaml'} sanity_check_paths = { 'files': [], 'dirs': ['lib/local_python%s/site-packages/yaml' % local_py_short_ver], } moduleclass = 'lib'