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>
This commit is contained in:
iarspider 2021-12-16 19:29:14 +01:00 committed by GitHub
parent 1b273ed5c9
commit 305f1d68d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')