summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-qutip/package.py
blob: 2b3237341d3d858aebb82d823bbacd8e26aef6eb (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-2024 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 PyQutip(PythonPackage):
    """QuTiP: The Quantum Toolbox in Python"""

    homepage = "https://qutip.org/"
    pypi = "qutip/qutip-4.7.0.tar.gz"

    license("BSD-3-Clause")

    version("4.7.1", sha256="9a87178e68b145c2145b526caa943ccc8400a111325ced45bd17f9b893663af2")
    version("4.7.0", sha256="a9dde64457991ef1c5a7d4186b5348a16a71480a610f1c0902e4d656ddc12e31")

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

    depends_on("py-cython@0.29.20:", type="build")
    depends_on("py-numpy@1.16.6:", type=("build", "run"))
    depends_on("py-scipy@1.0:", type=("build", "run"))