View | Details | Raw Unified | Return to bug 229451
Collapse All | Expand All

(-)py-pyahocorasick/Makefile (+29 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	pyahocorasick
4
DISTVERSION=	1.1.8
5
CATEGORIES=	textproc python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	freebsd_ports@k-worx.org
10
COMMENT=	Python and C implementation of the Aho-Corasick algorithm
11
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
USES=		python
16
USE_PYTHON=	distutils concurrent autoplist
17
18
PORTDOCS=	README.rst
19
20
OPTIONS_DEFINE=	DOCS
21
22
post-install-DOCS-on:
23
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
24
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
25
26
do-test:
27
	@cd ${WRKSRC} && ${PYTHON_CMD} unittests.py
28
29
.include <bsd.port.mk>
(-)py-pyahocorasick/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1530203234
2
SHA256 (pyahocorasick-1.1.8.tar.gz) = 3d584e7836ca7b066f99d7fdb384dc6ef7af211b2b139baedbd960c7c279bb7f
3
SIZE (pyahocorasick-1.1.8.tar.gz) = 74050
(-)py-pyahocorasick/pkg-descr (+7 lines)
Line 0 Link Here
1
pyahocorasick is a fast and memory efficient library for exact or approximate
2
multi-pattern string search meaning that you can find multiple key strings
3
occurrences at once in some input text. The library provides an ahocorasick
4
Python module that you can use as a plain dict-like Trie or convert a Trie to an
5
automaton for efficient Aho-Corasick search.
6
7
WWW: https://github.com/WojciechMula/pyahocorasick

Return to bug 229451