diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-04-16 19:03:13 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-04-16 19:03:13 +0800 |
commit | c5d55fd7c31e7d51b5e4b35ad0effbe8897186e9 (patch) | |
tree | 0694cde21fac1b6507f46da70bdc7385d9da9511 /devel | |
parent | 0c3d7fb76aec883df6c793f6cf4729b03ff27ff1 (diff) | |
download | freebsd-ports-gnome-c5d55fd7c31e7d51b5e4b35ad0effbe8897186e9.tar.gz freebsd-ports-gnome-c5d55fd7c31e7d51b5e4b35ad0effbe8897186e9.tar.zst freebsd-ports-gnome-c5d55fd7c31e7d51b5e4b35ad0effbe8897186e9.zip |
Add py-editdistance 0.3.1
This library simply implements Levenshtein distance with C++ and Cython.
WWW: https://pypi.python.org/pypi/editdistance
WWW: https://github.com/aflc/editdistance
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-editdistance/Makefile | 21 | ||||
-rw-r--r-- | devel/py-editdistance/distinfo | 3 | ||||
-rw-r--r-- | devel/py-editdistance/pkg-descr | 4 |
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9bd44568c34c..0085ddcf5f40 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4248,6 +4248,7 @@ SUBDIR += py-doit SUBDIR += py-durus SUBDIR += py-dynrules + SUBDIR += py-editdistance SUBDIR += py-efilter SUBDIR += py-efl SUBDIR += py-eggtestinfo diff --git a/devel/py-editdistance/Makefile b/devel/py-editdistance/Makefile new file mode 100644 index 000000000000..845c516845cf --- /dev/null +++ b/devel/py-editdistance/Makefile @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= editdistance +PORTVERSION= 0.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast implementation of the edit distance (Levenshtein distance) + +LICENSE= MIT + +USE_PYTHON= autoplist distutils +USES= python + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/editdistance/bycython.so + +.include <bsd.port.mk> diff --git a/devel/py-editdistance/distinfo b/devel/py-editdistance/distinfo new file mode 100644 index 000000000000..a2073d42931d --- /dev/null +++ b/devel/py-editdistance/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1492224900 +SHA256 (editdistance-0.3.1.tar.gz) = 8ec8a2158b9234adb0ca7ecfb0b4caa35e45ad5d00353c80793c9f54e1a35121 +SIZE (editdistance-0.3.1.tar.gz) = 19817 diff --git a/devel/py-editdistance/pkg-descr b/devel/py-editdistance/pkg-descr new file mode 100644 index 000000000000..a7d2fd2fbd45 --- /dev/null +++ b/devel/py-editdistance/pkg-descr @@ -0,0 +1,4 @@ +This library simply implements Levenshtein distance with C++ and Cython. + +WWW: https://pypi.python.org/pypi/editdistance +WWW: https://github.com/aflc/editdistance |