easyblock = 'EB_Boost'

name = 'Boost.Python'
version = '1.79.0'

homepage = 'https://boostorg.github.io/python'
description = """Boost.Python is a C++ library which enables seamless interoperability between C++
 and the Python programming language."""

toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://boostorg.jfrog.io/artifactory/main/release/%(version)s/source/']
sources = ['boost_%s.tar.gz' % '_'.join(version.split('.'))]
checksums = ['273f1be93238a068aba4f9735a4a2b003019af067b9c183ed227780b8f36062c']

dependencies = [
    ('binutils', '2.38'),
    ('Boost',  version),
    ('Python', '3.10.4'),
]

only_python_bindings = True

moduleclass = 'lib'