Skip to content

[GObject-Introspection] [package list]

GObject-Introspection/1.68.0-cpeCray-21.08-cray-python3.8 (GObject-Introspection-1.68.0-cpeCray-21.08-cray-python3.8.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/g/GObject-Introspection/GObject-Introspection-1.68.0-cpeCray-21.08-cray-python3.8.eb. The corresponding module would be GObject-Introspection/1.68.0-cpeCray-21.08-cray-python3.8.

# Based on an EasyConfig developed by CSCS
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium
easyblock = 'MesonNinja'

local_cairo_version =        '1.17.4'        # https://www.cairographics.org/
local_libffi_version =       '3.4.2'         # ftp://sourceware.org/pub/libffi/
local_GLib_version =         '2.69.1'        # https://ftp.gnome.org/pub/GNOME/sources/glib/
local_util_version =         '2.37.1'        # https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/

local_GObject_version =      '1.68.0'        # https://github.com/GNOME/gobject-introspection/releases

local_py_maj_ver = '3'
local_py_min_ver = '8'
local_py_rev_ver = '5.1'

name =          'GObject-Introspection'
version =       local_GObject_version
versionsuffix = '-cray-python%s.%s' % (local_py_maj_ver, local_py_min_ver)

homepage = 'https://gi.readthedocs.io/en/latest/'

whatis = [
    'Description: GNOME middleware layer between C libraries and language bindings',
    'This module provides the command line utilities and static and shared libraries',
]

description = """
GObject introspection is a middleware layer between C libraries (using GObject)
and language bindings. The C library can be scanned at compile time and generate
a metadata file, in addition to the actual native C library. Then at runtime,
language bindings can read this metadata and automatically provide bindings to
call into the C library.

This module provides the command line tools and static and shared libraries.
It was compiled to use Python 2.7.
"""

docurls = [
    'Web-based documentation: https://developer.gnome.org/gi/',
]

toolchain = {'name': 'cpeCray', 'version': '21.08'}

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

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', True),  # For Meson/Ninja, flex, bison
    ('cairo',      local_cairo_version),
]

dependencies = [
    ('cray-python/%s.%s.%s' % (local_py_maj_ver, local_py_min_ver, local_py_rev_ver), EXTERNAL_MODULE),
    ('GLib',       local_GLib_version),
    ('libffi',     local_libffi_version),
    ('util-linux', local_util_version),
]

preconfigopts = "env GI_SCANNER_DISABLE_CACHE=true "

sanity_check_paths = {
    'files': ['bin/g-ir-%s' % x for x in ['annotation-tool', 'compiler', 'generate', 'scanner']] +
             ['lib/libgirepository-1.0.' + SHLIB_EXT],
    'dirs':  ['include', 'share']
}

sanity_check_commands = [
    'g-ir-annotation-tool --help',
    'g-ir-compiler --help',
    'g-ir-generate --help',
    'g-ir-inspect --help',
    'g-ir-scanner --help',
    'pkg-config --libs gobject-introspection-1.0',
    'pkg-config --libs gobject-introspection-no-export-1.0',
]

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

moduleclass = 'devel'

[GObject-Introspection] [package list]