summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeromeDuboisPro <59056395+JeromeDuboisPro@users.noreply.github.com>2022-06-22 19:36:49 +0200
committerGitHub <noreply@github.com>2022-06-22 10:36:49 -0700
commit5e9a8d27f723d26fc6eacd8cea00e94e65defb13 (patch)
tree4dd34da90aeb9aada1044994bf21b54724fd48e1
parentffc90f944c8c87e6ed9c1541f910d31f7aa721f5 (diff)
downloadspack-5e9a8d27f723d26fc6eacd8cea00e94e65defb13.tar.gz
spack-5e9a8d27f723d26fc6eacd8cea00e94e65defb13.tar.bz2
spack-5e9a8d27f723d26fc6eacd8cea00e94e65defb13.tar.xz
spack-5e9a8d27f723d26fc6eacd8cea00e94e65defb13.zip
add first version of py-pyrr package (#31211)
* add first version of py-pyrr package * added license * update license HEADER * Remove preferred as there is only one version available Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Better specify dependency type Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * remove useless variable license Co-authored-by: Jérôme Dubois <jerome.dubois@cea.fr> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-pyrr/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyrr/package.py b/var/spack/repos/builtin/packages/py-pyrr/package.py
new file mode 100644
index 0000000000..f82e586353
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyrr/package.py
@@ -0,0 +1,20 @@
+# 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.package import *
+
+
+class PyPyrr(PythonPackage):
+ """3D mathematical functions using NumPy."""
+
+ homepage = "https://github.com/adamlwgriffiths/Pyrr"
+ pypi = "pyrr/pyrr-0.10.3.tar.gz"
+ maintainers = ['JeromeDuboisPro']
+
+ version('0.10.3', sha256='3c0f7b20326e71f706a610d58f2190fff73af01eef60c19cb188b186f0ec7e1d')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-multipledispatch', type=('build', 'run'))