summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyugrid/package.py
blob: 5960ae83448a1e28d93d2c592e31792f05c6b514 (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-2019 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 PyPyugrid(PythonPackage):
    """Work with triangular unstructured grids and the data on them."""

    homepage = "https://github.com/pyugrid/pyugrid"
    url      = "https://pypi.io/packages/source/p/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'))