diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-syned/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-syned/package.py b/var/spack/repos/builtin/packages/py-syned/package.py new file mode 100644 index 0000000000..12c1a98343 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-syned/package.py @@ -0,0 +1,22 @@ +# 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 PySyned(PythonPackage): + """A python library to define the components of a synchrotron beamline and + their positions. They can be read/write to json files. It is used by OASYS + as a common tool to define sources and optical systems that are then + exported to the different add-ons.""" + + homepage = "https://github.com/oasys-kit/syned" + git = "https://github.com/oasys-kit/syned.git" + + version('develop', branch='master') + + depends_on('py-numpy') + depends_on('py-scipy') + depends_on('py-setuptools') |