summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-06-22 08:52:19 +0200
committerGitHub <noreply@github.com>2020-06-22 08:52:19 +0200
commit0b74285a14eb84e897906b8948bea4dddbfba2e9 (patch)
tree91d24577c3610364a07c6c69e3a096b921c09cc3
parent73b3bbbd22592e47720b0e5f5580a4e3671067e7 (diff)
downloadspack-0b74285a14eb84e897906b8948bea4dddbfba2e9.tar.gz
spack-0b74285a14eb84e897906b8948bea4dddbfba2e9.tar.bz2
spack-0b74285a14eb84e897906b8948bea4dddbfba2e9.tar.xz
spack-0b74285a14eb84e897906b8948bea4dddbfba2e9.zip
py-pyheadtail: added new package at v1.14.1 (#17159)
Co-authored-by: iarspider <iarpsider@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-pyheadtail/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyheadtail/package.py b/var/spack/repos/builtin/packages/py-pyheadtail/package.py
new file mode 100644
index 0000000000..811bf63b4b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyheadtail/package.py
@@ -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'))