summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-syned/package.py
blob: a497e22cd2a83566ac918a995109e4d2fb8a16d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2023 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 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")