mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-13 18:31:21 +01:00
33 lines
683 B
Plaintext
33 lines
683 B
Plaintext
easyblock = "PythonPackage"
|
|
|
|
name = "PyYAML"
|
|
version = "3.12"
|
|
|
|
homepage = "https://pypi.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]
|
|
|
|
python = "Python"
|
|
pythonversion = "2.7.13"
|
|
py_short_ver = ".".join(pythonversion.split(".")[0:2])
|
|
|
|
versionsuffix = "-%s-%s-base" % (python, pythonversion)
|
|
|
|
dependencies = [
|
|
(python, pythonversion, '-base'),
|
|
('libyaml', '0.1.7'),
|
|
]
|
|
|
|
options = {'modulename': 'yaml'}
|
|
|
|
sanity_check_paths = {
|
|
'files': [],
|
|
'dirs': ['lib/python%s/site-packages/yaml' % py_short_ver],
|
|
}
|
|
|
|
moduleclass = 'lib'
|