# IT4Innovations 2019

easyblock = 'PythonPackage'

name = 'protobuf-python'
version = '3.9.0'
versionsuffix= '-Python-3.7.3'

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

toolchain = {'name': 'GCCcore', 'version': '6.3.0'}

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

dependencies = [
    ('protobuf', version),
    ('Python', '3.7.3')
]

# use_setup_py_develop = True

start_dir = 'python'

installopts = '--cpp_implementation'

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

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

moduleclass = 'devel'
