summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyugrid/package.py
blob: 22e40ccdf280ced7b17fd7b6fa3f094c5daea5c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyPyugrid(PythonPackage):
    """Work with triangular unstructured grids and the data on them."""

    homepage = "https://github.com/pyugrid/pyugrid"
    pypi = "pyugrid/pyugrid-0.3.1.tar.gz"

    version("0.3.1", sha256="eddadc1e88c0e801f780b1e6f636fbfc00e3d14cdab82b43300fde0918310053")

    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-scipy", type=("build", "run"))
    depends_on("py-netcdf4", type=("build", "run"))
    depends_on("py-matplotlib", type=("build", "run"))