head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.2 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.2.0.22 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.20 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.18 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.16 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.14 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.12 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.10 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.8 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.6 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.4 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2; locks; strict; comment @# @; 1.3 date 2026.01.11.10.45.01; author adam; state Exp; branches; next 1.2; commitid ixP6HdXT4g5xMXpG; 1.2 date 2023.04.13.12.22.41; author wiz; state Exp; branches; next 1.1; commitid qDshQk9wdOUSAWkE; 1.1 date 2023.03.31.22.41.09; author he; state Exp; branches; next ; commitid poeWXrBucCCZqkjE; desc @@ 1.3 log @py-textfsm: updated to 2.1.0 2.1.0 Fixed multiple issues with textual Pager: First line of output was not being displayed (off by one error). SetLines was being ignored. Page size was fixed to terminal size. Only every 2nd 'enter' key was registered by tty.read, switched to using 'n' key instead. Prompt string did not truncate on narrow terminals Added paging support for MS Windows terminals Pager no longer exits automatically at end of buffer Fixes day-one issue of non displaying empty lines Correctly handles files smaller than the terminal @ text @# $NetBSD: Makefile,v 1.2 2023/04/13 12:22:41 wiz Exp $ DISTNAME= textfsm-2.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_GITHUB:=google/} GITHUB_PROJECT= textfsm GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/google/textfsm COMMENT= Template based state machine for parsing semi-formatted text LICENSE= apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools USE_LANGUAGES= # none post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} textfsm textfsm-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.2 log @py-textfsm: add missing DEPENDS and TEST_DEPENDS, fix test target Simplify PLIST. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/03/31 22:41:09 he Exp $ d3 1 a3 1 DISTNAME= textfsm-1.1.3 d15 1 a15 3 DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test d17 1 a17 1 EGG_NAME= textfsm-1.1.2 d19 3 a21 2 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} d23 1 a23 1 .include "../../lang/python/egg.mk" @ 1.1 log @Add textfsm version 1.1.3. Python module which implements a template based state machine for parsing semi-formatted text. Originally developed to allow programmatic access to information returned from the command line interface (CLI) of networking devices. The engine takes two inputs - a template file, and text input (such as command responses from the CLI of a device) and returns a list of records that contains the data parsed from the text. A template file is needed for each uniquely structured text input. Some examples are provided with the code and users are encouraged to develop their own. By developing a pool of template files, scripts can call TextFSM to parse useful information from a variety of sources. It is also possible to use different templates on the same data in order to create different tables (or views). TextFSM was developed internally at Google and released under the Apache 2.0 licence for the benefit of the wider community. @ text @d1 1 a1 1 # $NetBSD$ d7 2 d16 4 d21 2 a22 2 GITHUB_PROJECT= textfsm GITHUB_TAG= v${PKGVERSION_NOREV} @