Bug 229451 - [NEW PORT] textproc/py-pyahocorasick: Python and C implementation of the Aho-Corasick algorithm
Summary: [NEW PORT] textproc/py-pyahocorasick: Python and C implementation of the Aho-...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Wilke
URL: https://pypi.org/project/pyahocorasick
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-01 13:05 UTC by Kai Knoblich
Modified: 2018-07-28 12:12 UTC (History)
2 users (show)

See Also:


Attachments
py-pyahocorasick.patch (2.82 KB, patch)
2018-07-01 13:05 UTC, Kai Knoblich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2018-07-01 13:05:52 UTC
Created attachment 194815 [details]
py-pyahocorasick.patch

Hello,

attached is the patch that adds the Python package textproc/py-pyahocorasick, which 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 anautomaton for efficient Aho-Corasick search.


QA:
~~~
- poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK

make test results:
> Ran 63 tests in 0.010s
> 
> OK
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-28 12:12:28 UTC
A commit references this bug:

Author: miwi
Date: Sat Jul 28 12:11:28 UTC 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.

Changes:
  head/textproc/Makefile
  head/textproc/py-pyahocorasick/
  head/textproc/py-pyahocorasick/Makefile
  head/textproc/py-pyahocorasick/distinfo
  head/textproc/py-pyahocorasick/pkg-descr