textproc/py-textfsm: Update to 2.1.0 * Switch to the PEP517 build framework. * Add TEST_ENV to ensure that tests are run against the new copy of the module in the staging directory and remove superfluous TEST_DEPENDS as it's already set via "USE_PYTHON=pytest" while I'm here. Changelogs since 1.1.0: https://github.com/google/textfsm/releases/tag/v2.1.0 https://github.com/google/textfsm/releases/tag/v2.0.055e313e339
Port details
textproc/py-textfsm 2.1.0
Parses semi-structured text into Python tables
Port info
- Maintainer
- kai@FreeBSD.org
- Packages
- latest: 2.1.0
- Upstream
- up to date
- Last update
- to 2.1.0 · 55e313e339
- Quarterly
- 2026Q4: 2.1.0
- WWW
- https://github.com/google/textfsm
- Links
- cgit · VuXML
Install
- Package
# pkg install py312-textfsminstalls 2.1.0 fromlatest; fromquarterly(2026Q4) 2.1.0- Port
# cd /usr/ports/textproc/py-textfsm && make install clean- Size
- 69 KiB download · 367 KiB installed
- Depends on
- lang/python312 3.12.15
- License
- APACHE20
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.1.0 | 2.1.0 | – |
| FreeBSD 15 | 2.1.0 | 2.1.0 | – |
| FreeBSD 14 | 2.1.0 | 2.1.0 | 2.1.0 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.1.0 | 2.1.0 | – |
| FreeBSD 14 | 2.1.0 | 2.1.0 | 2.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 2.1.0.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
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>3d9a815d9ctextproc/py-textfsm: Switch back to PyPI * During QA tests of net-mgmt/py-napalm, runtime errors occured because the egg-info of py-textfsm still had version information of the prior release (= 1.1.2). This was because when version 1.1.3 was released, it was already available in the upstream repository, but there was no sdist available at PyPI yet. This was then made up by upstream some months later with a corresponding adjustment for the egg-info: https://github.com/google/textfsm/compare/v1.1.3...ca3755dc Therefore, switch back to PyPI, which is the preferred method with respect to Python ports and bump PORTREVISION due package change. While I'm here: * Re-evaluate and remove no longer required BUILD_DEPENDS. * Simplify Makefile by switching to USE_PYTHON=pytest. MFH: 2023Q2767d515ad9
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-textfsm: Update to 1.1.3 Changelog since 1.1.1: https://github.com/google/textfsm/compare/v1.1.1...v1.1.34433184a0f
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
textproc/py-textfsm: Update to 1.1.1 This update resolves a package installation conflict with textproc/py-texttable as both ports installs "texttable.py" into the same place. [1] Also while I'm here: * Switch to GitHub for a while as no sdist tarballs are available at PyPi. * Make the port concurrent safe because it installs scripts outside of the site-lib directory. * Remove the "testdata" directory to prevent possible package conflicts as it's only required for the test suite. * Add a "do-test" target to make future QA easier. Changelog: https://github.com/google/textfsm/releases/tag/v1.1.0 https://github.com/google/textfsm/releases/tag/v1.1.1 PR: 244257 Reported by: John Hein <jcfyecrayz@liamekaens.com> [1] MFH: 2020Q1d298faaea3
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/D190506a4a5116bf
Update to version 0.4.1 PR: 227417 Submitted by: maintainer8a42998d85
New port: textproc/py-textfsm: Parses semi-structured text into Python tables PR: 227076 Submitted by: Kai <freebsd_ports@k-worx.org>b223666a53