diff --git a/easybuild/easyconfigs/p/petsc4py/petsc4py-3.20.3-foss-2023b.eb b/easybuild/easyconfigs/p/petsc4py/petsc4py-3.20.3-foss-2023b.eb new file mode 100644 index 000000000000..03fbe5031ec5 --- /dev/null +++ b/easybuild/easyconfigs/p/petsc4py/petsc4py-3.20.3-foss-2023b.eb @@ -0,0 +1,26 @@ +easyblock = 'PythonPackage' + +name = 'petsc4py' +version = '3.22.5' + +homepage = 'https://bitbucket.org/petsc/petsc4py' +description = "petsc4py are Python bindings for PETSc, the Portable, Extensible Toolchain for Scientific Computation." + +toolchain = {'name': 'foss', 'version': '2023b'} + +sources = [SOURCE_TAR_GZ] +checksums = ['8e10884df5ca38191b71294dc7e89f7479b18cca83fedfe27f89105e57c40785'] + +dependencies = [ + ('Python', '3.11.5'), + ('SciPy-bundle', '2023.11'), + ('PETSc', version), +] + +download_dep_fail = True +use_pip = True +sanity_pip_check = True + +sanity_check_commands = ["python -c 'from petsc4py import PETSc'"] + +moduleclass = 'tools'