summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-editdistance/package.py
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-11-13 11:05:17 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2018-11-13 11:05:17 -0600
commit42962f2409fe7b46543dc5974c45bb6392fcea99 (patch)
tree2063188dd6902f9b6ea7e8a2601f6131ac88046d /var/spack/repos/builtin/packages/py-editdistance/package.py
parent041aa143db6964575625f1849de639541efb83a5 (diff)
parent8554e933d2a236df20d07a6e0416ab444790bd3d (diff)
downloadspack-42962f2409fe7b46543dc5974c45bb6392fcea99.tar.gz
spack-42962f2409fe7b46543dc5974c45bb6392fcea99.tar.bz2
spack-42962f2409fe7b46543dc5974c45bb6392fcea99.tar.xz
spack-42962f2409fe7b46543dc5974c45bb6392fcea99.zip
Merge branch 'releases/v0.12'v0.12.0
Diffstat (limited to 'var/spack/repos/builtin/packages/py-editdistance/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-editdistance/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-editdistance/package.py b/var/spack/repos/builtin/packages/py-editdistance/package.py
new file mode 100644
index 0000000000..c3f79c1782
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-editdistance/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2018 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 PyEditdistance(PythonPackage):
+ """Fast implementation of the edit distance (Levenshtein distance)."""
+
+ homepage = "https://github.com/aflc/editdistance"
+ url = "https://pypi.io/packages/source/e/editdistance/editdistance-0.4.tar.gz"
+
+ version('0.4', '27434720ca0930a9b6974b182b6237bc')
+
+ depends_on('py-setuptools', type='build')