diff options
author | downloadico <download@carc.unm.edu> | 2024-05-03 16:56:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 15:56:21 -0700 |
commit | 7596aac9589a711ca22d1bc34c5d91ad261dc3ff (patch) | |
tree | e53f3920c0bbae43399d9886c6e6d52d92e70e6f | |
parent | c73ded8ed6280016624590d4302a94405b36859a (diff) | |
download | spack-7596aac9589a711ca22d1bc34c5d91ad261dc3ff.tar.gz spack-7596aac9589a711ca22d1bc34c5d91ad261dc3ff.tar.bz2 spack-7596aac9589a711ca22d1bc34c5d91ad261dc3ff.tar.xz spack-7596aac9589a711ca22d1bc34c5d91ad261dc3ff.zip |
New package: py-pylith (#43987)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pylith/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pylith/package.py b/var/spack/repos/builtin/packages/py-pylith/package.py new file mode 100644 index 0000000000..3ce7c217a7 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pylith/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 PyPylith(AutotoolsPackage, PythonExtension): + """PyLith does dynamic and quasi-static simulations of crustal deformation. + PyLith is an open-source finite-element code for dynamic and quasi-static + simulations of crustal deformation, primarily earthquakes and volcanoes.""" + + homepage = "https://geodynamics.org/resources/pylith" + url = "https://github.com/geodynamics/pylith/releases/download/v4.0.0/pylith-4.0.0.tar.gz" + + license("MIT", checked_by="downloadico") + + version("4.0.0", sha256="31e0131683292ee2e62f2c818cc2777f026104ae73d7a8368975dd6560292689") + + depends_on("py-setuptools") + depends_on("py-cig-pythia") + depends_on("spatialdata") + depends_on("netcdf-c") + depends_on("petsc@=3.20.2+hdf5") + depends_on("py-h5py") |