summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-inquirer/package.py
blob: 30d5453cf1206234398d846a84a9f2579226e34f (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-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 PyInquirer(PythonPackage):
    """Collection of common interactive command line user interfaces, based on Inquirer.js."""

    homepage = "https://github.com/magmax/python-inquirer"
    pypi = "inquirer/inquirer-3.1.3.tar.gz"

    license("MIT")

    version("3.1.3", sha256="aac309406f5b49d4b8ab7c6872117f43bf082a552dc256aa16bc95e16bb58bec")

    depends_on("python@3.8:", type=("build", "run"))
    depends_on("py-poetry-core@1:", type="build")
    depends_on("py-blessed@1.19:", type=("build", "run"))
    depends_on("py-readchar@3.0.6:", type=("build", "run"))
    depends_on("py-python-editor@1.0.4:", type=("build", "run"))