From 8917d58e7af5a82effe75842c655c2285789eee9 Mon Sep 17 00:00:00 2001 From: Sajid Ali <30510036+s-sajid-ali@users.noreply.github.com> Date: Mon, 13 Jan 2020 06:45:47 -0600 Subject: [PATCH] syned: new package at develop (#14468) --- .../builtin/packages/py-syned/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-syned/package.py 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 00000000000..12c1a983430 --- /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')