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

    license("BSD-3-Clause")

    version("1.4.0", sha256="9e77e941042ad3a4cc305dcdf2b2dec1aec2fbe3dd9015d2698ad02b173006d1")

    depends_on("python@2.7,3.3:", type=("build", "run"))
    depends_on("py-setuptools@42:", type="build")