# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-textfsm # py-textfsm/Makefile # py-textfsm/distinfo # py-textfsm/pkg-descr # echo c - py-textfsm mkdir -p py-textfsm > /dev/null 2>&1 echo x - py-textfsm/Makefile sed 's/^X//' >py-textfsm/Makefile << 'fdec84fe265eeb97bd0830ff9c617177' X# $FreeBSD$ X XPORTNAME= textfsm XDISTVERSION= 0.4.0 XCATEGORIES= textproc python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= freebsd_ports@k-worx.org XCOMMENT= Parses semi-structured text into Python tables X XLICENSE= APACHE20 XLICENSE_FILE= ${WRKSRC}/COPYING X XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} X XUSES= python XUSE_PYTHON= distutils autoplist XNO_ARCH= yes X X.include fdec84fe265eeb97bd0830ff9c617177 echo x - py-textfsm/distinfo sed 's/^X//' >py-textfsm/distinfo << '0298c2e041d64ae72f5fc4245a13c977' XTIMESTAMP = 1522335440 XSHA256 (textfsm-0.4.0.tar.gz) = 41b51501f5e0e4bd02dc521bee3565a95cc576fe6ebf3625d2fb2d32c241a32e XSIZE (textfsm-0.4.0.tar.gz) = 38355 0298c2e041d64ae72f5fc4245a13c977 echo x - py-textfsm/pkg-descr sed 's/^X//' >py-textfsm/pkg-descr << '327cfe265b5a27170d0cfdcb81cbf10b' XPython module which implements a template based state machine for parsing Xsemi-formatted text. Originally developed to allow programmatic access to Xinformation returned from the command line interface (CLI) of networking Xdevices. X XThe engine takes two inputs - a template file, and text input (such as command Xresponses from the CLI of a device) and returns a list of records that contains Xthe data parsed from the text. X XA template file is needed for each uniquely structured text input. Some examples Xare provided with the code and users are encouraged to develop their own. X XBy developing a pool of template files, scripts can call TextFSM to parse useful Xinformation from a variety of sources. It is also possible to use different Xtemplates on the same data in order to create different tables (or views). X XWWW: https://github.com/google/textfsm 327cfe265b5a27170d0cfdcb81cbf10b exit