summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-04-14 15:08:09 -0400
committerGitHub <noreply@github.com>2022-04-14 14:08:09 -0500
commit00313f9e20fa3817a5d20fabf1c20b0bdaf30ba1 (patch)
tree21fc632706ea4941687bc711c810157f645b3291
parent6c03e1efb6d912d673c049f2730473ecd8ac3a18 (diff)
downloadspack-00313f9e20fa3817a5d20fabf1c20b0bdaf30ba1.tar.gz
spack-00313f9e20fa3817a5d20fabf1c20b0bdaf30ba1.tar.bz2
spack-00313f9e20fa3817a5d20fabf1c20b0bdaf30ba1.tar.xz
spack-00313f9e20fa3817a5d20fabf1c20b0bdaf30ba1.zip
New package: py-distance (#29546)
* [py-distance] created template * [py-distance] - added homepage - added description - removed fixmes * [py-distance] depends on setuptools
-rw-r--r--var/spack/repos/builtin/packages/py-distance/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-distance/package.py b/var/spack/repos/builtin/packages/py-distance/package.py
new file mode 100644
index 0000000000..10d44e6fda
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-distance/package.py
@@ -0,0 +1,20 @@
+# 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 PyDistance(PythonPackage):
+ """This package provides helpers for computing similarities
+ between arbitrary sequences. Included metrics are
+ Levenshtein, Hamming, Jaccard, and Sorensen distance, plus
+ some bonuses."""
+
+ homepage = "https://github.com/doukremt/distance"
+ pypi = "Distance/Distance-0.1.3.tar.gz"
+
+ version('0.1.3', sha256='60807584f5b6003f5c521aa73f39f51f631de3be5cccc5a1d67166fcbf0d4551')
+
+ depends_on('py-setuptools', type='build')