summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-12-16 19:29:14 +0100
committerGitHub <noreply@github.com>2021-12-16 11:29:14 -0700
commit305f1d68d66d06ea17335f4725bdeef19cba75c2 (patch)
tree344f67874198ea7e5ad424594df9ea95a3e12a99 /var
parent1b273ed5c97c69d6b0aec9cc55df2df365028a53 (diff)
downloadspack-305f1d68d66d06ea17335f4725bdeef19cba75c2.tar.gz
spack-305f1d68d66d06ea17335f4725bdeef19cba75c2.tar.bz2
spack-305f1d68d66d06ea17335f4725bdeef19cba75c2.tar.xz
spack-305f1d68d66d06ea17335f4725bdeef19cba75c2.zip
New package: py-scinum (#28041)
* New package: py-scinum * Update var/spack/repos/builtin/packages/py-scinum/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-scinum/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-scinum/package.py b/var/spack/repos/builtin/packages/py-scinum/package.py
new file mode 100644
index 0000000000..1c364a6388
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-scinum/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 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 import *
+
+
+class PyScinum(PythonPackage):
+ """Scientific numbers with multiple uncertainties and
+ correlation-aware, gaussian propagation and numpy"""
+
+ homepage = "https://github.com/riga/scinum"
+ pypi = "scinum/scinum-1.2.0.tar.gz"
+
+ version('1.2.0', sha256='31802d9b580f3a89c0876f34432851bc4def9cb2844d6f3c8e044480f2dd2f91')
+
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')