# IT4Innovations
# LK 2024

easyblock = 'PythonPackage'

name = 'slepc4py'
version = '3.21.1'

homepage = 'https://bitbucket.org/slepc/slepc4py'
description = "Python bindings for SLEPc, the Scalable Library for Eigenvalue Problem Computations."

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

sources = [SOURCE_TAR_GZ]
checksums = ['bc8e0e270643eef9b63b249080b8fe4433be0b697d55032d9f768ef310bd7b07']

dependencies = [
    ('Python', '3.10.8'),
    ('SLEPc', '3.21.1'),
    ('petsc4py', '3.21.2'),
]

download_dep_fail = True
use_pip = True
sanity_pip_check = True

sanity_check_commands = ["python -c 'from slepc4py import SLEPc'"]

moduleclass = 'tools'
