From owner-svn-ports-head@freebsd.org Thu Apr 5 04:21:56 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A73C1F869D1; Thu, 5 Apr 2018 04:21:56 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5ADE18683B; Thu, 5 Apr 2018 04:21:56 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 55B2A1DA22; Thu, 5 Apr 2018 04:21:56 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w354LuwK086835; Thu, 5 Apr 2018 04:21:56 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w354LtNq086829; Thu, 5 Apr 2018 04:21:55 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201804050421.w354LtNq086829@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 5 Apr 2018 04:21:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466529 - in head/textproc: . py-jtextfsm X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/textproc: . py-jtextfsm X-SVN-Commit-Revision: 466529 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2018 04:21:57 -0000 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 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 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