added package py-shtab
This commit is contained in:
parent
4a6676c441
commit
430b7f3ebd
1 changed files with 21 additions and 0 deletions
21
var/spack/repos/builtin/packages/py-shtab/package.py
Normal file
21
var/spack/repos/builtin/packages/py-shtab/package.py
Normal file
|
@ -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'))
|
Loading…
Reference in a new issue