From d8dadd1435d6c7fcac3321921a5b294ecc2123e9 Mon Sep 17 00:00:00 2001 From: Joe Koning Date: Fri, 2 Oct 2020 13:15:21 -0700 Subject: [PATCH] New package py-click-didyoumean (#19077) --- .../packages/py-click-didyoumean/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-click-didyoumean/package.py diff --git a/var/spack/repos/builtin/packages/py-click-didyoumean/package.py b/var/spack/repos/builtin/packages/py-click-didyoumean/package.py new file mode 100644 index 0000000000..10052f429f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-click-didyoumean/package.py @@ -0,0 +1,18 @@ +# Copyright 2013-2020 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 PyClickDidyoumean(PythonPackage): + """Enable git-like did-you-mean feature in click""" + + homepage = "https://github.com/click-contrib/click-didyoumean" + url = "https://files.pythonhosted.org/packages/9f/79/d265d783dd022541b744d002745d9e55d84c04a41930e35d8795934f6526/click-didyoumean-0.0.3.tar.gz" + + version('0.0.3', sha256='112229485c9704ff51362fe34b2d4f0b12fc71cc20f6d2b3afabed4b8bfa6aeb') + + depends_on('python@3.0:', type=('build', 'run')) + depends_on('py-click', type=('build', 'run')) + depends_on('py-setuptools', type='build')