Hello community,
here is the log from the commit of package python-textfsm for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:23:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-textfsm (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-textfsm.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-textfsm"
Mon Mar 2 13:23:55 2020 rev:3 rq:777214 version:1.1.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-textfsm/python-textfsm.changes
2020-01-15 15:53:48.699610570 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-textfsm.new.26092/python-textfsm.changes
2020-03-02 13:23:56.182467436 +0100
@@ -1,0 +2,38 @@
+Tue Nov 26 19:25:18 UTC 2019 - Martin Hauke <[email protected]>
+
+- 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 - [email protected]
+
+- require future for python2
+
+-------------------------------------------------------------------
+Wed Jul 31 13:48:06 UTC 2019 - [email protected]
+
+- version update to 1.1.0
+ * Per 'http://python-future.org/automatic_conversion.html' py2 & py3
compatibility.
+ * Make sure test fails if there is more than one list entry.
+ * Fix deprecated warning for invalid escapes.
+ * Support utf-8 in template files
+ * Add utf-8 characters to a test example
+ * Unicode example in template input.
+ * Switch to utf-8 strings and remove unnecessary conversions.
+ * Remove legacy lint checks
+ * Migrate StringIO and remove unneeded import six.
+ * Remove unnecessary explicit unicast declaration.
+ * oll back changes to 'open'.
+ * Cosmetic linting.
+ * Package 'future' needed for importing builtins.
+ * Add tests and testdata to distribution.
+ * Use correct install_requires stanza for dependencies.
+ * Include testdata files in binarty dist for tyesting.
+- deleted patches
+ - textfsm_test_do_not_relay_on_dic_order.patch (upstreamed)
+
+-------------------------------------------------------------------
Old:
----
0.4.1.tar.gz
textfsm_test_do_not_relay_on_dic_order.patch
New:
----
textfsm-1.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-textfsm.spec ++++++
--- /var/tmp/diff_new_pack.hgJooj/_old 2020-03-02 13:23:56.474468017 +0100
+++ /var/tmp/diff_new_pack.hgJooj/_new 2020-03-02 13:23:56.474468017 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-textfsm
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,32 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-textfsm
-Version: 0.4.1
+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/0.4.1.tar.gz
-# PATCH-FIX-UPSTREAM textfsm_test_do_not_relay_on_dic_order.patch
https://github.com/google/textfsm/pull/33
-Patch0: textfsm_test_do_not_relay_on_dic_order.patch
+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}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-future
Requires: python-six
+%ifpython2
+Requires: python-future
+%endif
Conflicts: python-texttable
BuildArch: noarch
%ifpython2
@@ -48,21 +53,20 @@
%prep
%setup -q -n textfsm-%{version}
-%patch0 -p1
+# 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
-%python_exec clitable_test.py
-%python_exec copyable_regex_object_test.py
-%python_exec terminal_test.py
-%python_exec textfsm_test.py
-%python_exec texttable_test.py
+%pytest
%files %{python_files}
%license COPYING