Date: Thu, 5 Apr 2018 04:21:55 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466529 - in head/textproc: . py-jtextfsm Message-ID: <201804050421.w354LtNq086829@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Thu Apr 5 04:21:55 2018 New Revision: 466529 URL: https://svnweb.freebsd.org/changeset/ports/466529 Log: New port: textproc/py-jtextfsm: Smaller fork of py-textfsm, a parser for semi-structured text PR: 227077 Submitted by: Kai <freebsd_ports@k-worx.org> Added: head/textproc/py-jtextfsm/ head/textproc/py-jtextfsm/Makefile (contents, props changed) head/textproc/py-jtextfsm/distinfo (contents, props changed) head/textproc/py-jtextfsm/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Thu Apr 5 04:14:35 2018 (r466528) +++ head/textproc/Makefile Thu Apr 5 04:21:55 2018 (r466529) @@ -1315,6 +1315,7 @@ SUBDIR += py-hyperestraier-python SUBDIR += py-hypua2jamo SUBDIR += py-jaxml + SUBDIR += py-jtextfsm SUBDIR += py-junit-xml SUBDIR += py-libtre SUBDIR += py-libxml2 Added: head/textproc/py-jtextfsm/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-jtextfsm/Makefile Thu Apr 5 04:21:55 2018 (r466529) @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= jtextfsm +DISTVERSION= 0.3.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Smaller fork of py-textfsm, a parser for semi-structured text + +LICENSE= APACHE20 + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/textproc/py-jtextfsm/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-jtextfsm/distinfo Thu Apr 5 04:21:55 2018 (r466529) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522337241 +SHA256 (jtextfsm-0.3.1.tar.gz) = bd3ae3538b6d744d1e148326c486b95bd3614ea14f15ddd15ca1e5a327e188f2 +SIZE (jtextfsm-0.3.1.tar.gz) = 10166 Added: head/textproc/py-jtextfsm/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-jtextfsm/pkg-descr Thu Apr 5 04:21:55 2018 (r466529) @@ -0,0 +1,22 @@ +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). + +Note: This package was originally a fork of TextFSM because TextFSM had no +support for Python3 at that time (that's not the case anymore, btw). +Nevertheless this package is somewhat smaller compared to TextFSM and is used +in some projects. + +WWW: https://github.com/jonathanslenders/jtextfsm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804050421.w354LtNq086829>