easyblock = 'PythonPackage'

name = 'SCOOP'
version = '0.7.1.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://code.google.com/p/scoop/'
description = """SCOOP (Scalable COncurrent Operations in Python) is a distributed task module
 allowing concurrent parallel programming on various environments, from heterogeneous grids to supercomputers."""

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

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['d8b6444c7bac901171e3327a97e241dde63f060354e162a65551fd8083ca62b4']

dependencies = [
    ('Python', '2.7.14'),
    ('Greenlet', '0.4.12', versionsuffix),
    ('PyZMQ', '16.0.3', versionsuffix + '-zmq4'),
]

sanity_check_paths = {
    'files': ['lib/python%(pyshortver)s/site-packages/scoop-%(version)s-py%(pyshortver)s.egg'],
    'dirs': [],
}

moduleclass = 'tools'
