# IT4Innovations
# LK 2022

name = 'Boost'
version = '1.77.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.boost.org/'
description = """Boost provides free peer-reviewed portable C++ source libraries."""

toolchain = {'name': 'GCC', 'version': '10.2.0'}
toolchainopts = {'pic': True}

source_urls = [SOURCEFORGE_SOURCE]
sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))]
checksums = ['5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131']

#patches = ['Boost-1.65.1_fix-Python3.patch']

dependencies = [
    ('bzip2', '1.0.8'),
    ('zlib', '1.2.11'),
    ('Python', '3.8.6')
]

configopts = '--with-python=$EBROOTPYTHON/bin/python'

# also build boost_mpi
boost_mpi = False

moduleclass = 'devel'
