diff options
author | rodent <rodent@pkgsrc.org> | 2014-02-13 00:50:13 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-02-13 00:50:13 +0000 |
commit | e10ebfb23e1a7a8bd6598037d3f0d7ff2d9a831f (patch) | |
tree | 8bb61268c2597df5c4c5d00f1deb23a2f75e6d40 /textproc | |
parent | 47b79856c5784debd74c19c65af83436a3ebc4aa (diff) | |
download | pkgsrc-e10ebfb23e1a7a8bd6598037d3f0d7ff2d9a831f.tar.gz |
Import py27-acora-1.8 as textproc/py-acora.
Acora is 'fgrep' for Python, a fast multi-keyword text search engine.
Based on a set of keywords, it generates a search automaton (DFA) and runs it
over string input, either unicode or bytes.
It is based on the Aho-Corasick algorithm and an NFA-to-DFA powerset
construction.
Acora comes with both a pure Python implementation and a fast binary module
written in Cython. However, note that the current construction algorithm is not
suitable for really large sets of keywords (i.e. more than a couple of
thousand).
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-acora/DESCR | 12 | ||||
-rw-r--r-- | textproc/py-acora/Makefile | 16 | ||||
-rw-r--r-- | textproc/py-acora/PLIST | 17 | ||||
-rw-r--r-- | textproc/py-acora/distinfo | 5 |
4 files changed, 50 insertions, 0 deletions
diff --git a/textproc/py-acora/DESCR b/textproc/py-acora/DESCR new file mode 100644 index 00000000000..7472c7f6941 --- /dev/null +++ b/textproc/py-acora/DESCR @@ -0,0 +1,12 @@ +Acora is 'fgrep' for Python, a fast multi-keyword text search engine. + +Based on a set of keywords, it generates a search automaton (DFA) and runs it +over string input, either unicode or bytes. + +It is based on the Aho-Corasick algorithm and an NFA-to-DFA powerset +construction. + +Acora comes with both a pure Python implementation and a fast binary module +written in Cython. However, note that the current construction algorithm is not +suitable for really large sets of keywords (i.e. more than a couple of +thousand). diff --git a/textproc/py-acora/Makefile b/textproc/py-acora/Makefile new file mode 100644 index 00000000000..8a1c4359f5d --- /dev/null +++ b/textproc/py-acora/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1 2014/02/13 00:50:13 rodent Exp $ + +DISTNAME= acora-1.8 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc +MASTER_SITES= https://pypi.python.org/packages/source/a/acora/ + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= http://pypi.python.org/pypi/acora +COMMENT= Fast multi-keyword search engine for text strings in Python +LICENSE= modified-bsd + +USE_LANGUAGES= c + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-acora/PLIST b/textproc/py-acora/PLIST new file mode 100644 index 00000000000..ccea06b4804 --- /dev/null +++ b/textproc/py-acora/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1 2014/02/13 00:50:13 rodent Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/acora/__init__.py +${PYSITELIB}/acora/__init__.pyc +${PYSITELIB}/acora/__init__.pyo +${PYSITELIB}/acora/_acora.so +${PYSITELIB}/acora/_nfa2dfa.py +${PYSITELIB}/acora/_nfa2dfa.pyc +${PYSITELIB}/acora/_nfa2dfa.pyo +${PYSITELIB}/acora/_nfa2dfa.so +${PYSITELIB}/acora/nfa2dfa.py +${PYSITELIB}/acora/nfa2dfa.pyc +${PYSITELIB}/acora/nfa2dfa.pyo diff --git a/textproc/py-acora/distinfo b/textproc/py-acora/distinfo new file mode 100644 index 00000000000..f9c58a06544 --- /dev/null +++ b/textproc/py-acora/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/02/13 00:50:13 rodent Exp $ + +SHA1 (acora-1.8.tar.gz) = 1bc53c1fb743c7bc2b5615f008bdcea581fa0fc8 +RMD160 (acora-1.8.tar.gz) = 23d2d346db3d06d502db1de9e049096227a3fdda +Size (acora-1.8.tar.gz) = 123811 bytes |