easyconfigs-it4i/p/protobuf/protobuf-3.5.1-Py-3.6.eb
Lukáš Krupčík 92cb0848fe formatter
2018-10-03 07:48:02 +02:00

33 lines
725 B
Plaintext

# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'protobuf'
version = '3.5.1'
homepage = 'https://code.google.com/p/protobuf/'
description = """Google Protocol Buffers"""
toolchain = {'name': 'Py', 'version': '3.6'}
toolchainopts = {'pic': True}
sources = ['%(name)s-python-%(version)s.tar.gz']
source_urls = [
'https://github.com/google/protobuf/releases/download/v%(version)s/']
# 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'