diff options
author | Nils Leif Fischer <nils.fischer@aei.mpg.de> | 2022-01-26 23:48:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 17:48:43 -0500 |
commit | 28bda22e528a38a1798980113693f545c49880cc (patch) | |
tree | 13351d0b9b7c7fe95978b4eecae3802a8eb4c050 /var | |
parent | 991438a242423b9abba726874d974626f11fbd05 (diff) | |
download | spack-28bda22e528a38a1798980113693f545c49880cc.tar.gz spack-28bda22e528a38a1798980113693f545c49880cc.tar.bz2 spack-28bda22e528a38a1798980113693f545c49880cc.tar.xz spack-28bda22e528a38a1798980113693f545c49880cc.zip |
New packages: py-quaternionic and py-spherical (#28611)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-quaternionic/package.py | 24 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-spherical/package.py | 25 |
2 files changed, 49 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-quaternionic/package.py b/var/spack/repos/builtin/packages/py-quaternionic/package.py new file mode 100644 index 0000000000..9c5527df03 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-quaternionic/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2022 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 PyQuaternionic(PythonPackage): + """Interpret numpy arrays as quaternionic arrays with numba acceleration""" + + homepage = "https://github.com/moble/quaternionic" + pypi = "quaternionic/quaternionic-1.0.1.tar.gz" + + maintainers = ['nilsleiffischer', 'moble'] + + version('1.0.1', sha256='ea69733d7311784963922bf08cc0c9c938b62fee2f91219f56544ff30658c10e') + + depends_on('python@3.6:3.9', type=('build', 'run')) + depends_on('py-poetry-core@1.0.1:', type='build') + depends_on('py-importlib-metadata@1:', when='^python@:3.7', type=('build', 'run')) + depends_on('py-numpy@1.13:', type=('build', 'run')) + depends_on('py-scipy@1:', type=('build', 'run')) + depends_on('py-numba@0.50:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-spherical/package.py b/var/spack/repos/builtin/packages/py-spherical/package.py new file mode 100644 index 0000000000..05956da4ef --- /dev/null +++ b/var/spack/repos/builtin/packages/py-spherical/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2022 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 PySpherical(PythonPackage): + """Evaluate and transform D matrices, 3-j symbols, and (scalar or + spin-weighted) spherical harmonics""" + + homepage = "https://github.com/moble/spherical" + pypi = "spherical/spherical-1.0.10.tar.gz" + + maintainers = ['nilsleiffischer', 'moble'] + + version('1.0.10', sha256='a7f1d902aa89fd51174a0c69b2379c352d229bf7e088907e8eb4461ad227d95f') + + depends_on('python@3.6:3.9', type=('build', 'run')) + depends_on('py-poetry-core@1.0.1:', type='build') + depends_on('py-importlib-metadata@1:', when='^python@:3.7', type=('build', 'run')) + depends_on('py-numpy@1.13:', type=('build', 'run')) + depends_on('py-numba@0.50:', type=('build', 'run')) + depends_on('py-quaternionic@1:', type=('build', 'run')) |