14
0

Accepting request 751132 from home:mnhauke:network:automation

- Update to version 1.1.1
  * Fix parsing of value string to allow mismatched parenthesis
    inside [] brackets.
  * Improve readability of value parse fix.
  * Added additional test.
  * Soft fail when fcntl is missing, fallback to default screen size.

OBS-URL: https://build.opensuse.org/request/show/751132
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textfsm?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal
2019-11-29 09:46:48 +00:00
committed by Git OBS Bridge
parent cea913f66a
commit d25cf47ef9
4 changed files with 19 additions and 5 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Nov 26 19:25:18 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.1.1
* Fix parsing of value string to allow mismatched parenthesis
inside [] brackets.
* Improve readability of value parse fix.
* Added additional test.
* Soft fail when fcntl is missing, fallback to default screen size.
-------------------------------------------------------------------
Thu Aug 1 11:38:10 UTC 2019 - pgajdos@suse.com

View File

@@ -19,13 +19,13 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-textfsm
Version: 1.1.0
Version: 1.1.1
Release: 0
Summary: Python module for parsing semi-structured text into python tables
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/google/textfsm
Source: https://github.com/google/textfsm/archive/v%{version}.tar.gz
Source: https://github.com/google/textfsm/archive/v%{version}.tar.gz#/textfsm-%{version}.tar.gz
BuildRequires: %{python_module future}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
@@ -53,12 +53,16 @@ devices.
%prep
%setup -q -n textfsm-%{version}
# drop shebang
sed -i -e '/^#!\//, 1d' textfsm/*.py
%build
%python_build
%install
%python_install
# don't install broken textfsm wrapper binary
%python_expand rm -f %{buildroot}%{_bindir}/textfsm
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check

3
textfsm-1.1.1.tar.gz Normal file
View File

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

View File

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