Update package textfsm of version 1.1.2
This commit is contained in:
parent
87923ebdc8
commit
7f8675becd
@ -1,36 +1,27 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-textfsm
|
Name: python-textfsm
|
||||||
Version: 1.1.0
|
Version: 1.1.2
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Python module for parsing semi-structured text into python tables.
|
Summary: Python module for parsing semi-structured text into python tables.
|
||||||
License: ASL 2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/google/textfsm
|
URL: https://github.com/google/textfsm
|
||||||
Source0: https://github.com/google/textfsm/archive/v%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/9f/53/fa46575d30be6aa591712aa9c44caa7fa9f057f3bb726fe42519a5ae2d8e/textfsm-1.1.2.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python module which implements a template based state machine for parsing
|
Python module which implements a template based state machine for parsing
|
||||||
semi-formatted text. Originally developed to allow programmatic access to
|
semi-formatted text. Originally developed to allow programmatic access to
|
||||||
information returned from the command line interface (CLI) of networking
|
information returned from the command line interface (CLI) of networking
|
||||||
devices.
|
devices.
|
||||||
The engine takes two inputs - a template file, and text input (such as command
|
|
||||||
responses from the CLI of a device) and returns a list of records that contains
|
|
||||||
the data parsed from the text.
|
|
||||||
A template file is needed for each uniquely structured text input. Some examples
|
|
||||||
are provided with the code and users are encouraged to develop their own.
|
|
||||||
By developing a pool of template files, scripts can call TextFSM to parse useful
|
|
||||||
information from a variety of sources. It is also possible to use different
|
|
||||||
templates on the same data in order to create different tables (or views).
|
|
||||||
TextFSM was developed internally at Google and released under the Apache 2.0
|
|
||||||
licence for the benefit of the wider community.
|
|
||||||
[**See documentation for more details.**](https://github.com/google/textfsm/wiki/TextFSM)
|
|
||||||
|
|
||||||
%package -n python3-textfsm
|
%package -n python3-textfsm
|
||||||
Summary: Python module for parsing semi-structured text into python tables.
|
Summary: Python module for parsing semi-structured text into python tables.
|
||||||
Provides: python-textfsm
|
Provides: python-textfsm
|
||||||
BuildRequires: python3-pip
|
# Base build requires
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
Requires: python3-future
|
Requires: python3-future
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
@ -40,37 +31,15 @@ Python module which implements a template based state machine for parsing
|
|||||||
semi-formatted text. Originally developed to allow programmatic access to
|
semi-formatted text. Originally developed to allow programmatic access to
|
||||||
information returned from the command line interface (CLI) of networking
|
information returned from the command line interface (CLI) of networking
|
||||||
devices.
|
devices.
|
||||||
The engine takes two inputs - a template file, and text input (such as command
|
|
||||||
responses from the CLI of a device) and returns a list of records that contains
|
|
||||||
the data parsed from the text.
|
|
||||||
A template file is needed for each uniquely structured text input. Some examples
|
|
||||||
are provided with the code and users are encouraged to develop their own.
|
|
||||||
By developing a pool of template files, scripts can call TextFSM to parse useful
|
|
||||||
information from a variety of sources. It is also possible to use different
|
|
||||||
templates on the same data in order to create different tables (or views).
|
|
||||||
TextFSM was developed internally at Google and released under the Apache 2.0
|
|
||||||
licence for the benefit of the wider community.
|
|
||||||
[**See documentation for more details.**](https://github.com/google/textfsm/wiki/TextFSM)
|
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for textfsm
|
Summary: Python module for parsing semi-structured text into python tables.
|
||||||
Provides: python3-textfsm-doc
|
Provides: python3-textfsm-doc
|
||||||
%description help
|
%description help
|
||||||
Python module which implements a template based state machine for parsing
|
Python module which implements a template based state machine for parsing
|
||||||
semi-formatted text. Originally developed to allow programmatic access to
|
semi-formatted text. Originally developed to allow programmatic access to
|
||||||
information returned from the command line interface (CLI) of networking
|
information returned from the command line interface (CLI) of networking
|
||||||
devices.
|
devices.
|
||||||
The engine takes two inputs - a template file, and text input (such as command
|
|
||||||
responses from the CLI of a device) and returns a list of records that contains
|
|
||||||
the data parsed from the text.
|
|
||||||
A template file is needed for each uniquely structured text input. Some examples
|
|
||||||
are provided with the code and users are encouraged to develop their own.
|
|
||||||
By developing a pool of template files, scripts can call TextFSM to parse useful
|
|
||||||
information from a variety of sources. It is also possible to use different
|
|
||||||
templates on the same data in order to create different tables (or views).
|
|
||||||
TextFSM was developed internally at Google and released under the Apache 2.0
|
|
||||||
licence for the benefit of the wider community.
|
|
||||||
[**See documentation for more details.**](https://github.com/google/textfsm/wiki/TextFSM)
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n textfsm-%{version}
|
%autosetup -n textfsm-%{version}
|
||||||
@ -80,6 +49,7 @@ licence for the benefit of the wider community.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -113,6 +83,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 18 2022 OpenStack_SIG <openstack@openeuler.org> - 1.1.2-1
|
||||||
|
- Upgrade package python3-textfsm to version 1.1.2
|
||||||
|
|
||||||
* Thu Mar 3 2022 zhaoshuang <zhaoshuang@uniontech.com>
|
* Thu Mar 3 2022 zhaoshuang <zhaoshuang@uniontech.com>
|
||||||
- remove some unnecessary buildrequires
|
- remove some unnecessary buildrequires
|
||||||
|
|
||||||
|
|||||||
BIN
textfsm-1.1.2.tar.gz
Normal file
BIN
textfsm-1.1.2.tar.gz
Normal file
Binary file not shown.
BIN
v1.1.0.tar.gz
BIN
v1.1.0.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user