Date: Sat, 28 Jul 2018 12:11:27 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475537 - in head/textproc: . py-pyahocorasick Message-ID: <201807281211.w6SCBRjV070712@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat Jul 28 12:11:27 2018 New Revision: 475537 URL: https://svnweb.freebsd.org/changeset/ports/475537 Log: pyahocorasick is a fast and memory efficient library for exact or approximate multi-pattern string search meaning that you can find multiple key strings occurrences at once in some input text. The library provides an ahocorasick Python module that you can use as a plain dict-like Trie or convert a Trie to an automaton for efficient Aho-Corasick search. WWW: https://github.com/WojciechMula/pyahocorasick PR: 229451 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Added: head/textproc/py-pyahocorasick/ head/textproc/py-pyahocorasick/Makefile (contents, props changed) head/textproc/py-pyahocorasick/distinfo (contents, props changed) head/textproc/py-pyahocorasick/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Jul 28 12:10:19 2018 (r475536) +++ head/textproc/Makefile Sat Jul 28 12:11:27 2018 (r475537) @@ -1347,6 +1347,7 @@ SUBDIR += py-pdfrw SUBDIR += py-pss SUBDIR += py-pyPEG2 + SUBDIR += py-pyahocorasick SUBDIR += py-pyaml SUBDIR += py-pyctpp2 SUBDIR += py-pyes Added: head/textproc/py-pyahocorasick/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pyahocorasick/Makefile Sat Jul 28 12:11:27 2018 (r475537) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= pyahocorasick +DISTVERSION= 1.1.8 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Python and C implementation of the Aho-Corasick algorithm + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= distutils concurrent autoplist + +PORTDOCS= README.rst + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} unittests.py + +.include <bsd.port.mk> Added: head/textproc/py-pyahocorasick/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pyahocorasick/distinfo Sat Jul 28 12:11:27 2018 (r475537) @@ -0,0 +1,3 @@ +TIMESTAMP = 1530203234 +SHA256 (pyahocorasick-1.1.8.tar.gz) = 3d584e7836ca7b066f99d7fdb384dc6ef7af211b2b139baedbd960c7c279bb7f +SIZE (pyahocorasick-1.1.8.tar.gz) = 74050 Added: head/textproc/py-pyahocorasick/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pyahocorasick/pkg-descr Sat Jul 28 12:11:27 2018 (r475537) @@ -0,0 +1,7 @@ +pyahocorasick is a fast and memory efficient library for exact or approximate +multi-pattern string search meaning that you can find multiple key strings +occurrences at once in some input text. The library provides an ahocorasick +Python module that you can use as a plain dict-like Trie or convert a Trie to an +automaton for efficient Aho-Corasick search. + +WWW: https://github.com/WojciechMula/pyahocorasick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807281211.w6SCBRjV070712>