summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-editdistance/package.py
blob: 1251d164601024f0fe42c1e747c4648d8c85171c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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.package import *


class PyEditdistance(PythonPackage):
    """Fast implementation of the edit distance (Levenshtein distance)."""

    homepage = "https://github.com/aflc/editdistance"
    pypi = "editdistance/editdistance-0.4.tar.gz"

    version("0.4", sha256="c765db6f8817d38922e4a50be4b9ab338b2c539377b6fcf0bca11dea72eeb8c1")

    depends_on("py-setuptools", type="build")