diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pylev/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pylev/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pylev/package.py b/var/spack/repos/builtin/packages/py-pylev/package.py new file mode 100644 index 0000000000..393aaff658 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pylev/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 PyPylev(PythonPackage): + """A pure Python Levenshtein implementation that's not freaking GPL'd.""" + + homepage = "http://github.com/toastdriven/pylev" + pypi = "pylev/pylev-1.4.0.tar.gz" + + version('1.4.0', sha256='9e77e941042ad3a4cc305dcdf2b2dec1aec2fbe3dd9015d2698ad02b173006d1') + + depends_on('python@2.7,3.3:', type=('build', 'run')) + depends_on('py-setuptools@42:', type='build') |