summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-questionary/package.py
blob: d14639165e4cfe9681d57dff9a52c3a9a4d44f73 (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 PyQuestionary(PythonPackage):
    """Questionary is a Python library for effortlessly building
    pretty command line interfaces.
    """

    homepage = "https://github.com/tmbo/questionary"
    pypi = "questionary/questionary-1.9.0.tar.gz"

    license("MIT")

    version("1.9.0", sha256="a050fdbb81406cddca679a6f492c6272da90cb09988963817828f697cf091c55")

    depends_on("python@3.6:3.9", type=("build", "run"))
    depends_on("py-poetry@1.0.5:", type="build")
    depends_on("py-prompt-toolkit@2.0:3", type=("build", "run"))