summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cleo/package.py
blob: 60f5ddb22b185806b52b4ede2aa4d9378a3c4809 (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
39
# 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 PyCleo(PythonPackage):
    """Cleo allows you to create beautiful and testable command-line interfaces."""

    homepage = "https://github.com/sdispater/cleo"
    pypi = "cleo/cleo-0.8.1.tar.gz"

    maintainers("LydDeb")

    license("MIT")

    version("2.1.0", sha256="0b2c880b5d13660a7ea651001fb4acb527696c01f15c9ee650f377aa543fd523")
    version("2.0.1", sha256="eb4b2e1f3063c11085cebe489a6e9124163c226575a3c3be69b2e51af4a15ec5")
    version("2.0.0", sha256="fbc5cb141cbc31ea8ffd3d5cd67d3b183fa38aa5098fd37e39e9a953a232fda9")
    version("1.0.0", sha256="bb5e4f70db83a597575ec86a1ed8fc56bd80934cfea3db97a23ea50c03b78382")
    version(
        "1.0.0a5",
        sha256="097c9d0e0332fd53cc89fc11eb0a6ba0309e6a3933c08f7b38558555486925d3",
        deprecated=True,
    )
    version("0.8.1", sha256="3d0e22d30117851b45970b6c14aca4ab0b18b1b53c8af57bed13208147e4069f")

    depends_on("python@2.7,3.4:3", type=("build", "run"))
    depends_on("python@3.7:3", when="@1:", type=("build", "run"))
    depends_on("py-poetry-core@1:", type="build")
    depends_on("py-poetry-core@1.1:1", when="@1:2.0.0", type="build")
    depends_on("py-poetry-core@1.1.0:", when="@2.0.1:", type="build")
    depends_on("py-clikit@0.6", when="@0.8.1", type=("build", "run"))
    depends_on("py-pylev@1.3:1", when="@1.0.0a5", type=("build", "run"))
    depends_on("py-crashtest@0.4.1:0.4", when="@1:", type=("build", "run"))
    depends_on("py-rapidfuzz@2.2:2", when="@1:2.0", type=("build", "run"))
    depends_on("py-rapidfuzz@3", when="@2.1:", type=("build", "run"))