summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pylev/package.py
blob: a56f1ca8ccacf3607703197dbb5245da52b575c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2022 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')