1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Levenshtein computes Levenshtein distances, similarity ratios, generalized

medians and set medians of Strings and Unicodes.  Becuase it's implemented
in C, it's much faster than corresponding Python library functions and
methods.

WWW: http://trific.ath.cx/resources/python/levenshtein/

PR:		ports/102702
Submitted by:	Aron Stansvik <elvstone@gmail.com>
This commit is contained in:
Pav Lucistnik 2006-08-31 18:06:42 +00:00
parent a08eac1dad
commit aa86d42498
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171743
5 changed files with 35 additions and 0 deletions

View File

@ -1667,6 +1667,7 @@
SUBDIR += py-kid
SUBDIR += py-kjbuckets
SUBDIR += py-kqueue
SUBDIR += py-levenshtein
SUBDIR += py-ll-core
SUBDIR += py-log4py
SUBDIR += py-logging

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: py-levenshtein
# Date created: 30 August 2006
# Whom: Aron Stansvik <elvstone@gmail.com>
#
# $FreeBSD$
#
PORTNAME= levenshtein
PORTVERSION= 0.10.1
CATEGORIES= devel python
MASTER_SITES= http://trific.ath.cx/Ftp/python/levenshtein/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-Levenshtein-${PORTVERSION}
MAINTAINER= elvstone@gmail.com
COMMENT= Python extension computing string distances and similarities
WRKSRC= ${WRKDIR}/python-Levenshtein-${PORTVERSION}
USE_PYTHON= 2.2+
USE_PYTHON_PREFIX= yes
USE_PYDISTUTILS= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (python-Levenshtein-0.10.1.tar.gz) = c21cb043bb2951b3197a0447bd61aba4
SHA256 (python-Levenshtein-0.10.1.tar.gz) = 0b39f0de210f8511af7c440c4d3d94ba8eb4b14a24677ee39750e4b2e75ed014
SIZE (python-Levenshtein-0.10.1.tar.gz) = 41984

View File

@ -0,0 +1,6 @@
Levenshtein computes Levenshtein distances, similarity ratios, generalized
medians and set medians of Strings and Unicodes. Becuase it's implemented
in C, it's much faster than corresponding Python library functions and
methods.
WWW: http://trific.ath.cx/resources/python/levenshtein/

View File

@ -0,0 +1 @@
%%PYTHON_SITELIBDIR%%/Levenshtein.so