summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-modred/package.py
blob: 27a45fc013e62c9003389defe58227b4f5e3165c (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
# 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 PyModred(PythonPackage):
    """Modred is a parallelized library for finding
    modal decompositions and reduced-order models.
    """

    homepage = "https://github.com/belson17/modred"
    git = "https://github.com/belson17/modred.git"

    version("2.0.4", tag="v2.0.4")
    version("2.0.3", tag="v2.0.3")
    version("2.0.2", tag="v2.0.2")
    version("2.0.1", tag="v2.0.1")
    version("2.0.0", tag="v2.0.0")

    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type="run")

    patch("v2x-setuptools-8.0.patch", when="@2: ^py-setuptools@8.0:")