From owner-svn-ports-head@freebsd.org Sat Jul 28 12:11:28 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94E4E104EEE6; Sat, 28 Jul 2018 12:11:28 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4821A8ABBC; Sat, 28 Jul 2018 12:11:28 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 298EB2670C; Sat, 28 Jul 2018 12:11:28 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6SCBRu4070716; Sat, 28 Jul 2018 12:11:27 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6SCBRjV070712; Sat, 28 Jul 2018 12:11:27 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201807281211.w6SCBRjV070712@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Sat, 28 Jul 2018 12:11:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475537 - in head/textproc: . py-pyahocorasick X-SVN-Group: ports-head X-SVN-Commit-Author: miwi X-SVN-Commit-Paths: in head/textproc: . py-pyahocorasick X-SVN-Commit-Revision: 475537 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 12:11:28 -0000 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 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