svn commit: r475537 - in head/textproc: . py-pyahocorasick
Martin Wilke
miwi at FreeBSD.org
Sat Jul 28 12:11:28 UTC 2018
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 at 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 at 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
More information about the svn-ports-head
mailing list