summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-triangle/package.py
blob: a1ea8fe592940635cc486e052ccbc55c039ae1f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2021 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 PyTriangle(PythonPackage):
    """Python bindings to the triangle library"""

    homepage = 'https://github.com/drufat/triangle'
    pypi     = 'triangle/triangle-20200424.tar.gz'

    version('20200424', sha256='fc207641f8f39986f7d2bee1b91688a588cd235d2e67777422f94e61fece27e9')

    depends_on('triangle',  type=('build', 'run'))
    depends_on('py-numpy',  type=('build', 'run'))
    depends_on('py-cython', type=('build'))