pkgsrc/textproc/py-acora/Makefile
rodent f1257222e3 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).
2014-02-13 00:50:13 +00:00

16 lines
452 B
Makefile

# $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"