CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

textproc/py-normality 3.1.0

Micro-library to normalize text strings

Port info

Maintainer
kai@FreeBSD.org
Packages
latest: 3.1.0
Upstream
up to date
Last update
to 3.1.0 · c3b1dc1bbf
Quarterly
2026Q4: 3.1.0
WWW
https://github.com/pudo/normality
Links
cgit · VuXML

Install

Package
# pkg install py312-normality
installs 3.1.0 from latest; from quarterly (2026Q4) 3.1.0
Port
# cd /usr/ports/textproc/py-normality && make install clean
Size
34 KiB download · 147 KiB installed
Depends on
devel/py-banal 1.1.2, devel/py-pyicu 2.16.2, lang/python312 3.12.15, textproc/py-chardet 7.6.0,1, textproc/py-charset-normalizer 3.5.1
License
MIT

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 163.1.03.1.0–
FreeBSD 153.1.03.1.0–
FreeBSD 143.1.03.1.03.1.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 153.1.03.1.0–
FreeBSD 143.1.03.1.03.1.0

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 3.1.0.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (20)

Kai Knoblich (kai) · 3.1.0
textproc/py-normality: Update to 3.1.0

* Fold ICU option because its requirement, py-pyicu, is now a mandatory
  dependency since the 3.0.0 release.

* Switch to GitHub for a while because no sdist tarballs are available
  at PyPI.

Changelog since 2.5.0:

https://github.com/pudo/normality/compare/2.5.0...3.1.0
c3b1dc1bbf
Po-Chuan Hsieh (sunpoet) · 2.5.0
textproc/py-normality: Convert to USE_PYTHON=pytest

Approved by:	portmgr (blanket)
With hat:	python
d4aa185707
Charlie Li (vishwin) · 2.5.0
devel/py-setuptools-scm: update to 8.0.4

Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.

Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.

Further details: https://wiki.freebsd.org/Python/setuptools

Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
5d4139f8bd
Kai Knoblich (kai) · 2.5.0
textproc/py-normality: Update to 2.5.0

Changelog:

https://github.com/pudo/normality/compare/2.4.0...2.5.0
a7bc709e7f
Charlie Li (vishwin) · 2.4.0_1
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}

Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
9a80a6ee5e
Rene Ladan (rene) · 2.4.0_1
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Antoine Brodin (antoine) · 2.4.0_1
USE_PYTHON=pep517: bump PORTREVISION
1730e97e04
Kai Knoblich (kai) · 2.4.0
textproc/py-normality: Update to 2.4.0

* Switch back to PyPI as the sdist now contains the test suite.

* Remove no longer required patch.

* Switch to PEP517 build framework.

Changelog since 2.3.3:

https://github.com/pudo/normality/compare/2.3.3...2.4.0

MFH:		No (PEP517 support not present in 2023Q1)
6b90f1354b
Stefan Eßer (se) · 2.3.3
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 2.3.3
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Kai Knoblich (kai) · 2.3.3
textproc/py-normality: Update to 2.3.3

* Switch to new USES=pytest framework which fixes tests for py-normality
  and also py-fingerprints

* Rebase existing patch with additional reference to existing PR.

Changelog since 2.1.1:

https://github.com/pudo/normality/compare/2.1.1...2.3.3

PR:		263581
20a79f0750
Yasuhiro Kimura (yasu) · 2.1.1
*/*: Cleanup after the removal of lang/python36

* Remove codes that aren't necessary after the removal of lang/python36
* Mark ports that aren't necessary with Python 3.7 or later as
  DEPRECATED and set EXPIRATION_DATE.

PR:		261046
Approved by:	lwhsu (python)
461373bf1f
Dmitry Marakasov (amdmi3) · 2.1.1
Mk: switch PYTHON_REL to 5 digits to support python 3.10.x

PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
0729af4255
Mathieu Arnold (mat) · 2.1.1
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 2.1.1
Remove # $FreeBSD$ from Makefiles.
305f148f48
Kai Knoblich (kai) · 2.1.1
textproc/py-normality: Update to 2.1.1

* Switch to GitHub for a while to make use of the test suite.

* Add default option ICU to reflect the requirements given in setup.py.

* Also add a workaround to avoid configure/build errors with Python < 3.7.

Changelog since 1.0.0:

https://github.com/pudo/normality/compare/1.0.0...2.1.1
3dc7909274
Kai Knoblich (kai) · 1.0.0
devel/py-banal: Update to 1.0.1

* The support for Python < 3.5 was dropped with the 1.0.0 release, adapt
  accordingly and update the pkg-descr.

* Do the same for textproc/py-{fingerprints,normality} to avoid breakage of
  bulk -a .  Both consumers will soon be updated to a newer release which
  also no longer have any support for Python < 3.5.

Changelog since 0.4.2:

https://github.com/pudo/banal/compare/528c339b...1.0.1
639a107393
Kai Knoblich (kai) · 1.0.0
textproc/py-normality: Update to 1.0.0

Changelog:

* Drop support for unidecode

Approved by:	mentors (implicit)
f6dd20f18f
Kai Knoblich (kai) · 0.6.1
Change my maintainer email address to my new one at the FreeBSD project.

Reviewed by:	miwi (mentor)
Approved by:	miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050
6a4a5116bf
Martin Wilke (miwi) · 0.6.1
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.
c434e1fb8b