From 5949fc2c88702cf4b912bb55bfecf65d43dda77a Mon Sep 17 00:00:00 2001 From: Jonas Eschle Date: Sun, 18 Feb 2024 04:17:35 -0500 Subject: add package py-jacobi (#42672) * add package py-jacobi * fix: add description * fix: add description * fix: add description * [@spackbot] updating style on behalf of jonas-eschle * Update package.py * Update package.py * Update var/spack/repos/builtin/packages/py-jacobi/package.py I don't think that numpy is used in "build"? But not important Co-authored-by: Adam J. Stewart --------- Co-authored-by: jonas-eschle Co-authored-by: Adam J. Stewart --- .../repos/builtin/packages/py-jacobi/package.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-jacobi/package.py diff --git a/var/spack/repos/builtin/packages/py-jacobi/package.py b/var/spack/repos/builtin/packages/py-jacobi/package.py new file mode 100644 index 0000000000..9867d8bb8b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jacobi/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2024 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 PyJacobi(PythonPackage): + """Fast numerical derivatives for analytic functions + with arbitrary round-off error and error propagation.""" + + homepage = "https://github.com/hdembinski/jacobi" + pypi = "jacobi/jacobi-0.9.2.tar.gz" + + maintainers("jonas-eschle") + license("MIT", checked_by="jonas-eschle") + + version("0.9.2", sha256="c11f481663246ef1c2da915b9f9ab4ef229051fb14e0afc232d4668301320828") + + depends_on("python@3.8:", type=("build", "run")) + depends_on("py-setuptools@42:", type="build") + depends_on("py-setuptools-scm@3.4:+toml", type="build") + depends_on("py-numpy", type=("build", "run")) -- cgit v1.2.3-70-g09d2