easyconfigs-it4i/p/protobuf/protobuf-3.4.0-GCC-7.1.0-2.28-Python-3.6.1.eb
easybuild 40b461ca6f fix
2019-11-06 13:38:09 +01:00

39 lines
825 B
Plaintext

easyblock = 'ConfigureMake'
name = 'protobuf'
version = '3.4.0'
versionsuffix = '-Python-3.6.1'
homepage = 'https://code.google.com/p/protobuf/'
description = """Google Protocol Buffers"""
toolchain = {'name': 'GCC', 'version': '7.1.0-2.28'}
sources = ['%(name)s-python-%(version)s.tar.gz']
source_urls = [
'https://github.com/google/protobuf/releases/download/v%(version)s/']
# builddependencies = [
# ('GCC', '4.9.3-tf'),
#]
dependencies = [
('Python', '3.6.1', '', True),
]
# after instalation: python3 setup.py install --cpp_implementation
# postinstallcmds = [
# 'cp %(builddir)s/%(name)s-%(version)s/ %(installdir)s/build -R',
#]
sanity_check_paths = {
'files': ['bin/protoc'],
'dirs': [],
}
modextravars = {
'PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION': 'cpp',
}
moduleclass = 'devel'