summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-luigi/package.py
blob: d79e9c77ff52dea674d6b7aa64e0801b81ea2322 (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 PyLuigi(PythonPackage):
    """Workflow mgmgt + task scheduling + dependency resolution"""

    homepage = "https://github.com/spotify/luigi"
    pypi = "luigi/luigi-2.8.3.tar.gz"

    version("3.2.0", sha256="5ef267ebfbbd5747576821b6835e08e956e24055841dee0ef7b1319b4e9d4740")
    version("3.1.1", sha256="29961582db2704d8df4ec01f6b8f7f0d529cc8f27cff67733ccd809299771218")
    version("3.1.0", sha256="1ae7d76e6f8889e9ed40c699891f990eb6697c974eeaf8ab010f0dfc3766adf1")
    version("3.0.3", sha256="7edc05a32bcff5aad28d7c7e3b15b761ef13fe2a495692602ebf0800eba66849")
    version("3.0.2", sha256="b4b1ccf086586d041d7e91e68515d495c550f30e4d179d63863fea9ccdbb78eb")
    version("3.0.1", sha256="f158f4e093638bf734e2f4f08261bdba414bac7187ab69f1d6f8c95b1c408409")
    version("2.8.3", sha256="8b5c84a3c3f4df07309056d3b98348b93c054f1931b7ee22fc29e7989f645c9e")

    depends_on("python@2.7:2.8,3.3:", type=("build", "run"))
    depends_on("python@3.3:", type=("build", "run"), when="@3.0.0:")
    depends_on("python@3.5:", type=("build", "run"), when="@3.0.2:")

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

    depends_on("py-tornado@4.0:4", type=("build", "run"), when="@:2")
    depends_on("py-tornado@5.0:5", type=("build", "run"), when="@3.0.1")
    depends_on("py-tornado@5.0:6", type=("build", "run"), when="@3.0.2:")

    depends_on("py-tenacity@6.3.0:6", type=("build", "run"), when="@3.0.3:3.0")
    depends_on("py-tenacity@8.0.0:8", type=("build", "run"), when="@3.1:")

    depends_on("py-python-daemon", type=("build", "run"))

    depends_on("py-python-dateutil@2.7.5:2", when="@2.8.3:", type=("build", "run"))