textproc/py-enrich: update to 1.3.0
This release has been published to the upstream GitHub repo for more
than 2 years, but never yet got pushed to PyPI. Given the concerns
raised in PR 299923 which have been largely addressed in the GitHub
release, switch to USE_GITHUB rather than PyPI and update to 1.3.0.
* PEP 517 using setuptools as back-end
* Add pytest. All tests pass. Note that `pytest-cov` and
`pytest-xdist` test dependencies aren't actually used anywhere,
despite being listed in ${WRKSRC}/.config/requirements-test.in, so
I've omitted them from TEST_DEPENDS
* Drop the outdated setuptools_scm_git_archive build dependency in
favour of the native Git handling in more recent setuptools-scm.
* Update dependency version requirements for setuptools-scm and rich.
PR: 299923
Reported-by: repology, Patrick Crandol
Changes: https://github.com/pycontribs/enrich/releases/tag/v1.3.006883804aePort details
textproc/py-enrich 1.3.0
Extensions to py-rich
Port info
- Maintainer
- matthew@FreeBSD.org
- Packages
- latest: 1.2.7_1, update to 1.3.0 not built yet
- Upstream
- up to date
- Last update
- to 1.3.0 · 06883804ae
- Quarterly
- 2026Q4: 1.2.7_1
- WWW
- https://pypi.org/project/enrich/
- Links
- cgit · VuXML
Install
- Package
# pkg install py312-enrichinstalls 1.2.7_1 fromlatest; fromquarterly(2026Q4) 1.2.7_1- Port
# cd /usr/ports/textproc/py-enrich && make install clean- Size
- 16 KiB download · 49 KiB installed
- Depends on
- lang/python312 3.12.15, textproc/py-rich 15.0.0
- License
- MIT
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.2.7_1 | 1.2.7_1 | – |
| FreeBSD 15 | 1.2.7_1 | 1.2.7_1 | – |
| FreeBSD 14 | 1.2.7_1 | 1.2.7_1 | 1.2.7_1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.2.7_1 | 1.2.7_1 | – |
| FreeBSD 14 | 1.2.7_1 | 1.2.7_1 | 1.2.7_1 |
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 1.2.7_1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (14)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
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/D392885d4139f8bdall: 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>3d9a815d9ctextproc/py-enrich: remove non-functional test code PyPI tarballs do not contain any of the test code. Attempting to build against code from GitHub results in: LookupError: setuptools-scm was unable to detect version for ... since the GitHub tarballs are missing some other important metadata.b6b98810ce
*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
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
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
textproc/py-enrich: fix tests - Switch to USES=pytest - Fix depends by dropping bogus version limitation Reported by: reprise Approved by: portmgr blanketbfd17f68cb
textproc/py-enrich: update to 1.2.7 ReleaseNotes: https://github.com/pycontribs/enrich/releases/tag/v1.2.76c6c544dab
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Delete editor backup files added by mistake7344648999
Enriched extends rich library functionality with a set of changes that were not accepted to rich itself. WWW: https://pypi.org/project/enrich/8c2c43a205