summaryrefslogtreecommitdiff
path: root/textproc/py-Levenshtein
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2017-03-01 10:31:19 +0000
committerleot <leot@pkgsrc.org>2017-03-01 10:31:19 +0000
commit916e5728b79c24be1ef4cc9ac0a10a57326b9236 (patch)
treed779953eb49a1533f870687c2b605a9843ea6114 /textproc/py-Levenshtein
parent601e049016f8210b97109fa8fe195a568d347b08 (diff)
downloadpkgsrc-916e5728b79c24be1ef4cc9ac0a10a57326b9236.tar.gz
Import py-Levenshtein-0.12.0 as textproc/py-Levenshtein
The Levenshtein Python C extension module contains functions for fast computation of: Levenshtein (edit) distance and edit operations, string similarity, approximate median strings and general string averaging, and string sequence and set similarity. It supports both normal and Unicode strings. Packaged by David H. Gutteridge via PR pkg/52017
Diffstat (limited to 'textproc/py-Levenshtein')
-rw-r--r--textproc/py-Levenshtein/DESCR5
-rw-r--r--textproc/py-Levenshtein/Makefile14
-rw-r--r--textproc/py-Levenshtein/PLIST18
-rw-r--r--textproc/py-Levenshtein/distinfo6
4 files changed, 43 insertions, 0 deletions
diff --git a/textproc/py-Levenshtein/DESCR b/textproc/py-Levenshtein/DESCR
new file mode 100644
index 00000000000..2325899f6a2
--- /dev/null
+++ b/textproc/py-Levenshtein/DESCR
@@ -0,0 +1,5 @@
+The Levenshtein Python C extension module contains functions for fast
+computation of: Levenshtein (edit) distance and edit operations, string
+similarity, approximate median strings and general string averaging,
+and string sequence and set similarity. It supports both normal and
+Unicode strings.
diff --git a/textproc/py-Levenshtein/Makefile b/textproc/py-Levenshtein/Makefile
new file mode 100644
index 00000000000..e38e3ae3d2a
--- /dev/null
+++ b/textproc/py-Levenshtein/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/03/01 10:31:19 leot Exp $
+
+DISTNAME= python-Levenshtein-0.12.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-Levenshtein/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/ztane/python-Levenshtein
+COMMENT= Python extension for computing string edit distances
+LICENSE= gnu-gpl-v2
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-Levenshtein/PLIST b/textproc/py-Levenshtein/PLIST
new file mode 100644
index 00000000000..dd0a9ec4ae9
--- /dev/null
+++ b/textproc/py-Levenshtein/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/01 10:31:19 leot Exp $
+${PYSITELIB}/Levenshtein/StringMatcher.py
+${PYSITELIB}/Levenshtein/StringMatcher.pyc
+${PYSITELIB}/Levenshtein/StringMatcher.pyo
+${PYSITELIB}/Levenshtein/__init__.py
+${PYSITELIB}/Levenshtein/__init__.pyc
+${PYSITELIB}/Levenshtein/__init__.pyo
+${PYSITELIB}/Levenshtein/_levenshtein.c
+${PYSITELIB}/Levenshtein/_levenshtein.h
+${PYSITELIB}/Levenshtein/_levenshtein.so
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/textproc/py-Levenshtein/distinfo b/textproc/py-Levenshtein/distinfo
new file mode 100644
index 00000000000..bee5b5e8a50
--- /dev/null
+++ b/textproc/py-Levenshtein/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/03/01 10:31:19 leot Exp $
+
+SHA1 (python-Levenshtein-0.12.0.tar.gz) = e24d85c9d632038f98202af687eb3d428eca0ac1
+RMD160 (python-Levenshtein-0.12.0.tar.gz) = 710a87493ceef19ae046195c2d561f2d4d64cf6e
+SHA512 (python-Levenshtein-0.12.0.tar.gz) = 95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5
+Size (python-Levenshtein-0.12.0.tar.gz) = 48617 bytes