From 5b04146f8a3ce16240d99f588982512ff4d15dd8 Mon Sep 17 00:00:00 2001 From: Benjamin Meyers Date: Sat, 18 Mar 2023 18:02:31 -0400 Subject: New package py-pyhull (#36107) * New package py-pyhull * [@spackbot] updating style on behalf of meyersbs --- .../repos/builtin/packages/py-pyhull/package.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pyhull/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-pyhull/package.py b/var/spack/repos/builtin/packages/py-pyhull/package.py new file mode 100644 index 0000000000..ede4130091 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyhull/package.py @@ -0,0 +1,24 @@ +# 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") + + version("2015.2.1", sha256="d2ff0aa3298b548287587609a24f4e2aae7f7b8b1df152a90cd313260abc3a24") + + # From setup.py: + depends_on("py-setuptools", type="build") + depends_on("py-numpy", type=("build", "run")) -- cgit v1.2.3-70-g09d2