From d25cf47ef99783008ea8fc01355177cbb61db2fe83c0a87e73137a1664fb1a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 29 Nov 2019 09:46:48 +0000 Subject: [PATCH] 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 --- python-textfsm.changes | 10 ++++++++++ python-textfsm.spec | 8 ++++++-- textfsm-1.1.1.tar.gz | 3 +++ v1.1.0.tar.gz | 3 --- 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 textfsm-1.1.1.tar.gz delete mode 100644 v1.1.0.tar.gz diff --git a/python-textfsm.changes b/python-textfsm.changes index 8a80672..1bf1e2e 100644 --- a/python-textfsm.changes +++ b/python-textfsm.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Nov 26 19:25:18 UTC 2019 - Martin Hauke + +- 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 diff --git a/python-textfsm.spec b/python-textfsm.spec index 1ef6915..622db38 100644 --- a/python-textfsm.spec +++ b/python-textfsm.spec @@ -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 diff --git a/textfsm-1.1.1.tar.gz b/textfsm-1.1.1.tar.gz new file mode 100644 index 0000000..a9404b6 --- /dev/null +++ b/textfsm-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9299d54544b679ef2a477c9256ec5e906c649f8f79593b71d2bb56e1c96e6601 +size 51340 diff --git a/v1.1.0.tar.gz b/v1.1.0.tar.gz deleted file mode 100644 index 7d66e39..0000000 --- a/v1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b750de2986ef78696e686b510a96aa23206a575580daf2b1eb7e17525ed33045 -size 51104