# IT4Innovations 2021
# LK

easyblock = 'PythonBundle'

name = 'pkgconfig'
version = '1.5.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/matze/pkgconfig'
description = """pkgconfig is a Python module to interface with the pkg-config command line tool"""

toolchain = {'name': 'GCCcore', 'version': '9.3.0'}

builddependencies = [('binutils', '2.34')]

dependencies = [
    ('Python', '3.8.6'),
    ('pkg-config', '0.29.2'),
]

# Due to poetry doing the actual build of pkgconfig we need use_pip=False
use_pip = False

exts_list = [
    # Not updating this since it is basically a build dep
    ('poetry', '0.12.17', {
        'source_urls': ['https://pypi.python.org/packages/source/p/poetry/'],
        'checksums': ['6e535de38df7e6ab46ff8d197f53632b071675287d1477efc7bf4a5c4c63bc3f'],
    }),
    (name, version, {
        'source_urls': ['https://pypi.python.org/packages/source/p/pkgconfig/'],
        'checksums': ['97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f'],
    }),
]

moduleclass = 'devel'