summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-click-repl/package.py
blob: e0ad86e16c9857f82e3127da2c2c36fcca3f077e (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
# 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 PyClickRepl(PythonPackage):
    """Subcommand REPL for click apps"""

    homepage = "https://github.com/click-contrib/click-repl"
    pypi = "click-repl/click-repl-0.1.6.tar.gz"

    license("MIT")

    version("0.2.0", sha256="cd12f68d745bf6151210790540b4cb064c7b13e571bc64b6957d98d120dacfd8")
    version("0.1.6", sha256="b9f29d52abc4d6059f8e276132a111ab8d94980afe6a5432b9d996544afa95d5")

    depends_on("python@3.0:", type=("build", "run"))
    depends_on("py-click", type=("build", "run"))
    depends_on("py-prompt-toolkit", type=("build", "run"))
    depends_on("py-six", type=("build", "run"))
    depends_on("py-setuptools", type="build")