From 5e9a8d27f723d26fc6eacd8cea00e94e65defb13 Mon Sep 17 00:00:00 2001 From: JeromeDuboisPro <59056395+JeromeDuboisPro@users.noreply.github.com> Date: Wed, 22 Jun 2022 19:36:49 +0200 Subject: add first version of py-pyrr package (#31211) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 * Better specify dependency type Co-authored-by: Adam J. Stewart * remove useless variable license Co-authored-by: Jérôme Dubois Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/py-pyrr/package.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pyrr/package.py (limited to 'var') 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')) -- cgit v1.2.3-70-g09d2