diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-mgmetis/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mgmetis/package.py b/var/spack/repos/builtin/packages/py-mgmetis/package.py new file mode 100644 index 0000000000..1f38fddeca --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mgmetis/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyMgmetis(PythonPackage): + """METIS partitioner for mesh and graphMETIS partitioner for mesh and graph""" + + homepage = "https://github.com/chiao45/mgmetis" + git = "https://github.com/chiao45/mgmetis.git" + maintainers("tech-91") + + license("MIT") + + version("master", branch="master") + + depends_on("python@3.7:", type=("build", "run")) + depends_on("py-setuptools", type="build") + depends_on("py-numpy@1.20.0:1.26.4", type=("build", "run")) + depends_on("py-cython", type=("build")) + depends_on("py-mpi4py@3.0.3:", type=("build", "run")) + depends_on("py-pytest") + depends_on("metis+shared", type="all") |