# IT4Innovations 2020
# LK

easyblock = "PythonPackage"

name = "petsc4py"
version = "3.12.0"

homepage = 'https://code.google.com/p/petsc4py/'
description = """petsc4py are Python bindings for PETSc, the Portable, Extensible Toolchain for Scientific Computation."""


toolchain = {'name': 'Py', 'version': '3.7'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [
    ('PETSc', '3.12.4', '', ('intel', '2020a')),
    ('numpy', '1.18.1'),
]

sanity_check_commands = ["python -c 'from petsc4py import PETSc'"]

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python3.7/site-packages/%(name)s']
}

moduleclass = 'tools'