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>
This commit is contained in:
JeromeDuboisPro 2022-06-22 19:36:49 +02:00 committed by GitHub
parent ffc90f944c
commit 5e9a8d27f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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