import py-editdist-0.3:

> py-editdist is a Python module to calculate the Levenshtein edit
> distance between two strings.
This commit is contained in:
djm 2009-01-26 23:43:20 +00:00
parent f954712cb7
commit 28198f320a
4 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/26 23:43:20 djm Exp $
COMMENT= calculate Levenshtein distance between two strings
MODPY_EGG_VERSION= 0.3
DISTNAME= py-editdist-${MODPY_EGG_VERSION}
CATEGORIES= devel
HOMEPAGE= http://www.mindrot.org/projects/py-editdist/
MAINTAINER= Damien Miller <djm@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.mindrot.org/files/py-editdist/
MODULES= lang/python
do-regress: fake
@cd ${WRKSRC} && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./test.py
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (py-editdist-0.3.tar.gz) = jWaXFFriGnilqBfK3u2x6g==
RMD160 (py-editdist-0.3.tar.gz) = ztLwGQcEyvtXWAFRA9VC20ToYG4=
SHA1 (py-editdist-0.3.tar.gz) = R8eiNOH5E0FcoyCYSp+8PF5nsdE=
SHA256 (py-editdist-0.3.tar.gz) = F8W9KFLNTqsnSCpBmnOwfe2gsJ5AuAV9b6+6U+ynxek=
SIZE (py-editdist-0.3.tar.gz) = 4354

View File

@ -0,0 +1,2 @@
py-editdist is a Python module to calculate the Levenshtein edit
distance between two strings.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/26 23:43:20 djm Exp $
lib/python${MODPY_VERSION}/site-packages/editdist-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/editdist.so