Bug 229527

Summary: [NEW PORT] textproc/py-normality: Micro-library to normalize text strings
Product: Ports & Packages Reporter: Kai Knoblich <kai>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi, python
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://pypi.org/project/normality
Bug Depends on: 229526    
Bug Blocks: 229528    
Attachments:
Description Flags
py-normality.patch none

Description Kai Knoblich freebsd_committer freebsd_triage 2018-07-05 05:12:02 UTC
Created attachment 194887 [details]
py-normality.patch

Hello,

attached is the patch that adds the Python package textproc/py-normality, which is a Python micro-package that contains a small set of text normalization functions for easier re-use.

These functions accept a snippet of unicode or utf-8 encoded text and remove various classes of characters, such as diacritics, punctuation etc. This is useful as a preparation to further text analysis.

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


Note:
- Before this package can be committed, the port devel/py-banal must be added to the ports tree first (see also PR #229526: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229526)
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-28 12:23:53 UTC
A commit references this bug:

Author: miwi
Date: Sat Jul 28 12:22:53 UTC 2018
New revision: 475545
URL: https://svnweb.freebsd.org/changeset/ports/475545

Log:
  Normality is a Python micro-package that contains a small set of text
  normalization functions for easier re-use. These functions accept a snippet of
  unicode or utf-8 encoded text and remove various classes of characters, such as
  diacritics, punctuation etc. This is useful as a preparation to further text
  analysis.

  WWW: https://github.com/pudo/normality

  PR:		229527
  Submitted by:	freebsd_ports@k-worx.org
  Sponsored by:	iXsystems Inc.

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