summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-12-06 11:57:50 -0500
committerGitHub <noreply@github.com>2021-12-06 10:57:50 -0600
commit3b8a34240e1216f4f05145f461adf0d3cfb8b17e (patch)
tree2b7c5753e3b4c02bf1fda78ad628e07dc2ef132f
parentd0fffa921223b3bf9c5fb727aac0a625ee45bb1f (diff)
downloadspack-3b8a34240e1216f4f05145f461adf0d3cfb8b17e.tar.gz
spack-3b8a34240e1216f4f05145f461adf0d3cfb8b17e.tar.bz2
spack-3b8a34240e1216f4f05145f461adf0d3cfb8b17e.tar.xz
spack-3b8a34240e1216f4f05145f461adf0d3cfb8b17e.zip
[py-pyspellchecker] New package (#27788)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
-rw-r--r--var/spack/repos/builtin/packages/py-pyspellchecker/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyspellchecker/package.py b/var/spack/repos/builtin/packages/py-pyspellchecker/package.py
new file mode 100644
index 0000000000..61a112fc86
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyspellchecker/package.py
@@ -0,0 +1,18 @@
+# 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 PyPyspellchecker(PythonPackage):
+ """Pure python spell checker based on work by Peter Norvig"""
+
+ homepage = "https://github.com/barrust/pyspellchecker"
+ pypi = "pyspellchecker/pyspellchecker-0.6.2.tar.gz"
+
+ version('0.6.2', sha256='af6a1d0393a175499475a873f31e52135f1efd5fc912c979101b795b3c2ee77f')
+
+ depends_on('python@3.0:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')