[py-pyspellchecker] New package (#27788)

Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
Jen Herting 2021-12-06 11:57:50 -05:00 committed by GitHub
parent d0fffa9212
commit 3b8a34240e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')