# IT4Innovations # LK 2024 easyblock = 'PythonPackage' name = 'petsc4py' version = '3.21.2' homepage = 'https://gitlab.com/petsc/petsc' description = """petsc4py are Python bindings for PETSc, the Portable, Extensible Toolchain for Scientific Computation.""" toolchain = {'name': 'foss', 'version': '2022b'} sources = [SOURCE_TAR_GZ] checksums = ['6ce1e1a45407da300c6869d0d9abe17b5b077424aa4895713642dda0bb19ab4e'] dependencies = [ ('Python', '3.10.8'), ('SciPy-bundle', '2023.02'), ('PETSc', version), ] download_dep_fail = True use_pip = True sanity_pip_check = True sanity_check_commands = ["python -c 'from petsc4py import PETSc'"] moduleclass = 'tools'