py-pyheadtail: added new package at v1.14.1 (#17159)

Co-authored-by: iarspider <iarpsider@gmail.com>
This commit is contained in:
iarspider 2020-06-22 08:52:19 +02:00 committed by GitHub
parent 73b3bbbd22
commit 0b74285a14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,24 @@
# Copyright 2013-2020 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 PyPyheadtail(PythonPackage):
"""CERN PyHEADTAIL numerical n-body simulation code for simulating
macro-particle beam dynamics with collective effects."""
homepage = "https://github.com/PyCOMPLETE/PyHEADTAIL"
url = "https://pypi.io/packages/source/P/PyHEADTAIL/PyHEADTAIL-1.14.1.tar.gz"
version('1.14.1', sha256='bf90ac7e8764176c55e82c363cad7ab43543863b6ef482760ced23b78e917bb4')
version('1.13.1', sha256='29c742573a918126b5a9c21806ee0ec6a34ec642a0e6ad200f6d4551bf1bb310')
depends_on('python', type=('build', 'run'))
depends_on('python@3:', when='@1.13.5:', type=('build', 'run'))
depends_on('py-cython', type='build')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-h5py', type=('build', 'run'))