easyblock = 'ConfigureMake'

name = 'ATK'
version = '2.28.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://developer.gnome.org/ATK/stable/'
description = """
 ATK provides the set of accessibility interfaces that are implemented by other
 toolkits and applications. Using the ATK interfaces, accessibility tools have
 full access to view and control running applications.
"""

toolchain = {'name': 'foss', 'version': '2018b'}

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc']

builddependencies = [
    ('GObject-Introspection', '1.54.1', versionsuffix),
]
dependencies = [
    ('Python', '3.6.6'),
    ('GLib', '2.54.3'),
]

configopts = "--enable-introspection=yes"

modextrapaths = {
    'XDG_DATA_DIRS': 'share',
}

sanity_check_paths = {
    'files': ['lib/libatk-1.0.%s' % SHLIB_EXT],
    'dirs': [],
}

moduleclass = 'vis'