blob: 1c7ac8750f5f358d54835552007efaff0a5d832f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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"))
|