py-click: add 8.0.1 (#24041)

This commit is contained in:
Manuela Kuhn 2021-06-01 00:46:20 +02:00 committed by GitHub
parent c6da94473d
commit 1fae271be8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,25 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class PyClick(PythonPackage):
"""A simple wrapper around optparse for powerful command line utilities."""
homepage = "http://github.com/mitsuhiko/click"
from spack import *
class PyClick(PythonPackage):
"""Python composable command line interface toolkit."""
homepage = "https://click.palletsprojects.com"
pypi = "click/click-7.1.2.tar.gz"
version('8.0.1', sha256='8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a')
version('7.1.2', sha256='d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a')
version('7.0', sha256='5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7',
url='https://pypi.io/packages/source/c/click/Click-7.0.tar.gz')
version('6.6', sha256='cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9')
depends_on('python@3.6:', type=('build', 'run'), when='@8.0.0:')
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-importlib-metadata', type=('build', 'run'), when='@8.0.0: ^python@:3.7.999')
# depends_on('py-colorama', type=('build', 'run'), when='platform=windows')