spack/var/spack/repos/builtin/packages/py-triangle/package.py
2023-07-09 20:12:42 -04:00

23 lines
754 B
Python

# 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 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("python@:3.9", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-cython", type="build")
depends_on("triangle", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))