summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-click-didyoumean/package.py18
1 files changed, 18 insertions, 0 deletions
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')