From 155bbab44bf8cac1d793d64aea257bbf4a03f77e Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Sun, 14 Feb 2021 18:46:52 +0100 Subject: py-questionary: new package (#21658) --- .../repos/builtin/packages/py-questionary/package.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-questionary/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-questionary/package.py b/var/spack/repos/builtin/packages/py-questionary/package.py new file mode 100644 index 0000000000..62b21eed9e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-questionary/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 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 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" + + version('1.9.0', sha256='a050fdbb81406cddca679a6f492c6272da90cb09988963817828f697cf091c55') + + depends_on('python@3.6:3.9.999', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-prompt-toolkit@2.0:3.99', type=('build', 'run')) -- cgit v1.2.3-60-g2f50