Port details |
- py-normality Micro-library to normalize text strings
- 2.5.0 textproc =2 2.5.0Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-07-28 12:23:18
- Last Update: 2024-03-09 15:22:33
- Commit Hash: d4aa185
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/pudo/normality
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}normality>0:textproc/py-normality@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-normality/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-normality
- pkg install py39-normality
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-normality listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-normality
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1696752372
SHA256 (normality-2.5.0.tar.gz) = a55133e972b81c4a3bf8b6dc419f262f94a4fd6f636297046f74d35c93abe153
SIZE (normality-2.5.0.tar.gz) = 17873
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-setuptools-scm>=3.4.3 : devel/py-setuptools-scm@py39
- py39-wheel>0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-banal>=1.0.1 : devel/py-banal@py39
- py39-chardet>=0 : textproc/py-chardet@py39
- py39-text-unidecode>=0 : converters/py-text-unidecode@py39
- py39-charset-normalizer>=2.0.0 : textproc/py-charset-normalizer@py39
- py39-pyicu>=1.9.3 : devel/py-pyicu@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- textproc/py-fingerprints
Configuration Options:
- ===> The following configuration options are available for py39-normality-2.5.0:
ICU=on: Unicode support via ICU
===> Use 'make config' to modify these settings
- Options name:
- textproc_py-normality
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.5.0 09 Mar 2024 15:22:33 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-normality: Convert to USE_PYTHON=pytest
Approved by: portmgr (blanket)
With hat: python |
2.5.0 29 Feb 2024 07:18:32 |
Charlie Li (vishwin) |
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 |
2.5.0 09 Oct 2023 10:25:52 |
Kai Knoblich (kai) |
textproc/py-normality: Update to 2.5.0
Changelog:
https://github.com/pudo/normality/compare/2.4.0...2.5.0 |
2.4.0_1 18 Jul 2023 00:53:09 |
Charlie Li (vishwin) |
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 |
2.4.0_1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
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> |
2.4.0_1 04 Apr 2023 18:29:11 |
Antoine Brodin (antoine) |
USE_PYTHON=pep517: bump PORTREVISION |
2.4.0 21 Mar 2023 12:23:18 |
Kai Knoblich (kai) |
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) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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) |
2.3.3 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
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.
(Only the first 15 lines of the commit message are shown above ) |
2.3.3 28 Apr 2022 17:54:58 |
Kai Knoblich (kai) Author: Dmitry Marakasov |
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 |
2.1.1 05 Feb 2022 01:17:21 |
Yasuhiro Kimura (yasu) |
*/*: 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) |
2.1.1 25 May 2021 13:55:43 |
Dmitry Marakasov (amdmi3) |
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@ |
2.1.1 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.1.1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.1.1 16 Dec 2020 12:12:55 |
kai |
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 |
1.0.0 10 Dec 2020 09:49:22 |
kai |
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 |
1.0.0 29 Mar 2019 15:38:40 |
kai |
textproc/py-normality: Update to 1.0.0
Changelog:
* Drop support for unidecode
Approved by: mentors (implicit) |
0.6.1 01 Feb 2019 18:55:18 |
kai |
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 |
0.6.1 28 Jul 2018 12:22:52 |
miwi |
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. |