From 430b7f3ebd78447b3764cade6dacd050d4e3df6a Mon Sep 17 00:00:00 2001 From: Bryan Herman Date: Tue, 26 Jan 2021 17:28:24 +0000 Subject: [PATCH] added package py-shtab --- .../builtin/packages/py-shtab/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-shtab/package.py diff --git a/var/spack/repos/builtin/packages/py-shtab/package.py b/var/spack/repos/builtin/packages/py-shtab/package.py new file mode 100644 index 0000000000..089e549bc5 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-shtab/package.py @@ -0,0 +1,21 @@ +# 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 PyShtab(PythonPackage): + """Automatically generate shell tab completion scripts for python CLI apps.""" + + homepage = "https://github.com/iterative/shtab" + pypi = "shtab/shtab-1.3.3.tar.gz" + + version('1.3.4', sha256='353f2a3a5178cd2df8eb746e7ab26a5039a9989e4386de8fd239d8c1653a8887') + version('1.3.3', sha256='1f7f263631acdf0a9e685bbf7126a0fa711c2d663db12441670b1cea3fa431d4') + + # setuptools and setuptools_scm imported in shtab/__init__.py + depends_on('python@2.7,3.2:', type=('build', 'run')) + depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-setuptools-scm', type=('build', 'run'))