summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-opppy/package.py
blob: 1e07d644330171f9051bb01b2b8acdfa62553623 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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 PyOpppy(PythonPackage):
    """The Output Parse-Plot Python (OPPPY) library is a python based data
    analysis library designed to extract, store, and plot information from
    output and dump files generated by scientific software packages."""

    homepage = "https://github.com/lanl/OPPPY"
    url = "https://github.com/lanl/OPPPY/archive/refs/tags/opppy-0_1_2.tar.gz"
    git = "https://github.com/lanl/OPPPY.git"
    maintainers("clevelam")

    license("BSD-3-Clause")

    version("master", branch="master")
    version("0_1_7", sha256="6ef17e289de2c469ac931288fc5debee77583b300e35fa72080ee06d0e27f7af")
    version("0_1_6", sha256="1f385ffa39c90d3b338aceb563c5f4952d01041fff0ec94084c84e9e1107023e")
    version("0_1_5", sha256="d9df166d347c18d4f145059b4c2fb23dbfbecf0dd5a3398f29e52d3e261844b0")
    version("0_1_4", sha256="22d81a64856f4c12f8079440c837d7d1f45153e68c405b45bed8b6d35831e948")
    version("0_1_3", sha256="c3ca97f2ff8ab319b5c7257baa8cab852387dc00d426b4534c06f0894363c541")
    version("0_1_2", sha256="ef3795d3164fa0aa7ea7da7e223d6d0a48d2960aefd03a7d90cdb8b8f480cd4c")
    version(
        "0_1_1",
        sha256="505c023853e75552abc65de9777a125ecb6a99a1cb4e605a4f702af837e3168b",
        url="https://github.com/lanl/OPPPY/archive/refs/tags/OPPPY-0_1_1.tar.gz",
    )

    depends_on("py-setuptools", type=("build"))
    depends_on("py-numpy@1.6:", type=("build", "run"))
    depends_on("python@3:", type=("build", "run"))
    depends_on("py-scipy", type=("build", "run"))
    depends_on("py-matplotlib", type=("build", "run"))