diff options
author | Ben Cowan <benc@txcorp.com> | 2020-12-16 18:58:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 17:58:41 -0800 |
commit | ed740fb654281efa3789284bce08c8e631c557fc (patch) | |
tree | 1090a072e20e362987237bf2d54c6a6bc8edd480 /var | |
parent | 2bc5516a956fc9fac8ad3a6699955d4ab276ad08 (diff) | |
download | spack-ed740fb654281efa3789284bce08c8e631c557fc.tar.gz spack-ed740fb654281efa3789284bce08c8e631c557fc.tar.bz2 spack-ed740fb654281efa3789284bce08c8e631c557fc.tar.xz spack-ed740fb654281efa3789284bce08c8e631c557fc.zip |
Added PyAMG package. (#20414)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyamg/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyamg/package.py b/var/spack/repos/builtin/packages/py-pyamg/package.py new file mode 100644 index 0000000000..6fb9f4c94d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyamg/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2020 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 import * + + +class PyPyamg(PythonPackage): + """PyAMG is a library of Algebraic Multigrid (AMG) solvers with + a convenient Python interface.""" + + homepage = "https://github.com/pyamg/pyamg" + url = "https://github.com/pyamg/pyamg/archive/v4.0.0.zip" + + # A list of GitHub accounts to notify when the package is updated. + maintainers = ['benc303'] + + version('4.0.0', sha256="015d5e706e6e54d3de82e05fdb173c30d8b27cb8a117ab584cd62ad41d9ea042") + + # Dependencies. A generic python dependency is added implicity by the + # PythonPackage class. + depends_on("py-setuptools", type="build") + depends_on("py-numpy", type=("build", "run")) + depends_on("py-scipy", type=("build", "run")) |