protobuf-3.2.0-Python-3.6.1.eb 794 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
easyblock = 'ConfigureMake'

name = 'protobuf'
version = '3.2.0'
versionsuffix = '-Python-3.6.1'

homepage = 'https://code.google.com/p/protobuf/'
description = """Google Protocol Buffers"""

toolchain = {'name': 'dummy', 'version': ''}

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'),
]

# 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'