# IT4Innovations 2017

easyblock = 'PythonPackage'

name = 'protobuf-python'
version = '3.6.1'

homepage = 'https://github.com/google/protobuf/'
description = """Python Protocol Buffers runtime library."""

toolchain = {'name': 'Py', 'version': '2.7'}

source_urls = ['https://github.com/google/protobuf/archive/v%(version)s']
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('protobuf', version)
]

# use_setup_py_develop = True

start_dir = 'python'

installopts = '--cpp_implementation'

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python2.7/site-packages'],
}

options = {'modulename': 'google.protobuf'}

moduleclass = 'devel'