diff options
| author | Kai Knoblich <kai@FreeBSD.org> | 2022-03-28 12:42:00 +0200 |
|---|---|---|
| committer | Kai Knoblich <kai@FreeBSD.org> | 2022-03-28 12:42:00 +0200 |
| commit | 35f92ba20eb40d243f5241217e22a213427bbd57 (patch) | |
| tree | 797a39d9b34042ddafe330007f579c367274e5f8 /textproc/py-ntc-templates/files/patch-setup.py | |
| parent | net-mgmt/py-napalm: Update to 3.4.0 (diff) | |
textproc/py-ntc-templates: New port
The NTC templates project provides a large collection of TextFSM
Templates (text parsers) for a variety of Networking Vendors.
In addition to the templates, there is a function that will convert the
CLI output into a CliTable object; the resulting text table is converted
into a list of dictionaries mapping the column headers with each row in
the table.
WWW: https://github.com/networktocode/ntc-templates
Diffstat (limited to 'textproc/py-ntc-templates/files/patch-setup.py')
| -rw-r--r-- | textproc/py-ntc-templates/files/patch-setup.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/py-ntc-templates/files/patch-setup.py b/textproc/py-ntc-templates/files/patch-setup.py new file mode 100644 index 000000000000..9412c6341606 --- /dev/null +++ b/textproc/py-ntc-templates/files/patch-setup.py @@ -0,0 +1,29 @@ +--- setup.py.orig 2022-03-27 21:10:43 UTC ++++ setup.py +@@ -0,0 +1,26 @@ ++# -*- coding: utf-8 -*- ++from setuptools import setup ++ ++packages = \ ++['ntc_templates'] ++ ++package_data = \ ++{'': ['*'], 'ntc_templates': ['templates/*']} ++ ++install_requires = \ ++['textfsm>=1.1.0,<2.0.0'] ++ ++setup_kwargs = { ++ 'name': 'ntc-templates', ++ 'version': '3.0.0', ++ 'description': "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable.", ++ 'author': 'Network to Code', ++ 'author_email': 'info@networktocode.com', ++ 'url': 'https://github.com/networktocode/ntc-templates', ++ 'packages': packages, ++ 'package_data': package_data, ++ 'install_requires': install_requires, ++ 'python_requires': '>=3.6,<4.0', ++} ++ ++setup(**setup_kwargs) |
