14
0

Accepting request 925086 from home:ecsos:server

- Update to 2.3.2
  * Bugfixes
    - cisco_ios_show_ip_bgp_summary Account for dotted ASN notation
      #987
    - cisco_nxos_show_interface_status Account for blank type #980
    - cisco_ios_show_interfaces Account for App Interface #968
- Fix some rpmlint errors.

OBS-URL: https://build.opensuse.org/request/show/925086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ntc-templates?expand=0&rev=8
This commit is contained in:
2021-10-13 12:19:36 +00:00
committed by Git OBS Bridge
parent 6b1f20e874
commit ca8faff96b
4 changed files with 21 additions and 6 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Oct 13 10:27:21 UTC 2021 - ecsos <ecsos@opensuse.org>
- Update to 2.3.2
* Bugfixes
- cisco_ios_show_ip_bgp_summary Account for dotted ASN notation
#987
- cisco_nxos_show_interface_status Account for blank type #980
- cisco_ios_show_interfaces Account for App Interface #968
- Fix some rpmlint errors.
-------------------------------------------------------------------
Tue Aug 31 06:34:34 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@@ -19,10 +19,11 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ntc-templates
Version: 2.3.1
Version: 2.3.2
Release: 0
Summary: Package to return structured data from the output of network devices
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/networktocode/ntc-templates
Source: https://github.com/networktocode/ntc-templates/archive/v%{version}.tar.gz
BuildRequires: %{python_module pip}
@@ -38,17 +39,20 @@ Suggests: python-yamllint
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pyaml}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest >= 4.0.0}
BuildRequires: %{python_module mock >= 3.0.0}
BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module textfsm >= 1.1.0}
# /SECTION
%python_subpackages
%description
Package to return structured data from the output of network devices.
TextFSM is a project built by Google that takes CLI string output and passes each line through a series of regular expressions until it finds a match. The regular expressions use named capture groups to build a text table out of the significant text. The names of the capture groups are used as column headers, and the captured values are stored as rows in the table.
%prep
%setup -q -n ntc-templates-%{version}
# rpmlintrc
chmod -x ntc_templates/templates/cisco*
%build
%pyproject_wheel

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af514bce9350ae1aaa1b7133e929d655c8cf9d0e4cb5ca47c73749da2dc0470f
size 736070

3
v2.3.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60f07490e8fef139818491a3c12fa05db9a1a92c3d7e2c1bcd1c9c0c50e8f994
size 738054