summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyugrid/package.py
blob: cda5affeec5d88a3316d13a58e11250bc69624f4 (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-2023 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"))