summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Eschle <jonas.eschle@cern.ch>2024-02-18 04:17:35 -0500
committerGitHub <noreply@github.com>2024-02-18 03:17:35 -0600
commit5949fc2c88702cf4b912bb55bfecf65d43dda77a (patch)
treeeb5c846344dbeada2d4c4daa4c16b678fcf9d72b
parentfd10cfdebfa3e5b18c52b307b2efb1f0cb4a1b77 (diff)
downloadspack-5949fc2c88702cf4b912bb55bfecf65d43dda77a.tar.gz
spack-5949fc2c88702cf4b912bb55bfecf65d43dda77a.tar.bz2
spack-5949fc2c88702cf4b912bb55bfecf65d43dda77a.tar.xz
spack-5949fc2c88702cf4b912bb55bfecf65d43dda77a.zip
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 <ajstewart426@gmail.com> --------- Co-authored-by: jonas-eschle <jonas-eschle@users.noreply.github.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-jacobi/package.py24
1 files changed, 24 insertions, 0 deletions
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"))