py-mgmetis: New package (#46178)

This commit is contained in:
teddy 2024-09-24 18:01:02 +02:00 committed by GitHub
parent befbbec2b3
commit ad75bc022f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")