summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyhull/package.py
blob: 6b062ad14edbc0f935b3c8471680f68e5a83a52d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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 PyPyhull(PythonPackage):
    """Pyhull is a Python wrapper to Qhull (http://www.qhull.org/) for the
    computation of the convex hull, Delaunay triangulation and Voronoi diagram.
    It is written as a Python C extension, with both high-level and low-level
    interfaces to qhull."""

    homepage = "https://github.com/materialsvirtuallab/pyhull"
    pypi = "pyhull/pyhull-2015.2.1.tar.gz"

    maintainers("meyersbs")

    license("MIT")

    version("2015.2.1", sha256="d2ff0aa3298b548287587609a24f4e2aae7f7b8b1df152a90cd313260abc3a24")

    # From setup.py:
    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))