diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyspellchecker/package.py | 18 |
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') |